:root {
    --navy: #0b1720;
    --navy2: #101f2a;
    --ink: #13191d;
    --gold: #c9a66b;
    --gold2: #e2c58f;
    --ivory: #f4f0e9;
    --muted: #85919a;
    --line: rgba(201, 166, 107, .24);
    --sans: "IBM Plex Sans Arabic", "Cairo", sans-serif;
    --display: "Cairo", sans-serif;
    --serif: "Playfair Display", serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    overflow-x: hidden
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    height: 86px;
    display: flex;
    align-items: center;
    gap: 42px;
    padding: 0 5.5%;
    color: #fff;
    border-bottom: 1px solid transparent;
    transition: .35s
}

.site-header.scrolled {
    height: 68px;
    background: rgba(11, 23, 32, .94);
    backdrop-filter: blur(16px);
    border-color: var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 25px
}

.brand b {
    display: block;
    font-size: 19px;
    letter-spacing: 2px
}

.brand small {
    display: block;
    color: var(--gold2);
    font-size: 9px;
    letter-spacing: 1px
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: auto
}

.desktop-nav a,
.mobile-menu a {
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    transition: .25s
}

.desktop-nav a:hover {
    color: var(--gold2)
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--gold);
    text-decoration: none;
    font: 500 12px var(--sans);
    transition: .3s
}

.header-cta {
    color: #fff
}

.header-cta span,
.button span {
    font-size: 17px
}

.header-cta:hover {
    background: var(--gold);
    color: var(--navy)
}

.button-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold)
}

.button-gold:hover {
    background: var(--gold2);
    transform: translateY(-3px)
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--gold);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 12px
}

.menu-toggle i {
    display: block;
    height: 2px;
    background: var(--gold);
    margin: 4px 0
}

.mobile-menu {
    display: none
}

.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 150px 10% 100px;
    overflow: hidden
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=2200&q=90") center/cover;
    transform: scale(1.05);
    animation: heroZoom 14s ease-out forwards
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 15, 21, .9) 15%, rgba(7, 15, 21, .5) 60%, rgba(7, 15, 21, .75))
}

.hero-content {
    position: relative;
    max-width: 750px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold2);
    font-size: 11px;
    letter-spacing: 1px
}

.eyebrow span {
    display: inline-block;
    width: 35px;
    height: 1px;
    background: var(--gold)
}

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

h1,
h2 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.26
}

h1 {
    font-size: clamp(45px, 6vw, 88px);
    letter-spacing: -2px;
    margin: 22px 0
}

h1 em,
h2 em {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--gold2);
    font-style: normal
}

.hero-copy {
    max-width: 450px;
    color: #c4cdd0;
    line-height: 2;
    font-size: 15px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 36px
}

.text-link,
.discover {
    color: inherit;
    text-decoration: none;
    font-size: 12px
}

.text-link span {
    color: var(--gold);
    font-size: 18px;
    margin-right: 10px
}

.hero-meta {
    position: absolute;
    bottom: 42px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    letter-spacing: 1px
}

.scroll-cue {
    position: absolute;
    bottom: 38px;
    right: 5.5%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    writing-mode: vertical-rl
}

.scroll-cue b {
    font-size: 20px;
    color: var(--gold);
    animation: float 1.8s infinite
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0d1d27;
    color: #fff;
    padding: 28px 10%;
    gap: 30px
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 1px solid var(--line);
    padding-left: 25px
}

.trust-strip div:last-child {
    border-left: 0
}

.trust-strip strong {
    color: var(--gold);
    font: 16px var(--serif)
}

.trust-strip .icon {
    color: var(--gold2);
    font-size: 22px
}

.trust-strip p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8
}

.section {
    padding: 125px 10%;
    position: relative
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1px
}

.section-label span:first-child {
    font: 19px var(--serif);
    color: var(--gold2)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11%;
    align-items: center;
    margin-top: 45px
}

.about-visual {
    position: relative
}

