:root {
    --black: #050505;
    --dark: #161616;
    --gold: #D8BE7F;
    --light: #F2F2F2;
    --white: #FFFFFF;
    --text: #101010;
    --muted: #626262;
    --surface: #FFFFFF;
    --soft: #E9E9E9;
    color-scheme: light;
}

@font-face {
    font-family: "Lyon Arabic Display";
    src: url("../fonts/Lyon-Arabic-Display-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lyon1";
    src: url("../fonts/LyonArabicText-Semibold-1") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lyon2";
    src: url("../fonts/lyon-arabic-display-regular.otf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root[data-theme="dark"] {
    --text: #FFFFFF;
    --muted: #C9C9C9;
    --surface: #111111;
    --soft: #191919;
    --light: #050505;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
    background: var(--light);
    color: var(--text);
}

html[dir="ltr"] body {
    font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif;
}

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px clamp(18px, 5vw, 72px);
    color: var(--white);
    transition: background .28s ease, box-shadow .28s ease, padding .28s ease, color .28s ease;
}

.site-header.is-scrolled {
    padding-block: 10px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--text);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
    backdrop-filter: blur(18px);
}

.brand img {
    width: 132px;
    height: 74px;
    object-fit: contain;
}

[data-logo-black],
.site-header.is-scrolled [data-logo-white],
:root[data-theme="dark"] .site-header.is-scrolled [data-logo-black] {
    display: none;
}

.site-header.is-scrolled [data-logo-black],
:root[data-theme="dark"] .site-header.is-scrolled [data-logo-white] {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 28px);
    font-weight: 600;
    font-size: 15px;
}

.nav-links a {
    position: relative;
    opacity: .86;    font-family: 'Lyon2';
    font-weight: 200;
    font-size: 16px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip,
.icon-btn,
.menu-toggle {
    border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
    background: color-mix(in srgb, currentColor 8%, transparent);
    color: inherit;
    border-radius: 999px;
    min-width: 46px;
    min-height: 46px;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    cursor: pointer;
}

.icon-btn .sun,
:root[data-theme="dark"] .icon-btn .moon {
    display: none;
}

:root[data-theme="dark"] .icon-btn .sun {
    display: inline;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    min-width: 46px;
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, currentColor 14%, transparent), color-mix(in srgb, currentColor 5%, transparent));
    backdrop-filter: blur(12px);
}

.menu-toggle span {
    position: absolute;
    right: 11px;
    width: 17px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform .28s ease, opacity .2s ease, width .28s ease;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.menu-toggle span:nth-child(2) {
    width: 11px;
}

.menu-toggle span:nth-child(3) {
    transform: translateY(7px);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.is-open span:nth-child(3) {
    transform: rotate(-45deg);
}

.section,
.quote {
    padding: clamp(72px, 10vw, 132px) clamp(18px, 6vw, 86px);
}

.section-dark {
    color: var(--white);
    background: var(--black);
}

.hero,
.slogan,
.quote {
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.36)), var(--bg);
    background-size: cover;
    background-position: center;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 160px clamp(18px, 7vw, 96px) clamp(70px, 10vw, 120px);
}

.hero-content {
    width: min(790px, 100%);
}

.eyebrow {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 14px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-family: "Lyon2", "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.04;
    margin-bottom: 20px;
}h1,h2 {
    font-family: "Lyon2", "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;

}

.hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255,255,255,.88);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.85;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

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

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

.btn-gold {
    background: var(--gold);
    color: #171717;
    box-shadow: 0 18px 46px rgba(216, 190, 127, .22);
}

.btn-ghost {
    border-color: rgba(255,255,255,.42);
    color: var(--white);
    background: rgba(255,255,255,.06);
}

.slogan {
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.slogan h2,
.final-cta h2 {
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.15;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2,
.split-copy h2,
.quote-intro h2 {
    font-size: clamp(53px, 4vw, 58px);
    line-height: 1.15;
}

.about .split-copy h2 {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.services .section-head h2,
.gallery .section-head h2,
.quote-intro h2,
.why .split-copy h2 {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.about .split-copy h2::before {
 content: "";
    position: absolute;
    z-index: -1;
    top: 31px;
    inset-inline-start: -0.18em;
    width: 58%;
    height: 0.52em;
    border-radius: 999px;
      background: linear-gradient(90deg, rgb(165 150 39), rgb(179 152 84));
    transform: rotate(-2deg); 
}

.services .section-head h2::before,
.gallery .section-head h2::before,
.quote-intro h2::before,
.why .split-copy h2::before {
    /* content: "";
    position: absolute;
    z-index: -1;
    top: 31px;
    inset-inline-start: -0.18em;
    width: 58%;
    height: 0.52em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(255 252 229), rgb(216 190 127));
    transform: rotate(-2deg); */
}

.section-head h2::after,
.split-copy h2::after,
.quote-intro h2::after {
    content: "";
    display: block;
    width: 160px;
    height: 5px;
    margin: 14px auto 0;
    background: var(--gold);
}

.split-copy h2::after,
html[dir="ltr"] .split-copy h2::after {
    margin-inline: 0;
}

html[dir="ltr"] .about .split-copy h2::before {
    inset-inline-start: auto;
    inset-inline-end: -0.18em;
}

html[dir="ltr"] .services .section-head h2::before,
html[dir="ltr"] .gallery .section-head h2::before,
html[dir="ltr"] .quote-intro h2::before,
html[dir="ltr"] .why .split-copy h2::before {
    inset-inline-start: auto;
    inset-inline-end: -0.18em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.service-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0,0,0,.12);
    transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 90px rgba(0,0,0,.18);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.service-card div {
    padding: 28px;
}

.service-card h3 {
    font-size: 24px;
}

.service-card p,
.split-copy p {
    color: var(--muted);
    line-height: 1.9;
    font-size: 18px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(34px, 7vw, 94px);
}

.split-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0,0,0,.16);
}

.gallery-swiper {
    overflow: hidden;
    padding-bottom: 52px;
}

.gallery-slide {
    margin: 0;
}

.gallery-slide img {
    width: 100%;
    max-height: 610px;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--white);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--black);
    box-shadow: 0 14px 36px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 900;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: color-mix(in srgb, var(--text) 42%, transparent);
    opacity: 1;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

.quote {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 26px;
}

.quote::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0,0,0,.62);
}

