:root {
    --bg: #f7f4ec;
    --surface: #ffffff;
    --surface-soft: #fbf8f0;
    --text: #141414;
    --muted: #6b665b;
    --green: #1f6b35;
    --green-2: #2e8a42;
    --gold: #c9a64a;
    --gold-soft: #ead9a4;
    --dark: #1b1d1e;
    --line: rgba(20, 20, 20, .10);
    --shadow: 0 24px 70px rgba(20, 20, 20, .12);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

/* --- الهيدر والقائمة --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100; /* رفع قيمة الـ z-index لضمان بقائه فوق كل شيء بثبات */
    background: rgba(247, 244, 236, .90);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 166, 74, .25);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

    .brand img {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid rgba(201, 166, 74, .75);
        box-shadow: 0 8px 22px rgba(0,0,0,.12);
    }

    .brand strong {
        display: block;
        font-size: 18px;
        line-height: 1.1;
    }

    .brand small {
        display: block;
        color: var(--muted);
        font-weight: 600;
        margin-top: 3px;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav-links a {
        padding: 10px 14px;
        border-radius: 999px;
        font-weight: 700;
        color: #2c2c2c;
    }

        .nav-links a:hover {
            background: rgba(31, 107, 53, .08);
            color: var(--green);
        }

.nav-cta {
    background: var(--green);
    color: #fff !important;
}

    .nav-cta:hover {
        background: var(--green-2) !important;
    }

.menu-toggle {
    display: none;
    border: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--dark);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* --- إعادة بناء قسم الـ Hero الجذري لحل المشكلة --- */
.hero {
    position: relative;
    min-height: 750px;
    display: flex; /* الاعتماد على Flexbox لمنع التداخل والتحكم بالتوزيع العمودي */
    align-items: center;
    padding: 120px 0 80px 0; /* مساحة علوية إجبارية تمنع وصول الكارت للشعار نهائياً ومساحة سفلية تمنع التداخل */
    overflow: hidden;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    background: url("brand-cover.jpeg") center / cover no-repeat;
    transform: scale(1.02);
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
    background: radial-gradient(circle at 18% 18%, rgba(201, 166, 74, .18), transparent 26%), linear-gradient(90deg, rgba(247,244,236,.82), rgba(247,244,236,.75), rgba(247,244,236,.90));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* تعديل حجم الحاوية (الكونتينر الداخلي للبطل) */
.hero-card {
    /* تصغير العرض الأقصى من 650px إلى 520px ليكون ملموماً ولا يغطي الشعار */
    width: min(520px, 100%);
    /* تقليص الحشو الداخلي ليوفر مساحة عمودية */
    padding: 32px 36px;
    border-radius: calc(var(--radius) + 6px);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(201, 166, 74, 0.38);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

    /* ضبط حجم العنوان الرئيسي داخل الكارت ليناسب الحجم الجديد */
    .hero-card h1 {
        font-size: clamp(28px, 4vw, 42px); /* تصغير مدروس للخط ليصبح متناسقاً */
        line-height: 1.25;
        margin-bottom: 12px;
        font-weight: 800;
    }

/* ضبط نص الوصف (وجهتكم لصرف العملات...) ليصبح أكثر رشاقة */
.hero-text {
    font-size: 17px; /* تقليص الحجم من 20px إلى 17px */
    color: #36332c;
    max-width: 100%; /* ليتناسب تلقائياً مع حجم الحاوية المصغرة */
    line-height: 1.6;
}

/* تقريب أزرار المساعدة قليلاً لتوفير المساحة العمودية */
.hero-actions {
    margin-top: 20px;
    gap: 10px;
}

.hero-actions, .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 107, 53, .22);
}

    .btn-primary:hover {
        background: var(--green-2);
    }

.btn-secondary {
    background: rgba(255,255,255,.85);
    color: var(--dark);
    border-color: rgba(201,166,74,.55);
}

/* --- باقي الأقسام والـ Cards المحبوبة --- */
.section {
    padding: 88px 0;
}

.stats-strip {
    padding: 0 0 52px;
    margin-top: -20px;
    position: relative;
    z-index: 4;
}
/* خفض الـ margin السلبي لضمان عدم التداخل مع الهيرو المحدث */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(201, 166, 74, .28);
    box-shadow: 0 18px 40px rgba(20,20,20,.08);
}

    .stat-card strong {
        display: block;
        font-size: 24px;
        color: var(--green);
    }

    .stat-card span {
        color: var(--muted);
        font-weight: 600;
    }

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

    .section-heading p:not(.eyebrow) {
        color: var(--muted);
        font-size: 18px;
    }

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