.about-visual img {
    display: block;
    width: 100%;
    height: 550px;
    object-fit: cover;
    filter: saturate(.7)
}

.image-caption {
    position: absolute;
    bottom: 22px;
    right: 22px;
    background: var(--navy);
    color: var(--gold2);
    padding: 12px 16px;
    font-size: 10px
}

.about-copy h2,
.section-heading h2 {
    font-size: clamp(34px, 4.5vw, 64px);
    margin: 18px 0 28px
}

.about-copy>p:not(.eyebrow),
.section-heading>p {
    color: #657178;
    line-height: 2.15;
    font-size: 14px;
    max-width: 490px
}

.signature {
    margin: 35px 0 22px;
    border-right: 1px solid var(--gold);
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.signature span {
    font-family: var(--serif);
    font-size: 20px
}

.signature small {
    color: var(--muted);
    font-size: 10px
}

.discover {
    color: var(--ink);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 8px
}

.discover span {
    color: var(--gold);
    font-size: 18px;
    margin-right: 10px
}

.dark-section {
    background: var(--navy);
    color: #fff
}

.section-heading {
    max-width: 650px
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 55px
}

.service-card {
    position: relative;
    min-height: 275px;
    padding: 25px;
    background: var(--navy2);
    transition: .35s;
    border: 1px solid transparent
}

.service-card:hover {
    background: #172d39;
    border-color: var(--gold);
    transform: translateY(-5px);
    z-index: 1
}

.service-card b {
    font: 18px var(--serif);
    color: var(--gold)
}

.card-icon {
    display: block;
    color: var(--gold2);
    font-size: 29px;
    margin: 32px 0 20px
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500
}

.service-card p {
    font-size: 12px;
    line-height: 1.9;
    color: #92a2aa;
    max-width: 220px
}

.service-card>a {
    position: absolute;
    left: 25px;
    bottom: 25px;
    color: var(--gold);
    font-size: 20px;
    text-decoration: none;
    transition: .3s
}

.service-card:hover>a {
    left: 19px
}

.practice .section-heading {
    margin-bottom: 50px
}

.practice-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 16px
}

.practice-card {
    position: relative;
    min-height: 400px;
    background-image: linear-gradient(0deg, rgba(7, 15, 21, .9), rgba(7, 15, 21, .05)), var(--bg);
    background-position: center;
    background-size: cover;
    color: #fff;
    display: flex;
    align-items: end;
    padding: 30px;
    overflow: hidden;
    transition: .5s
}

.practice-card:hover {
    background-position: 55% center
}

.practice-card.tall {
    min-height: 510px
}

.practice-card span {
    font-size: 10px;
    color: var(--gold2)
}

.practice-card h3 {
    font-size: 29px;
    line-height: 1.5;
    margin: 16px 0
}

.practice-card a {
    font-size: 11px;
    color: #fff;
    text-decoration: none
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 75px;
    border-top: 1px solid var(--line)
}

.timeline-item {
    padding: 24px 18px 0;
    border-left: 1px solid var(--line);
    min-height: 190px
}

.timeline-item:last-child {
    border-left: 0
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font: 16px var(--serif);
    margin-top: -45px;
    background: var(--navy)
}

.timeline-item h3 {
    font-size: 15px;
    margin: 30px 0 12px
}

.timeline-item p {
    font-size: 12px;
    color: #91a0a6;
    line-height: 1.9
}

.team {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden
}

.team .section-heading {
    padding: 0 10%;
    margin-bottom: 55px
}

.team-track {
    display: flex;
    gap: 17px;
    width: max-content;
    animation: marquee 42s linear infinite;
    padding: 0 10%
}

.team-marquee:hover .team-track {
    animation-play-state: paused
}

.team-card {
    width: 270px;
    flex: none;
    background: #fff;
    transition: .4s
}

.team-card.featured {
    margin-top: 35px
}

.team-card:hover {
    transform: translateY(-10px)
}

.team-card img {
    width: 100%;
    height: 325px;
    object-fit: cover;
    filter: grayscale(20%);
    display: block
}

