* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #f8f8f7;
    color: #111332;
    font-family: 'IBM Plex Sans Arabic', sans-serif
}

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

button {
    font: inherit;
    cursor: pointer
}

.wrap {
    width: min(1180px, calc(100% - 48px));
    margin: auto
}

.topbar {
    height: 32px;
    background: #111332;
    color: #f3d1a3;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px
}

.topbar a {
    color: #ff9221;
    font-weight: 600
}

.header {
    height: 90px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #e8e5e0;
    position: relative;
    z-index: 5
}

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

.logo-image {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff
}

.brand b,
.brand small {
    display: block;
    line-height: 1.2
}

.brand b {
    font-size: 18px;
    color: #111332
}

.brand small {
    font-size: 8px;
    color: #a76830;
    letter-spacing: .06em;
    direction: ltr
}

nav {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 13px;
    color: #42455a
}

nav a:hover {
    color: #ed8014
}

.nav-cta {
    padding: 11px 16px;
    background: #ed8014;
    color: #fff !important;
    font-weight: 600
}

.tools {
    display: flex;
    gap: 12px
}

.tools button {
    border: 0;
    background: transparent;
    color: #111332;
    font-size: 18px
}

.tools #menu {
    display: none
}

.hero {
    min-height: 650px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg, rgba(17, 19, 50, .98), rgba(17, 19, 50, .76)), url('assets/main.jfif') center/cover;
    color: #fff
}

.grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255, 146, 33, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 146, 33, .35) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, #000, transparent 80%)
}

.ring {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(237, 128, 20, .45);
    border-radius: 50%;
    left: -130px;
    bottom: -280px;
    box-shadow: 0 0 0 70px rgba(237, 128, 20, .08), 0 0 0 140px rgba(237, 128, 20, .03)
}

.hero-inner {
    padding-top: 128px;
    position: relative
}

.eyebrow,
.tag {
    color: #ff9a27;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 10px
}

.eyebrow i {
    width: 42px;
    height: 1px;
    background: #ff9a27
}

.hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.17;
    margin: 20px 0;
    letter-spacing: -.045em;
    font-weight: 600
}

.hero em,
h2 em {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: #ff9a27
}

.hero p {
    max-width: 520px;
    color: #ece9e1;
    line-height: 2;
    font-size: 16px
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 30px
}

.button {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: .2s
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #0003
}

.gold {
    background: #ed8014;
    color: #fff
}

.outline {
    border: 1px solid #ffffff66;
    color: #fff
}

.hero-note {
    margin-top: 85px;
    color: #d7c8b9;
    font-size: 12px
}

.trust {
    margin-top: -42px;
    position: relative;
    background: #fff;
    border-top: 3px solid #ed8014;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 18px 40px #11133214
}

.trust>div {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-left: 1px solid #e8e5e0
}

.trust>div:last-child {
    border: 0
}

.trust b {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff0df;
    color: #ed8014;
    display: grid;
    place-items: center
}

.trust strong,
.trust small {
    display: block
}

.trust strong {
    font-size: 13px;
    color: #111332
}

.trust small {
    color: #77798b;
    font-size: 11px;
    margin-top: 4px
}

.section {
    padding: 130px 0
}

.tag {
    color: #c36b14
}

.about {
    display: grid;
    grid-template-columns: .55fr 1.35fr .8fr;
    gap: 55px;
    align-items: start
}

.about h2,
.section-heading h2,
.contact h2 {
    font-size: clamp(39px, 5vw, 64px);
    line-height: 1.25;
    letter-spacing: -.05em;
    margin: 15px 0 25px;
    font-weight: 600;
    color: #111332
}

.about p,
.section-heading>p,
.contact p {
    max-width: 455px;
    color: #686a7c;
    line-height: 2;
    font-size: 15px
}

.text-link,
.phone-link {
    margin-top: 27px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #c36b14
}

.phone-link {
    font-size: 22px;
    direction: ltr
}

.stats {
    border-right: 1px solid #e2dfda;
    padding-right: 32px;
    margin-top: 20px
}

.stats div {
    padding: 18px 0;
    border-bottom: 1px solid #e2dfda
}

.stats b {
    font-family: 'Playfair Display', serif;
    color: #111332;
    font-size: 31px;
    font-weight: 500;
    display: block
}

.stats span {
    color: #77798b;
    font-size: 11px
}

.dark {
    background: #111332;
    color: #fff
}

.dark .tag {
    color: #ff9a27
}

.dark .section-heading>p {
    color: #c9c6c0
}