.service-card {
    padding: 28px;
    min-height: 278px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(20,20,20,.06);
    position: relative;
    overflow: hidden;
}

    .service-card::after {
        content: "";
        position: absolute;
        inset-inline-start: -40px;
        bottom: -40px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(201,166,74,.12);
    }

.icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.service-card p {
    color: var(--muted);
}

.rates-section {
    background: linear-gradient(135deg, rgba(31,107,53,.95), rgba(19,36,25,.98)), url("brand-cover.jpeg") center / cover no-repeat;
    color: #fff;
}

.rates-layout {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 34px;
    align-items: center;
}

.rates-info .eyebrow {
    color: var(--gold-soft);
}

.rates-info p {
    color: rgba(255,255,255,.78);
    font-size: 18px;
}

.rates-info .btn-primary {
    background: var(--gold);
    color: #171717;
}

.rates-card {
    background: rgba(255,255,255,.96);
    color: var(--text);
    border-radius: calc(var(--radius) + 4px);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 74,.45);
}

.rates-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

    .rates-head strong {
        font-size: 22px;
    }

    .rates-head span {
        background: rgba(31, 107, 53, .10);
        color: var(--green);
        font-weight: 800;
        padding: 6px 12px;
        border-radius: 999px;
    }

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

th, td {
    padding: 16px;
    text-align: right;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--green);
    background: rgba(31,107,53,.06);
}

td {
    font-weight: 700;
}

.note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.about-layout, .location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.about-image img {
    height: 430px;
    width: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 166, 74,.32);
}

.about-content p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

    .feature-list span {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 12px 14px;
        font-weight: 800;
        color: var(--green);
    }

.location-section {
    background: var(--surface-soft);
}

.location-card {
    background: var(--surface);
    border-radius: calc(var(--radius) + 6px);
    padding: 36px;
    border: 1px solid rgba(201, 166, 74,.32);
    box-shadow: 0 20px 55px rgba(20,20,20,.08);
}

.address {
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

    .contact-list div {
        padding: 16px;
        border-radius: 18px;
        background: var(--surface-soft);
        border: 1px solid var(--line);
    }

    .contact-list span {
        display: block;
        color: var(--muted);
        font-size: 14px;
    }

    .contact-list strong {
        display: block;
        font-size: 18px;
    }

.map-box {
    height: 460px;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    border: 1px solid rgba(201, 166, 74,.32);
    box-shadow: var(--shadow);
    background: #ddd;
}

    .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

.contact-section {
    padding: 80px 0;
}

.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 42px;
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, #fff, #f7edd0);
    border: 1px solid rgba(201, 166, 74,.45);
    box-shadow: var(--shadow);
}

    .contact-card p:not(.eyebrow) {
        color: var(--muted);
    }

.footer {
    background: #121412;
    color: rgba(255,255,255,.78);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--gold-soft);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .75s ease, transform .75s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- الشاشات المتوسطة والأجهزة اللوحية --- */
@media (max-width: 980px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        inset-inline: 16px;
        top: 88px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: rgba(255,255,255,.96);
        border-radius: 24px;
        box-shadow: var(--shadow);
        border: 1px solid rgba(201, 166, 74,.32);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            text-align: center;
        }

    .hero {
        min-height: auto;
        padding-top: 130px; /* ضمان مساحة تنفس إضافية عند ظهور القائمة المتنقلة */
        padding-bottom: 60px;
    }

    .stats-grid, .services-grid, .rates-layout, .about-layout, .location-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- الهواتف والشاشات الصغيرة --- */
@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 1160px);
    }

    .navbar {
        min-height: 74px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 12px;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 50px;
    }

    .hero-card {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .hero-text {
        font-size: 18px;
    }

    .section {
        padding: 64px 0;
    }

    .services-grid, .feature-list {
        grid-template-columns: 1fr;
    }

    .stat-card, .service-card, .location-card, .contact-card, .rates-card {
        padding: 22px;
    }

    .about-image img, .map-box {
        height: 330px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions .btn, .contact-actions .btn {
        width: 100%;
    }
}

.process-list {
    display: grid;
    gap: 14px;
}

    .process-list div {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 2px 14px;
        align-items: start;
        padding: 18px;
        border-radius: 20px;
        background: var(--surface-soft);
        border: 1px solid var(--line);
    }

    .process-list b {
        grid-row: span 2;
        width: 46px;
        height: 46px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: rgba(31,107,53,.10);
        color: var(--green);
        font-weight: 800;
    }

    .process-list strong {
        font-size: 18px;
        color: var(--text);
    }

    .process-list p {
        margin: 0;
        color: var(--muted);
    }

@media (max-width: 620px) {
    .process-list div {
        grid-template-columns: 46px 1fr;
        padding: 15px;
    }

    .process-list b {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }
}