.team-card div {
    padding: 20px
}

.team-card h3 {
    font-size: 15px;
    margin-bottom: 8px
}

.team-card p {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 8px
}

.team-card small {
    color: var(--muted);
    font-size: 10px
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 65px;
    gap: 1px;
    background: var(--line)
}

.why-item {
    background: var(--navy);
    padding: 30px;
    min-height: 210px
}

.why-item span {
    font-size: 30px;
    color: var(--gold)
}

.why-item h3 {
    font-size: 16px;
    margin: 32px 0 12px
}

.why-item p {
    color: #92a2aa;
    font-size: 12px
}

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

.article-card {
    border: 1px solid #dbd5cd;
    padding: 28px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: .3s
}

.article-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px)
}

.article-card.featured-article {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 0;
    min-height: 350px
}

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

.article-card>div {
    padding: 36px
}

.article-card span {
    font-size: 10px;
    color: var(--gold)
}

.article-card h3 {
    font-size: 19px;
    line-height: 1.6;
    margin: 14px 0
}

.article-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9
}

.article-card a {
    color: var(--ink);
    font-size: 11px;
    text-decoration: none
}

.disclaimer {
    font-size: 10px;
    color: var(--muted);
    margin-top: 25px
}

.testimonial-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10%;
    align-items: center
}

.testimonial-slider {
    position: relative;
    padding: 25px 0 30px
}

.quote-mark {
    font: 110px var(--serif);
    height: 75px;
    color: var(--gold);
    opacity: .7
}

.testimonial {
    display: none
}

.testimonial.active {
    display: block;
    animation: fade .5s
}

.testimonial blockquote {
    font-family: var(--display);
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 1.9;
    margin: 0 0 30px;
    color: #eef0ee
}

.testimonial p {
    font-size: 12px;
    color: var(--gold2)
}

.testimonial p small {
    color: #84939b
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 35px
}

.slider-controls button {
    background: transparent;
    color: var(--gold);
    border: 0;
    font-size: 18px;
    cursor: pointer
}

.dots {
    display: flex;
    gap: 8px
}

.dots .dot {
    width: 28px;
    height: 2px;
    background: #52646e;
    padding: 0
}

.dots .dot.active {
    background: var(--gold)
}

.masonry-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: 250px;
    gap: 14px;
    margin-top: 50px
}

.gallery-item {
    position: relative;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: var(--navy);
    cursor: pointer
}

.gallery-item.wide {
    grid-row: span 2
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .6s;
    opacity: .88
}

.gallery-item:hover img {
    transform: scale(1.07);
    opacity: .6
}

.gallery-item span {
    position: absolute;
    right: 20px;
    bottom: 17px;
    color: #fff;
    font-size: 11px
}

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 12%
}

.accordion {
    border-top: 1px solid var(--line)
}

details {
    border-bottom: 1px solid var(--line)
}

summary {
    cursor: pointer;
    list-style: none;
    padding: 23px 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    color: var(--gold);
    font-size: 22px;
    font-weight: 300;
    transition: .3s
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    color: #91a0a6;
    font-size: 12px;
    line-height: 2;
    padding: 0 0 22px;
    margin: 0;
    max-width: 600px
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 12%;
    align-items: start
}

.contact-intro h2 {
    font-size: clamp(38px, 5vw, 65px);
    margin: 25px 0
}

.contact-intro>p {
    font-size: 14px;
    color: var(--muted);
    line-height: 2
}

.contact-details {
    display: grid;
    gap: 18px;
    margin-top: 45px
}

.contact-details a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px
}

.contact-details small {
    display: block;
    color: var(--gold);
    font-size: 10px;
    margin-bottom: 4px
}

.consultation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 16px
}

.consultation-form label {
    font-size: 11px;
    color: var(--muted)
}

input,
select,
textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #cec8c0;
    background: transparent;
    padding: 14px 0;
    font: 13px var(--sans);
    color: var(--ink);
    outline: 0;
    resize: vertical
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold)
}