.dark h2 {
    color: #fff
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.section-heading>p {
    max-width: 330px;
    margin-bottom: 12px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 65px
}

.cards article {
    min-height: 310px;
    border: 1px solid #ffffff26;
    padding: 26px;
    position: relative;
    transition: .25s
}

.cards article:hover {
    background: #ffffff12;
    border-color: #ed8014;
    transform: translateY(-6px)
}

.cards small {
    color: #c9c6c0
}

.cards strong {
    float: left;
    color: #ff9a27;
    font-size: 28px
}

.cards h3 {
    font-size: 23px;
    margin: 64px 0 14px
}

.cards p {
    color: #c9c6c0;
    font-size: 13px;
    line-height: 1.9
}

.cards article>a {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 36px;
    height: 36px;
    border: 1px solid #ffffff40;
    display: grid;
    place-items: center;
    color: #ff9a27
}

.gallery {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
    margin-top: 55px
}

.gallery>button {
    border: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #ddd
}

.gallery button:nth-child(1) {
    grid-row: span 2
}

.gallery button:nth-child(4) {
    grid-column: span 2
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .5s
}

.gallery button:hover img {
    transform: scale(1.06);
    filter: brightness(.78)
}

.gallery span {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 35px;
    height: 35px;
    background: #ed8014;
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0
}

.gallery button:hover span {
    opacity: 1
}

.contact {
    background: #f0eeeb
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 100px;
    align-items: center
}

.contact-card {
    background: #111332;
    color: #fff;
    padding: 34px;
    box-shadow: 16px 16px 0 #ed8014
}

.contact-card>div {
    padding: 19px 0;
    border-bottom: 1px solid #ffffff26
}

.contact-card small,
.contact-card b {
    display: block
}

.contact-card small {
    color: #c9c6c0;
    font-size: 11px;
    margin-bottom: 8px
}

.contact-card b {
    font-size: 17px;
    line-height: 1.9;
    font-weight: 500
}

.contact-card .muted {
    color: #a6a5b0;
    font-size: 13px
}

.full {
    width: 100%;
    margin-top: 25px
}

footer {
    background: #111332;
    color: #c9c6c0;
    padding: 28px 0;
    font-size: 11px
}

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

.footer-inner .brand {
    color: #fff
}

.footer-inner .brand b {
    color: #fff
}

.footer-inner a:last-child {
    color: #ff9a27
}

.social-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3d5993;
    color: #fff;
    display: grid;
    place-items: center;
    font: bold 20px Arial;
    opacity: .85
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: #08091de8;
    display: none;
    place-items: center;
    padding: 30px
}

.lightbox.show {
    display: grid
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh
}

.lightbox button {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #fff;
    background: 0;
    border: 0;
    font-size: 34px
}

@media(max-width:800px) {
    .wrap {
        width: min(100% - 32px, 600px)
    }

    .header {
        padding: 0 16px
    }

    .brand b {
        font-size: 15px
    }

    .logo-image {
        width: 48px;
        height: 48px
    }

    .tools #menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 90px;
        right: 16px;
        left: 16px;
        padding: 18px;
        background: #fff;
        box-shadow: 0 15px 30px #1113321f;
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 13px 4px;
        border-bottom: 1px solid #e8e5e0
    }

    .nav-cta {
        text-align: center;
        margin-top: 10px
    }

    .hero {
        min-height: 650px
    }

    .hero-inner {
        padding-top: 95px
    }

    .hero h1 {
        font-size: 52px
    }

    .trust {
        grid-template-columns: 1fr;
        margin-top: 0
    }

    .trust>div {
        border-left: 0;
        border-bottom: 1px solid #e8e5e0;
        justify-content: flex-start;
        padding: 18px 25px
    }

    .section {
        padding: 85px 0
    }

    .about,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .stats {
        border: 0;
        border-top: 1px solid #e2dfda;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px
    }

    .stats div {
        border: 0
    }

    .stats b {
        font-size: 25px
    }

    .section-heading {
        display: block
    }

    .section-heading>p {
        margin-top: 22px
    }

    .cards {
        grid-template-columns: 1fr;
        margin-top: 35px
    }

    .cards article {
        min-height: 250px
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px 180px
    }

    .gallery button:nth-child(1) {
        grid-row: span 2
    }

    .gallery button:nth-child(4) {
        grid-column: span 2
    }

    .footer-inner {
        flex-wrap: wrap
    }

    .footer-inner>span:not(.social-placeholder) {
        order: 4;
        width: 100%;
        text-align: center
    }
}

.dark-mode body {
    background: #0e0f22;
    color: #f1f0ec
}

.dark-mode .header {
    background: #111332;
    border-color: #292a45
}

.dark-mode nav {
    background: #111332
}

.dark-mode .brand b,
.dark-mode .about h2,
.dark-mode .section-heading h2,
.dark-mode .contact h2 {
    color: #fff
}

.dark-mode .stats b {
    color: #fff
}

.dark-mode .contact {
    background: #1a1b35
}

.dark-mode .trust {
    background: #1b1c37;
    color: #fff
}

.dark-mode .trust strong {
    color: #fff
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}