.quote-intro p {
    font-size: 20px;
    color: rgba(255,255,255,.86);
}

.quote-form {
    width: min(560px, 100%);
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px);
    background: rgba(242,242,242,.92);
    color: #111;
    border-radius: 8px;
    text-align: start;
    box-shadow: 0 28px 90px rgba(0,0,0,.35);
}.quote-form {

    color: #a4a4a4;

}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label span {

    color: #bda625;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 0px solid #CFCFCF;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    background: #f9f9f91a;
    color: #111;
    outline: none;
    transition: border .2s ease, box-shadow .2s ease;

}

input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(216,190,127,.24);
}

small {
    color: #8d1515;
    display: block;
    margin-top: 6px;
}

.quote-footer {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.4;
    max-width: 760px;
}

.why-list {
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
    display: grid;
    gap: 14px;
    font-size: 20px;
}

.why-list li::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-inline-end: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
}

.client-logo {

    display: flex;
    flex-direction: column;
    place-items: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    background: 
color-mix(in srgb, var(--surface) 86%, transparent);
    border: 1px solid 
color-mix(in srgb, var(--text) 12%, transparent);
    border-radius: 8px;
    color: 
color-mix(in srgb, var(--text) 72%, var(--gold));
    font-weight: 800;
    font-size: clamp(18px, 2vw, 26px);
}

.client-logo img {
object-fit: cover;
    width: 100%;
}

.client-logo span:empty {
    display: none;
}

.final-cta {
    min-height: 78vh;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 22px;
    padding: clamp(72px, 10vw, 140px) 20px;
    text-align: center;
}

.final-logo {
    width: 190px;
}

.final-cta p {
    width: min(880px, 100%);
    color: rgba(255,255,255,.88);
    font-size: clamp(19px, 2.4vw, 30px);
    line-height: 1.7;
}

.socials {
    display: flex;
    gap: 12px;
    font-weight: 800;
}

.socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    /* border: 1px solid rgba(255,255,255,.34); */
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.socials a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp {    position: fixed;
    z-index: 60;
    right: 22px;
    bottom: 22px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: #30C65A;
    /* color: #fff; */
    /* border: 4px solid #fff; */
    border-radius: 999px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .26);
    font-size: 26px;
    overflow: hidden;
}

.whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp span {
    display: none;
}

html[dir="rtl"] .whatsapp {
    right: auto;
    left: 22px;
}

.toast {
    position: fixed;
    z-index: 70;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 36px));
    padding: 16px 22px;
    border-radius: 8px;
    background: var(--gold);
    color: #111;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

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

.reveal.is-visible {
    opacity: 1;
    transform: none;

}
.reveal25{
    opacity: 1;
    transform: none;
        backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: #ffffff1f;
}

@media (max-width: 980px) {
    .site-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .brand {
        order: 1;
        margin-inline-end: auto;
    }

    .menu-toggle {
        display: inline-grid;
        order: 3;
    }

    .header-actions {
        order: 2;
        flex: 0 0 auto;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        padding: 18px;
        border-radius: 8px;
        background: color-mix(in srgb, var(--surface) 96%, transparent);
        color: var(--text);
        box-shadow: 0 22px 70px rgba(0,0,0,.18);
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

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

    .service-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .why .split-media {
        order: -1;
    }

    .client-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-header {
        padding-inline: 14px;
        gap: 8px;
    }

    .brand img {
        width: 96px;
        height: 54px;
    }

    .chip,
    .icon-btn {
        min-width: 38px;
        min-height: 38px;
    }

    .header-actions {
        gap: 6px;
    }

    .menu-toggle {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .hero {
        min-height: 92vh;
        padding-top: 124px;
    }

    .cta-row,
    .form-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .gallery-slide img {
        aspect-ratio: 4 / 3;
    }

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

    .whatsapp {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }

    html[dir="rtl"] .whatsapp {
        left: 14px;
    }
}