.full {
    grid-column: span 2
}

.form-note {
    grid-column: span 2;
    font-size: 10px !important;
    color: var(--muted);
    text-align: center;
    margin: 0
}

.location {
    height: 420px;
    width: 100%;
    background: var(--navy);
    padding: 35px 10%
}

.map-placeholder {
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #162b35
}

.site-footer {
    background: #08131a;
    color: #fff;
    padding: 65px 10% 25px
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 45px;
    border-bottom: 1px solid var(--line)
}

.footer-top p {
    color: #87969d;
    font-size: 12px;
    margin: 0
}

.back-top {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 45px 0
}

.footer-columns h4 {
    font-size: 12px;
    color: var(--gold2);
    margin-bottom: 20px
}

.footer-columns a,
.footer-columns span {
    display: block;
    color: #91a0a6;
    text-decoration: none;
    font-size: 11px;
    margin: 12px 0
}

.socials {
    display: flex;
    gap: 9px
}

.socials a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    color: var(--gold);
    margin: 0
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    color: #687981;
    font-size: 10px;
    display: flex;
    justify-content: space-between
}

.footer-bottom div {
    display: flex;
    gap: 25px
}

.footer-bottom a {
    color: inherit;
    text-decoration: none
}

.lightbox {
    position: fixed;
    z-index: 30;
    inset: 0;
    background: rgba(4, 10, 14, .95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 7%;
    opacity: 0;
    transition: .3s
}

.lightbox.open {
    display: flex;
    opacity: 1
}

.lightbox img {
    max-width: 90%;
    max-height: 88%;
    object-fit: contain
}

.lightbox button {
    position: absolute;
    background: transparent;
    border: 0;
    color: var(--gold2);
    font-size: 30px;
    cursor: pointer
}

.lightbox-close {
    top: 25px;
    right: 35px
}

.lightbox-prev {
    right: 35px
}

.lightbox-next {
    left: 35px
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s, transform .8s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@keyframes heroZoom {
    to {
        transform: scale(1)
    }
}

@keyframes float {
    50% {
        transform: translateY(7px)
    }
}

@keyframes marquee {
    to {
        transform: translateX(50%)
    }
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateX(15px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1050px) {
    .desktop-nav {
        gap: 13px
    }

    .desktop-nav a {
        font-size: 10px
    }

    .header-cta {
        padding: 0 13px
    }

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

    .team-card {
        width: 240px
    }

    .section {
        padding-left: 7%;
        padding-right: 7%
    }

    .team .section-heading {
        padding: 0 7%
    }

    .team-track {
        padding: 0 7%
    }

    .hero {
        padding-left: 7%;
        padding-right: 7%
    }

    .hero-meta {
        left: 7%;
        right: 7%
    }

    .trust-strip {
        padding-left: 7%;
        padding-right: 7%
    }
}

@media(max-width:860px) {
    .site-header {
        padding: 0 6%;
        height: 72px
    }

    .desktop-nav,
    .header-cta {
        display: none
    }

    .menu-toggle {
        display: block;
        margin-right: auto
    }

    .mobile-menu {
        position: fixed;
        z-index: 19;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 105px 8% 35px;
        background: rgba(11, 23, 32, .98);
        color: #fff;
        transform: translateY(-110%);
        transition: .45s;
        opacity: 0
    }

    .mobile-menu.open {
        transform: none;
        opacity: 1
    }

    .mobile-menu a {
        font-size: 17px
    }

    .mobile-menu .button {
        font-size: 13px;
        margin-top: 10px
    }

    .hero {
        min-height: 750px;
        padding-top: 170px
    }

    .hero-content {
        max-width: 600px
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 25px;
        padding-bottom: 25px
    }

    .trust-strip div:nth-child(2) {
        border-left: 0
    }

    .about-grid,
    .testimonial-wrap,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .about-visual img {
        height: 450px
    }

    .practice-grid {
        grid-template-columns: 1fr 1fr
    }

    .practice-card.tall {
        grid-column: span 2;
        min-height: 430px
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 35px;
        border-top: 0;
        margin-top: 55px
    }

    .timeline-item {
        border: 0;
        border-right: 1px solid var(--line);
        padding: 0 25px 0 0;
        min-height: 0
    }

    .timeline-item span {
        margin: 0 0 15px
    }

    .timeline-item h3 {
        margin: 0 0 8px
    }

    .why-grid {
        grid-template-columns: 1fr 1fr
    }

    .insights-grid {
        grid-template-columns: 1fr 1fr
    }

    .article-card.featured-article {
        grid-column: span 2
    }

    .masonry-gallery {
        grid-template-columns: 1fr 1fr
    }

    .gallery-item.wide {
        grid-column: span 2;
        grid-row: span 1
    }

    .contact-intro {
        max-width: 600px
    }

    .location {
        height: 350px;
        padding-left: 6%;
        padding-right: 6%
    }

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

@media(max-width:620px) {
    .section {
        padding-top: 85px;
        padding-bottom: 85px
    }

    .hero {
        min-height: 700px;
        padding: 130px 7% 100px
    }

    .hero-image {
        background-position: 60% center
    }

    .hero-meta {
        bottom: 22px
    }

    .scroll-cue {
        display: none
    }

    h1 {
        font-size: 45px
    }

    .hero-copy {
        font-size: 13px
    }

    .hero-actions {
        gap: 22px;
        flex-wrap: wrap
    }

    .trust-strip {
        gap: 0
    }

    .trust-strip div {
        padding: 14px 10px;
        gap: 10px
    }

    .trust-strip p {
        font-size: 10px
    }

    .about-visual img {
        height: 360px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 235px
    }

    .practice-grid {
        grid-template-columns: 1fr
    }

    .practice-card.tall {
        grid-column: auto;
        min-height: 380px
    }

    .practice-card {
        min-height: 330px
    }

    .team-card {
        width: 220px
    }

    .team-card img {
        height: 270px
    }

    .team .section-heading {
        margin-bottom: 35px
    }

    .why-grid {
        grid-template-columns: 1fr
    }

    .why-item {
        min-height: 160px
    }

    .why-item h3 {
        margin-top: 20px
    }

    .insights-grid {
        grid-template-columns: 1fr
    }

    .article-card.featured-article {
        grid-column: auto;
        display: block
    }

    .article-card.featured-article img {
        height: 220px
    }

    .article-card>div {
        padding: 25px
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px
    }

    .gallery-item.wide {
        grid-column: auto
    }

    .full {
        grid-column: span 2
    }

    .consultation-form {
        gap: 16px 12px
    }

    .footer-top {
        align-items: flex-start;
        gap: 25px;
        flex-wrap: wrap
    }

    .footer-top p {
        width: 100%;
        order: 3
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 15px
    }

    .footer-bottom div {
        order: 3;
        width: 100%;
        gap: 14px
    }

    .map-label {
        top: 15%;
        right: 5%;
        padding: 16px
    }

    .map-pin {
        left: 48%
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important
    }
}

/* Light Switch */
.light-switch {
    position: fixed;
    top: 105px;
    left: 30px;
    z-index: 50;

    width: 52px;
    height: 52px;

    border: 1px solid var(--gold);
    border-radius: 50%;

    background: rgba(11, 23, 32, .9);
    color: var(--gold2);

    font-size: 22px;
    cursor: pointer;

    display: grid;
    place-items: center;

    box-shadow: 0 0 0 rgba(226, 197, 143, 0);
    transition: .35s ease;
}

.light-switch:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(226, 197, 143, .35);
}

/* وضع النور */
body.light-mode {
    --navy: #f4f0e9;
    --navy2: #ffffff;
    --ink: #13191d;
    --ivory: #fffdf9;
    --muted: #657178;
    --line: rgba(19, 25, 29, .16);

    background: var(--ivory);
    color: var(--ink);
}

/* الهيدر في وضع النور */
body.light-mode .site-header {
    color: var(--ink);
    background: rgba(255, 253, 249, .92);
    border-color: rgba(19, 25, 29, .12);
}

body.light-mode .header-cta {
    color: var(--ink);
}

body.light-mode .menu-toggle {
    background: transparent;
}

/* الزر نفسه في وضع النور */
body.light-mode .light-switch {
    background: #fff;
    color: #9a773d;
}

/* الأقسام الداكنة تفضل داكنة */
body.light-mode .dark-section {
    background: #f0ece5;
    color: var(--ink);
}

body.light-mode .dark-section .section-heading>p {
    color: #657178;
}

body.light-mode .service-card {
    background: #fff;
    color: var(--ink);
}

body.light-mode .service-card p,
body.light-mode .why-item p {
    color: #657178;
}

body.light-mode .why-item {
    background: #fff;
    color: var(--ink);
}

body.light-mode .testimonial blockquote {
    color: var(--ink);
}

body.light-mode .mobile-menu {
    background: rgba(255, 253, 249, .98);
    color: var(--ink);
}

body.light-mode .site-footer {
    background: #f0ece5;
    color: var(--ink);
}

body.light-mode .footer-columns a,
body.light-mode .footer-columns span,
body.light-mode .footer-top p {
    color: #657178;
}

/* الموبايل */
@media(max-width:620px) {
    .light-switch {
        top: 88px;
        left: 18px;
        width: 46px;
        height: 46px;
        font-size: 19px;
    }
}


/* =========================================
   SEARCH
========================================= */

.search-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 166, 107, .55);
    background: rgba(11, 23, 32, .35);
    color: var(--gold2);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .3s ease;
    flex-shrink: 0;
}

.search-toggle span {
    font-size: 27px;
    line-height: 1;
    transform: rotate(-20deg);
    display: block;
}

.search-toggle:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Overlay */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(5, 12, 17, .96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 150px 7% 60px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-container {
    width: min(850px, 100%);
}

.search-label {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--gold2);
    font-size: 11px;
    letter-spacing: 1px;

    margin-bottom: 22px;
}

.search-label span:first-child {
    font-size: 24px;
}

/* Search input */

.search-input-wrap {
    position: relative;

    border-bottom: 1px solid rgba(201, 166, 107, .55);

    display: flex;
    align-items: center;
}

.search-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-family: var(--sans);
    font-size: clamp(22px, 3vw, 38px);

    padding: 18px 0;

    direction: rtl;
}

