/* services-details.css — أنماط خاصة بهذه الصفحة وحدها.
   المرحلة 3: كانت مكتوبة داخل <style> فى الـ View، تنزل مع كل
   طلب ولا يستطيع المتصفح تخزينها. الآن ملف مستقل قابل للتخزين. */

.service-pro-page {
    --service-primary: #0a0a0a;
    --service-accent: #d4a017;
    --service-dark: #0a0a0a;
    --service-soft: #f7f2e8;
    --service-border: #e8dfc4;
    direction: rtl;
}

.service-pro-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(212,160,23,.22), transparent 30%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 52%, #0a0a0a 100%);
    color: #fff;
    padding: 90px 0 72px;
    text-align: center;
}

.service-pro-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    left: -120px;
    bottom: -180px;
    background: rgba(255, 255, 255, .07);
}

.service-pro-hero .container { position: relative; z-index: 2; }

.service-pro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    color: #f4d693;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-pro-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-pro-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: 1.12rem;
    line-height: 1.9;
}

.service-pro-body { background: #fff; padding: 70px 0; }
.service-pro-shell { max-width: 1180px; margin: 0 auto; }

.consulting-page-content img { max-width: 100%; height: auto; }

.consult-hero-block {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 34px;
    align-items: center;
    padding: 38px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0%, #faf6ec 100%);
    border: 1px solid var(--service-border);
    box-shadow: 0 22px 55px rgba(10,10,10,.10);
}

.consult-badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(212,160,23,.16);
    color: #a66500;
    font-weight: 900;
    margin-bottom: 16px;
}

.consult-badge.dark { color: var(--service-primary); background: rgba(10,10,10,.08); }

.consult-hero-text h2,
.consult-heading h3,
.consult-split-text h3,
.consult-cta h3 {
    color: var(--service-dark);
    font-weight: 900;
    line-height: 1.35;
}

.consult-hero-text h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 16px; }
.consult-hero-text p,
.consult-card p,
.consult-step-card p,
.consult-split-text li,
.consult-timeline p,
.consult-cta p {
    color: #6b6b6b;
    line-height: 1.9;
    font-size: 1.02rem;
}

.consult-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.consult-primary-btn,
.consult-secondary-btn,
.consult-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: .25s ease;
}

