:root {
    --bg: #080d0a;
    --bg-soft: #111814;
    --panel: rgba(18, 26, 21, 0.82);
    --panel-strong: #101713;
    --text: #f5f7f4;
    --muted: #b7c1b9;
    --line: rgba(130, 166, 140, 0.16);
    --brand: #c5d94d;
    --brand-strong: #d6eb62;
    --brand-soft: rgba(197, 217, 77, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
    --header-height: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Tajawal", sans-serif;
    background:
        radial-gradient(circle at top, rgba(197, 217, 77, 0.14), transparent 32%),
        linear-gradient(180deg, #070b08 0%, #0a100c 42%, #070b08 100%);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    display: block;
}

.page-main {
    padding-top: calc(var(--header-height) + 18px);
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 72px 0;
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.section-heading h1,
.section-heading h2,
.order-copy h1,
.order-copy h2 {
    margin: 0;
    font-size: clamp(1.85rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-heading p {
    margin: 0;
    max-width: 700px;
    color: var(--muted);
    line-height: 1.9;
}

.section-eyebrow,
.hero-kicker {
    color: var(--brand-strong);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    color: #041008;
    box-shadow: 0 18px 38px rgba(197, 217, 77, 0.22);
}

.button-primary:hover {
    box-shadow: 0 22px 42px rgba(197, 217, 77, 0.3);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(197, 217, 77, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
    background: var(--brand-soft);
    border-color: rgba(197, 217, 77, 0.45);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

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

.about-card,
.service-card,
.scope-card,
.contact-card,
.order-copy,
.order-form {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 217, 77, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.about-card::before,
.service-card::before,
.scope-card::before,
.contact-card::before,
.order-copy::before,
.order-form::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-strong), transparent);
}

.about-card:hover,
.service-card:hover,
.scope-card:hover,
.contact-card:hover,
.order-copy:hover,
.order-form:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 217, 77, 0.28);
    box-shadow: 0 18px 42px rgba(197, 217, 77, 0.14);
}

@media (min-width: 768px) {
    .section {
        padding: 104px 0;
    }

    .section-heading {
        margin-bottom: 42px;
    }
}