.search-input-wrap input::placeholder {
    color: rgba(255,255,255,.35);
}

.search-input-wrap input:focus {
    border: 0;
}

/* ESC */

.search-key {
    position: absolute;
    left: 0;

    border: 1px solid rgba(255,255,255,.2);

    padding: 6px 9px;

    color: #89969c;

    font-size: 9px;
    letter-spacing: 1px;
}

/* Results */

.search-results {
    margin-top: 30px;

    max-height: 55vh;
    overflow-y: auto;

    padding-left: 5px;
}

.search-hint {
    color: #819098;
    font-size: 13px;
    text-align: center;
    padding: 45px 0;
}

.search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 20px 5px;

    border-bottom: 1px solid rgba(255,255,255,.1);

    color: #fff;

    text-decoration: none;

    transition: .3s ease;
}

.search-result:hover {
    padding-right: 12px;
    padding-left: 12px;

    background: rgba(201,166,107,.07);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-category {
    color: var(--gold);

    font-size: 9px;
    letter-spacing: 1px;
}

.search-result-title {
    font-size: 15px;
}

.search-result-arrow {
    color: var(--gold2);
    font-size: 20px;
}

.search-no-results {
    text-align: center;
    padding: 50px 0;

    color: #87959c;
}

.search-no-results strong {
    display: block;

    color: var(--gold2);

    font-size: 17px;

    margin-bottom: 8px;
}

/* Close */

.search-close {
    position: absolute;

    top: 35px;
    left: 5.5%;

    width: 48px;
    height: 48px;

    border: 1px solid var(--gold);

    background: transparent;

    color: var(--gold2);

    font-size: 30px;

    cursor: pointer;

    transition: .3s ease;
}

.search-close:hover {
    background: var(--gold);
    color: var(--navy);
    transform: rotate(90deg);
}

/* Light mode */

body.light-mode .search-overlay {
    background: rgba(255, 253, 249, .97);
}

body.light-mode .search-input-wrap input {
    color: var(--ink);
}

body.light-mode .search-input-wrap input::placeholder {
    color: rgba(19,25,29,.35);
}

body.light-mode .search-result {
    color: var(--ink);
    border-color: rgba(19,25,29,.12);
}

body.light-mode .search-result:hover {
    background: rgba(201,166,107,.09);
}

body.light-mode .search-hint,
body.light-mode .search-no-results {
    color: var(--muted);
}

body.light-mode .search-key {
    color: var(--muted);
    border-color: rgba(19,25,29,.2);
}

body.light-mode .search-toggle {
    background: rgba(255,255,255,.7);
    color: #9a773d;
}

/* Mobile */

@media(max-width:860px) {

    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 6%;
    }

    .search-toggle {
        width: 42px;
        height: 42px;
        margin: 0;
        flex-shrink: 0;
        order: 2;
    }

    .menu-toggle {
        display: block;
        width: 46px;
        height: 46px;
        margin: 0;
        padding: 12px;
        flex-shrink: 0;
        order: 1;
        position: relative;
        z-index: 25;
    }

    .brand {
        order: 3;
        margin-right: auto;
    }

    .menu-toggle i {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--gold);
        margin: 4px 0;
    }

    .search-overlay {
        padding: 125px 7% 40px;
    }

    .search-close {
        top: 25px;
        left: 7%;
    }

    .search-input-wrap input {
        font-size: 22px;
    }

    .search-key {
        display: none;
    }

    .search-result {
        padding: 18px 0;
    }

    .search-result-title {
        font-size: 13px;
    }
}