.consult-primary-btn,
.consult-cta a { background: var(--service-accent); color: #171717; }
.consult-secondary-btn { border: 1px solid rgba(10,10,10,.22); color: var(--service-primary); background: #fff; }
.consult-primary-btn:hover,
.consult-secondary-btn:hover,
.consult-cta a:hover { transform: translateY(-3px); }

.consult-hero-image,
.consult-split-image {
    border-radius: 26px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 38px rgba(10,10,10,.10);
}

.consult-section { padding: 68px 0 0; }
.consult-section.alt { padding: 68px 34px 40px; margin-top: 70px; border-radius: 30px; background: #f8f3e9; }
.consult-heading { text-align: center; margin-bottom: 30px; }
.consult-heading span { color: var(--service-accent); font-weight: 900; }
.consult-heading h3 { margin-top: 8px; }

.consult-grid { display: grid; gap: 22px; }
.consult-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.consult-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.consult-card,
.consult-step-card,
.consult-timeline > div {
    background: #fff;
    border: 1px solid var(--service-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(10,10,10,.07);
    transition: .25s ease;
}

.consult-card:hover,
.consult-step-card:hover,
.consult-timeline > div:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(10,10,10,.11); }

.consult-card img { height: 160px; object-fit: contain; margin-bottom: 18px; }
.consult-card h4,
.consult-step-card h4,
.consult-timeline strong { color: var(--service-dark); font-weight: 900; }

.consult-split {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 30px;
    align-items: center;
}

.consult-check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.consult-check-list li { position: relative; padding: 0 34px 10px 0; }
.consult-check-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--service-accent);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .9rem;
}

.consult-step-number {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--service-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 16px;
}

.consult-timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.consult-timeline strong { display: block; margin-bottom: 8px; }

.consult-cta {
    margin-top: 70px;
    padding: 44px 28px;
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(212,160,23,.24), transparent 32%),
        linear-gradient(135deg, #0a0a0a 0%, #0a0a0a 100%);
    color: #fff;
}

.consult-cta h3 { color: #fff; }
.consult-cta p { color: rgba(255,255,255,.82); max-width: 720px; margin: 12px auto 24px; }

.service-default-content {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--service-border);
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(10,10,10,.08);
}



/* Rich services shared design */
.service-rich-page { direction: rtl; }
.service-hero-pro, .install-hero-block, .install-split-block {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    padding: 38px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff 0%, #faf6ec 100%);
    border: 1px solid var(--service-border);
    box-shadow: 0 22px 55px rgba(10,10,10,.10);
}
.service-hero-pro h2, .install-hero-text h2, .install-split-block h3, .service-section-title h3, .install-highlight-box h3, .service-warning-box h3 {
    color: var(--service-dark);
    font-weight: 900;
    line-height: 1.35;
}
.service-hero-pro h2, .install-hero-text h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 16px; }
.service-hero-pro p, .install-hero-text p, .install-split-block p, .service-section-title p, .service-feature-grid p, .process-grid p, .install-highlight-box p, .service-warning-box p {
    color: #6b6b6b;
    line-height: 1.9;
    font-size: 1.02rem;
}
.service-kicker {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(212,160,23,.16);
    color: #a66500;
    font-weight: 900;
    margin-bottom: 16px;
}
.install-actions, .service-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.primary-action, .secondary-action, .install-highlight-box a, .service-warning-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: .25s ease;
}
.primary-action, .install-highlight-box a, .service-warning-box a { background: var(--service-accent); color: #171717; }
.secondary-action { border: 1px solid rgba(10,10,10,.22); color: var(--service-primary); background: #fff; }
.primary-action:hover, .secondary-action:hover, .install-highlight-box a:hover, .service-warning-box a:hover { transform: translateY(-3px); }
.install-hero-image, .service-hero-image, .install-split-block > img, .maintenance-split-block > img {
    border-radius: 26px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 38px rgba(10,10,10,.10);
}
.install-hero-image img, .service-hero-image img, .service-feature-grid img, .install-split-block > img, .maintenance-split-block > img { max-width: 100%; height: auto; }
.service-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin: 34px 0 65px;
}
.service-stats-strip div {
    background: #0a0a0a;
    color: #fff;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 35px rgba(10,10,10,.12);
}
.service-stats-strip strong { display: block; color: #ffc95a; font-size: 1.45rem; margin-bottom: 8px; }
.service-stats-strip span { color: rgba(255,255,255,.82); line-height: 1.7; }
.service-section-title { text-align: center; margin-bottom: 30px; }
.service-section-title span { color: var(--service-accent); font-weight: 900; }
.service-section-title p { max-width: 760px; margin: 10px auto 0; }
.service-feature-grid, .process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
    margin-bottom: 70px;
}
.process-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 0; }
.service-feature-grid article, .process-grid article {
    background: #fff;
    border: 1px solid var(--service-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(10,10,10,.07);
    transition: .25s ease;
}
.service-feature-grid article:hover, .process-grid article:hover { transform: translateY(-7px); box-shadow: 0 20px 45px rgba(10,10,10,.11); }
.service-feature-grid img { height: 150px; object-fit: contain; margin-bottom: 16px; }
.service-feature-grid h4, .process-grid h4 { color: var(--service-dark); font-weight: 900; }
.process-grid b {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--service-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 16px;
}
.install-split-block, .maintenance-split-block { margin: 70px 0; grid-template-columns: 1fr .8fr; }
.service-check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.service-check-list li { position: relative; padding: 0 34px 12px 0; color: #6b6b6b; line-height: 1.8; }
.service-check-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--service-accent);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .9rem;
}
.service-process { padding: 42px 34px; border-radius: 30px; background: #f8f3e9; margin-bottom: 70px; }
.service-section-title.compact { margin-bottom: 26px; }
.install-highlight-box, .service-warning-box {
    padding: 42px 34px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: radial-gradient(circle at 20% 20%, rgba(212,160,23,.24), transparent 32%), linear-gradient(135deg, #0a0a0a 0%, #0a0a0a 100%);
    color: #fff;
}
.install-highlight-box h3, .service-warning-box h3 { color: #fff; }
.install-highlight-box p, .service-warning-box p { color: rgba(255,255,255,.82); margin: 0; }

/* Tablet — keep 2 columns where 4 was, before collapsing to 1 on mobile */
@media (max-width: 1199px) {
    .consult-timeline,
    .process-grid,
    .service-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 991px) {
    .service-hero-pro, .install-hero-block, .install-split-block, .maintenance-split-block, .service-stats-strip { grid-template-columns: 1fr; }
    .install-highlight-box, .service-warning-box { display: block; text-align: center; }
    .install-highlight-box a, .service-warning-box a { margin-top: 18px; }
}

.service-default-content .details-image { width: 100%; max-height: 380px; object-fit: contain; border-radius: 22px; background: #fafafa; padding: 20px; }
.service-default-content .content { color: #6b6b6b; line-height: 1.9; }

@media (max-width: 991px) {
    .consult-hero-block,
    .consult-split,
    .consult-grid.three,
    .consult-grid.two { grid-template-columns: 1fr; }
    .consult-hero-block { padding: 24px; }
    .service-pro-hero { padding: 72px 0 54px; }
}

@media (max-width: 575px) {
    .consult-timeline,
    .process-grid,
    .service-feature-grid { grid-template-columns: 1fr; }
    .service-default-content .details-image { max-height: 280px; padding: 14px; }
}