@media(max-width:420px) {

    .search-toggle {
        width: 40px;
        height: 40px;
    }

    .search-close {
        width: 44px;
        height: 44px;
    }
}

/* =========================================
   AI LEGAL ASSISTANT
========================================= */

.ai-assistant-button {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 90;

    min-height: 54px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid var(--gold);
    background: rgba(11, 23, 32, .94);
    color: var(--gold2);

    font-family: var(--sans);
    font-size: 12px;

    cursor: pointer;

    box-shadow: 0 12px 40px rgba(0,0,0,.25);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition: .35s ease;
}

.ai-assistant-button:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-4px);
}

.ai-spark {
    font-size: 20px;
}

.ai-button-text {
    white-space: nowrap;
}


/* =========================================
   CHAT WINDOW
========================================= */

.ai-chat {
    position: fixed;

    left: 28px;
    bottom: 95px;

    z-index: 89;

    width: min(420px, calc(100vw - 36px));
    height: min(650px, calc(100vh - 130px));

    display: flex;
    flex-direction: column;

    background: #0b1720;
    color: #fff;

    border: 1px solid rgba(201,166,107,.35);

    box-shadow:
        0 25px 80px rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(20px) scale(.97);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;
}

.ai-chat.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
}


/* =========================================
   HEADER
========================================= */

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px;

    border-bottom: 1px solid var(--line);

    background: #101f2a;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    color: var(--gold2);

    font-size: 20px;
}

.ai-chat-title strong {
    display: block;

    font-size: 14px;
    font-weight: 600;
}

.ai-chat-title small {
    display: block;

    margin-top: 4px;

    color: #91a0a6;

    font-size: 9px;
}

.ai-close {
    width: 36px;
    height: 36px;

    border: 1px solid rgba(201,166,107,.4);

    background: transparent;

    color: var(--gold2);

    font-size: 25px;

    cursor: pointer;

    transition: .3s;
}

.ai-close:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =========================================
   DISCLAIMER
========================================= */

.ai-disclaimer {
    padding: 10px 15px;

    background: rgba(201,166,107,.07);

    border-bottom: 1px solid rgba(201,166,107,.15);

    color: #a7b0b4;

    font-size: 9px;
    line-height: 1.8;

    text-align: center;
}


/* =========================================
   MESSAGES
========================================= */

.ai-messages {
    flex: 1;

    overflow-y: auto;

    padding: 20px 15px;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.ai-message {
    display: flex;

    gap: 9px;

    max-width: 92%;
}

.ai-message-user {
    align-self: flex-start;
    flex-direction: row-reverse;
}

.ai-message-bot {
    align-self: flex-end;
}

.ai-message-avatar {
    flex: none;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 13px;
}

.ai-message-content {
    padding: 12px 14px;

    background: #13232d;

    border: 1px solid rgba(255,255,255,.07);

    font-size: 12px;

    line-height: 1.9;
}

.ai-message-user .ai-message-content {
    background: var(--gold);
    color: var(--navy);
}

.ai-message-content p {
    margin: 0 0 7px;
}

.ai-message-content p:last-child {
    margin-bottom: 0;
}


/* =========================================
   QUICK ACTIONS
========================================= */

.ai-quick-actions {
    display: flex;

    gap: 7px;

    overflow-x: auto;

    padding: 10px 12px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.ai-quick-actions button {
    flex: none;

    padding: 8px 11px;

    border: 1px solid rgba(201,166,107,.35);

    background: transparent;

    color: var(--gold2);

    font-family: var(--sans);

    font-size: 9px;

    cursor: pointer;

    transition: .25s;
}

.ai-quick-actions button:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =========================================
   INPUT
========================================= */

.ai-input-area {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px;

    border-top: 1px solid var(--line);

    background: #101f2a;
}

.ai-input-area input {
    flex: 1;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.04);

    color: #fff;

    padding: 12px;

    font-family: var(--sans);

    font-size: 12px;
}

.ai-input-area input:focus {
    border-color: var(--gold);
}

.ai-input-area input::placeholder {
    color: #75858d;
}

.ai-input-area button {
    width: 42px;
    height: 42px;

    border: 1px solid var(--gold);

    background: var(--gold);

    color: var(--navy);

    font-size: 20px;

    cursor: pointer;

    transition: .25s;
}

.ai-input-area button:hover {
    background: var(--gold2);
}


/* =========================================
   TYPING
========================================= */

.ai-typing {
    display: flex;
    gap: 5px;

    align-items: center;

    padding: 5px;
}

.ai-typing span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--gold);

    animation: aiTyping 1.2s infinite;
}

.ai-typing span:nth-child(2) {
    animation-delay: .15s;
}

.ai-typing span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes aiTyping {

    0%,
    60%,
    100% {
        opacity: .25;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}


/* =========================================
   LIGHT MODE
========================================= */

body.light-mode .ai-assistant-button {
    background: rgba(255,255,255,.95);
    color: #9a773d;
}

body.light-mode .ai-chat {
    background: #fffdf9;
    color: var(--ink);
}

body.light-mode .ai-chat-header {
    background: #f4f0e9;
}

body.light-mode .ai-message-content {
    background: #f1eee8;
    color: var(--ink);
}

body.light-mode .ai-message-user .ai-message-content {
    background: var(--gold);
    color: var(--ink);
}

body.light-mode .ai-input-area {
    background: #f4f0e9;
}

body.light-mode .ai-input-area input {
    color: var(--ink);
    background: #fff;
}

body.light-mode .ai-chat-title small {
    color: #657178;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:620px) {

    .ai-assistant-button {
        left: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }

    .ai-button-text {
        display: none;
    }

    .ai-chat {
        left: 18px;
        right: 18px;
        bottom: 85px;

        width: auto;

        height: min(600px, calc(100vh - 110px));
    }

}