:root { --site-gutter: clamp(16px, 4vw, 32px); }
@font-face { font-family: "Font Awesome 6 Free"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/fontawesome/fa-solid-900.woff2") format("woff2"); }
@font-face { font-family: "Font Awesome 6 Free"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/fontawesome/fa-regular-400.woff2") format("woff2"); }
@font-face { font-family: "Font Awesome 6 Brands"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/fontawesome/fa-brands-400.woff2") format("woff2"); }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
img { max-width: 100%; }
.navbar { z-index: 1000; }
.navbar-brand .logo { object-fit: contain; }
.legal-brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-logo { width: min(190px, 100%); height: auto; object-fit: contain; }
.bg-logo,
.contact-logo { object-fit: contain; }
.bg-logo { opacity: .22; filter: brightness(0) invert(1); }
.hero-content, .breadcrumb-wrapper { padding-inline: var(--site-gutter); }
.hero-text { max-width: 850px; }
.hero-text h1 { text-wrap: balance; }
.services-section .box { height: 100%; display: flex; flex-direction: column; }
.services-section .box .content { flex: 1; }
.services-section .box .info { margin-top: auto; }
.gallery-swiper .swiper-slide { height: auto; }
.gallery-swiper .gallery-image { aspect-ratio: 4 / 3; }
.gallery-swiper .gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.team-section .swiper-slide { height: auto; }
.team-section .team-box { height: auto; }
.testimonials .content .box { display: flex; flex-direction: column; }
.contact-info-card, .service-details-card { height: 100%; }
.map-container iframe { width: 100%; min-height: 320px; border: 0; }
.videos-section iframe { min-height: 230px; }
.text-area img { max-width: 100% !important; height: auto !important; }
html[dir="ltr"] body { text-align: left; }
html[dir="ltr"] .navbar-nav { direction: ltr; }
html[dir="ltr"] .footer .line, html[dir="ltr"] .services-section .box .info { flex-direction: row; }
html[dir="ltr"] .footer .links i { transform: rotate(180deg); }
@media (max-width: 1199.98px) {
    .navbar-collapse { max-height: calc(100vh - 90px); overflow-y: auto; }
    .navbar .btn-theme { display: inline-flex; margin-bottom: 20px; }
}
@media (max-width: 991.98px) {
    .section-padding { padding-block: 55px; }
    .hero-section { min-height: 680px; }
    .hero-text h1 { font-size: clamp(34px, 7vw, 54px); }
    .contact-section .form-wrapper { width: 100%; }
    .footer [class*="col-"] { margin-bottom: 28px; }
}
@media (max-width: 767.98px) {
    .section-padding { padding-block: 42px; }
    .hero-section { min-height: 580px; }
    .hero-text h1 { font-size: clamp(30px, 9vw, 42px); }
    .hero-text .description { font-size: 15px; }
    .hero-action { flex-wrap: wrap; }
    .services-section .box .content { padding: 14px; }
    .services-section .box .info { padding: 12px 14px; }
    .services-section .box .info a { font-size: 12px; }
    .testimonials { padding-block: 42px; }
    .contact-info-card { padding: 20px; }
}
@media (max-width: 575.98px) {
    .container { padding-inline: 14px; }
    .navbar .logo { height: 68px; }
    .hero-section { min-height: 520px; }
    .hero-text h1 { font-size: 30px; }
    .btn-theme { padding: 11px 15px; font-size: 13px; }
    .services-section .box .content h3 { font-size: 14px; line-height: 1.5; }
    .services-section .box .content p { display: none; }
    .gallery-swiper .gallery-image { aspect-ratio: 1 / 1; }
    .counter-section .box { padding: 0; }
    .footer { text-align: center; }
    .footer .line { justify-content: center; text-align: start; }
    .phone-static-icon, .whatsapp { transform: scale(.9); }
}

/* Header and home hero redesign */
.site-navbar {
    top: 0;
    padding: 18px 0;
    background: rgba(3, 24, 43, .92);
    border-bottom: 1px solid rgba(230, 177, 79, .16);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .18);
}

.site-navbar.sticky {
    background: rgba(3, 24, 43, .97);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.site-navbar .container {
    max-width: 1540px;
    gap: clamp(18px, 2.8vw, 46px);
}

.site-navbar .logo {
    height: 82px;
    width: auto;
    object-fit: contain;
}

.site-navbar .navbar-collapse {
    gap: clamp(18px, 2vw, 34px);
}

.site-navbar .navbar-nav {
    align-items: center;
    gap: clamp(4px, .6vw, 14px);
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 18px 10px;
}

.site-navbar .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 18%;
    bottom: 5px;
    height: 3px;
    width: auto;
    background: linear-gradient(90deg, transparent, #e7b252, #fff0b5, #e7b252, transparent);
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity .25s ease, transform .25s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff4cf !important;
    transform: none;
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-navbar .nav-language {
    position: relative;
    margin-inline-start: 14px;
    padding-inline-start: 18px;
}

.site-navbar .nav-language::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .35);
    transform: translateY(-50%);
}

.site-navbar .navbar-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 175px;
    padding: 14px 24px;
    border: 1px solid #e2aa48;
    border-radius: 8px;
    color: #ffd47a;
    background: transparent;
}

.site-navbar .navbar-contact:hover {
    color: #041a2e;
    background: linear-gradient(135deg, #f7d17a, #c9912e);
    transform: translateY(-2px);
}

.legal-hero {
    min-height: 100vh;
    height: auto;
    background: #061d34;
    isolation: isolate;
}

.legal-hero .hero-swiper,
.legal-hero .swiper-wrapper,
.legal-hero .swiper-slide {
    width: 100%;
    min-height: 100vh;
}

.legal-hero .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 185px var(--site-gutter) 155px;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: none;
    animation: zoomIn 20s ease-out infinite;
}

.swiper-slide-active .hero-slide-bg {
    transform: none;
}

.legal-hero .swiper-slide::before,
.legal-hero .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-hero .swiper-slide::before {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 25, 45, .88) 0%, rgba(5, 25, 45, .62) 38%, rgba(5, 25, 45, .52) 100%),
        linear-gradient(180deg, rgba(2, 18, 32, .92) 0%, rgba(2, 18, 32, .18) 40%, rgba(2, 18, 32, .86) 100%);
}

.legal-hero .swiper-slide::after {
    z-index: 2;
    background: radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .1), transparent 32%);
}

.hero-slide-content {
    position: relative;
    z-index: 4;
    width: min(1040px, 100%);
    text-align: center;
    color: #fff;
}

.hero-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-bottom: 28px;
    color: #e8b556;
    font-size: clamp(36px, 4vw, 58px);
}

.hero-mark span {
    width: min(185px, 18vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, #d6a13e, transparent);
}

.hero-slide-content h1 {
    max-width: 980px;
    margin: 0 auto 24px;
    color: #fff;
    font-size: clamp(44px, 5.8vw, 92px);
    font-weight: 800;
    line-height: 1.22;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.hero-slide-content .description {
    max-width: 820px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, .92);
    font-family: 'Cairo', sans-serif;
    font-size: clamp(17px, 1.55vw, 26px);
    font-weight: 500;
    line-height: 1.75;
}

.legal-hero .hero-action {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.legal-hero .hero-primary,
.legal-hero .hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: min(100%, 330px);
    min-height: 70px;
    border-radius: 8px;
    font-size: 17px;
}

.legal-hero .hero-primary {
    color: #0a1d2f;
    background: linear-gradient(135deg, #ffd976, #d59b37);
}

.legal-hero .hero-secondary {
    border: 1px solid rgba(231, 178, 82, .85);
    color: #fff;
    background: rgba(2, 18, 32, .34);
}

.legal-hero .hero-primary:hover,
.legal-hero .hero-secondary:hover {
    transform: translateY(-2px);
}

html[dir="ltr"] .legal-hero .hero-primary i,
html[dir="ltr"] .legal-hero .hero-secondary i {
    transform: rotate(180deg);
}

.hero-watermark {
    position: absolute;
    z-index: 3;
    left: -120px;
    right: auto;
    top: 18%;
    width: min(460px, 42vw);
    opacity: .08;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.hero-feature-bar {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 0;
    width: min(1100px, calc(100% - 32px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: translateX(-50%);
    background: rgba(5, 22, 39, .78);
    border: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 0;
    backdrop-filter: blur(12px);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 20px 22px;
    color: #fff;
}

.hero-feature:not(:last-child) {
    border-inline-end: 1px solid rgba(255, 255, 255, .18);
}

.hero-feature-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8b556;
    font-size: 30px;
}

.hero-feature-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.hero-feature h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.hero-feature p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-swiper-pagination {
    position: absolute;
    z-index: 6;
    inset-inline: 0;
    bottom: 118px !important;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 32px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .5);
    opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #e8b556;
}

@media (max-width: 1399.98px) {
    .site-navbar .nav-link { font-size: 14px; padding-inline: 6px; }
    .site-navbar .navbar-contact { min-width: 150px; padding-inline: 18px; }
    .site-navbar .logo { height: 76px; }
}

@media (max-width: 1199.98px) {
    .site-navbar { padding: 10px 0; }
    .site-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: rgba(3, 24, 43, .98);
        border: 1px solid rgba(231, 178, 82, .18);
        border-radius: 8px;
    }
    .site-navbar .navbar-nav { align-items: stretch; }
    .site-navbar .nav-link { padding: 12px 6px; }
    .site-navbar .nav-link::after { display: none; }
    .site-navbar .nav-language { margin: 0; padding: 0; }
    .site-navbar .nav-language::before { display: none; }
    .site-navbar .navbar-contact { width: 100%; margin: 10px 0 0; }
    .hero-feature-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-swiper-pagination { bottom: 205px !important; }
}

@media (max-width: 767.98px) {
    .site-navbar .logo { height: 64px; }
    .legal-hero .swiper-slide { padding-top: 135px; padding-bottom: 280px; }
    .hero-mark { gap: 14px; margin-bottom: 18px; }
    .hero-mark span { width: 74px; }
    .hero-slide-content h1 { font-size: clamp(34px, 10vw, 54px); }
    .legal-hero .hero-primary,
    .legal-hero .hero-secondary { min-height: 56px; font-size: 14px; }
    .hero-watermark { left: -95px; right: auto; width: 300px; }
    .hero-feature-bar { grid-template-columns: 1fr; }
    .hero-feature { padding: 13px 16px; }
    .hero-feature:not(:last-child) { border-inline-end: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
    .hero-feature h2 { font-size: 15px; }
    .hero-feature p { font-size: 12px; -webkit-line-clamp: 1; }
    .hero-swiper-pagination { bottom: 420px !important; }
}

/* Pixel match pass for the supplied 1920x1080 reference */
@media (min-width: 1200px) {
    .site-navbar {
        height: 140px;
        padding: 0;
        background:
            linear-gradient(180deg, rgba(3, 23, 41, .98), rgba(4, 26, 46, .95)),
            radial-gradient(circle at 50% 0, rgba(28, 81, 117, .18), transparent 42%);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        box-shadow: none;
    }

    .site-navbar.sticky {
        height: 112px;
        background: rgba(3, 23, 41, .98);
    }

    .site-navbar > .container {
        position: relative;
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        padding: 0;
    }

    .site-navbar .phone-icon,
    .site-navbar .navbar-toggler {
        display: none !important;
    }

    .site-navbar .legal-brand {
        position: absolute;
        top: 20px;
        inset-inline-end: 38px;
        width: 300px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        color: #f0ba54;
        text-decoration: none;
    }

    .legal-brand-text {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        min-width: 174px;
        padding-top: 7px;
        line-height: 1;
    }

    .legal-brand-text strong {
        color: #f5f5f5;
        font-size: 27px;
        font-weight: 500;
        line-height: 1.1;
        white-space: nowrap;
    }

    .legal-brand-text small {
        color: #f4f1e8;
        margin-top: 8px;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
    }

    .legal-brand-mark {
        order: 1;
        flex: 0 0 108px;
        width: 108px;
        height: 104px;
        display: block;
        color: #d99d32;
    }

    .legal-brand-logo {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
    }

    .legal-brand-mark svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .legal-brand-mark path,
    .legal-brand-mark circle {
        fill: none;
        stroke: currentColor;
        stroke-width: 3.4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .legal-brand-mark .brand-crown {
        fill: none;
        stroke-width: 2.5;
    }

    .legal-brand-mark .brand-letter {
        opacity: .85;
        stroke-width: 2;
    }

    .site-navbar .navbar-collapse {
        position: static;
        display: block !important;
        height: 100%;
    }

    .site-navbar .navbar-nav {
        position: absolute;
        top: 43px;
        inset-inline-start: 320px;
        inset-inline-end: 345px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: clamp(28px, 2.45vw, 52px);
        padding: 0;
        margin: 0;
        direction: rtl;
    }

    html[dir="ltr"] .site-navbar .navbar-nav {
        direction: ltr;
    }

    .site-navbar .nav-item {
        flex: 0 0 auto;
    }

    .site-navbar .nav-link {
        height: 76px;
        display: inline-flex;
        align-items: flex-start;
        justify-content: center;
        padding: 20px 0 0;
        color: rgba(255, 255, 255, .92);
        font-size: 17px;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
        letter-spacing: 0;
    }

    .site-navbar .nav-link::after {
        inset-inline: 50%;
        bottom: 0;
        width: 122px;
        height: 5px;
        opacity: 0;
        transform: translateX(50%) scaleX(.72);
        background:
            linear-gradient(90deg, rgba(211, 156, 52, .15), rgba(211, 156, 52, .7) 28%, #fff1b0 50%, rgba(211, 156, 52, .7) 72%, rgba(211, 156, 52, .15));
    }

    html[dir="ltr"] .site-navbar .nav-link::after {
        transform: translateX(-50%) scaleX(.72);
    }

    .site-navbar .nav-link.active::after,
    .site-navbar .nav-link:hover::after {
        opacity: 1;
        transform: translateX(50%) scaleX(1);
    }

    html[dir="ltr"] .site-navbar .nav-link.active::after,
    html[dir="ltr"] .site-navbar .nav-link:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

    .site-navbar .nav-language {
        margin-inline-start: 4px;
        padding-inline-start: 34px;
    }

    .site-navbar .nav-language::before {
        height: 51px;
        top: 14px;
        transform: none;
        background: rgba(255, 255, 255, .42);
    }

    .site-navbar .navbar-contact {
        position: absolute;
        top: 37px;
        inset-inline-start: 53px;
        width: 210px;
        height: 70px;
        min-width: 0;
        padding: 0;
        border: 2px solid #dca445;
        border-radius: 8px;
        gap: 14px;
        color: #efb54e;
        background: rgba(3, 22, 39, .25);
        font-size: 16px;
        font-weight: 700;
    }

    .site-navbar .navbar-contact i {
        font-size: 22px;
    }

    .legal-hero {
        min-height: 1080px;
        height: 100vh;
        min-height: max(760px, 100vh);
    }

    .legal-hero .hero-swiper,
    .legal-hero .swiper-wrapper,
    .legal-hero .swiper-slide {
        min-height: inherit;
        height: 100%;
    }

    .legal-hero .swiper-slide {
        padding: 140px 0 0;
        align-items: flex-start;
    }

    .hero-slide-bg {
        background-position: center top;
        transform: none;
    }

    .swiper-slide-active .hero-slide-bg {
        transform: none;
    }

    .legal-hero .swiper-slide::before {
        background:
            linear-gradient(90deg, rgba(8, 31, 52, .54) 0%, rgba(8, 31, 52, .34) 36%, rgba(8, 31, 52, .62) 100%),
            linear-gradient(180deg, rgba(3, 20, 36, .52) 0%, rgba(3, 20, 36, .50) 45%, rgba(3, 20, 36, .88) 100%);
    }

    .legal-hero .swiper-slide::after {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, .30) 0, rgba(255, 255, 255, .11) 16%, transparent 35%),
            radial-gradient(circle at 48% 48%, rgba(255, 255, 255, .08), transparent 30%);
    }

    .hero-watermark {
        top: 175px;
        left: -220px;
        right: auto;
        width: 570px;
        max-width: none;
        opacity: .12;
        filter: brightness(0) invert(1);
    }

    .hero-slide-content {
        width: 100%;
        max-width: 100%;
        padding-top: 110px;
    }

    .hero-mark {
        gap: 18px;
        margin-bottom: 34px;
    }

    .hero-mark span {
        width: 185px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #d79e31 30%, #d79e31 70%, transparent);
    }

    .hero-mark span:first-child::after,
    .hero-mark span:last-child::after {
        content: "";
        display: block;
        width: 8px;
        height: 8px;
        margin-top: -3px;
        border-radius: 50%;
        background: #e3a83d;
    }

    .hero-mark span:first-child::after {
        margin-inline-start: auto;
    }

    .hero-mark svg {
        width: 94px;
        height: 76px;
        fill: none;
        stroke: #e0a43d;
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .hero-slide-content h1 {
        width: 1000px;
        max-width: calc(100% - 120px);
        margin: 0 auto 20px;
        font-size: 78px;
        font-weight: 800;
        line-height: 1.27;
        color: #fff;
        text-shadow: 0 8px 17px rgba(0, 0, 0, .34);
    }

    .hero-slide-content .description {
        width: 880px;
        max-width: calc(100% - 120px);
        margin: 0 auto 44px;
        font-size: 24px;
        font-weight: 500;
        line-height: 1.35;
        color: rgba(255, 255, 255, .96);
    }

    .legal-hero .hero-action {
        gap: 20px;
        align-items: center;
    }

    .legal-hero .hero-primary,
    .legal-hero .hero-secondary {
        width: 405px;
        min-width: 0;
        height: 78px;
        min-height: 0;
        border-radius: 7px;
        font-size: 18px;
        font-weight: 800;
    }

    .legal-hero .hero-primary {
        color: #081a2d;
        background: linear-gradient(180deg, #ffd777 0%, #e7b149 55%, #c78b28 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 26px rgba(0, 0, 0, .16);
    }

    .legal-hero .hero-secondary {
        color: #fff;
        border: 2px solid rgba(223, 164, 65, .95);
        background: rgba(5, 23, 40, .36);
    }

    .legal-hero .hero-primary i {
        order: 2;
        color: #081a2d;
        font-size: 21px;
    }

    .legal-hero .hero-secondary i {
        color: #dca445;
        font-size: 20px;
    }

    .hero-feature-bar {
        bottom: 0;
        width: 1268px;
        height: 104px;
        grid-template-columns: repeat(4, 1fr);
        background: rgba(5, 22, 39, .76);
        border-color: rgba(255, 255, 255, .10);
        box-shadow: 0 -18px 45px rgba(0, 0, 0, .18);
    }

    .hero-feature {
        height: 104px;
        flex-direction: row;
        gap: 18px;
        padding: 18px 34px;
    }

    .hero-feature:nth-child(1) { order: 4; }
    .hero-feature:nth-child(2) { order: 3; }
    .hero-feature:nth-child(3) { order: 2; }
    .hero-feature:nth-child(4) { order: 1; }

    html[dir="ltr"] .hero-feature:nth-child(n) {
        order: initial;
    }

    .hero-feature-icon {
        flex: 0 0 52px;
        width: 52px;
        height: 58px;
        color: #e2a43b;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .hero-feature-icon img,
    .hero-feature-icon i {
        display: none;
    }

    .hero-feature:nth-child(1) .hero-feature-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='54' height='58' viewBox='0 0 54 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 4l5 9 10 2-7 8 2 11-10-5-10 5 2-11-7-8 10-2 5-9Z' stroke='%23e2a43b' stroke-width='3'/%3E%3Cpath d='M18 37l-6 15 12-7 3 9 3-9 12 7-6-15' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='27' cy='19' r='4' stroke='%23e2a43b' stroke-width='3'/%3E%3C/svg%3E");
    }

    .hero-feature:nth-child(2) .hero-feature-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='58' height='54' viewBox='0 0 58 54' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 45h42M14 40h30M17 35V19M29 35V19M41 35V19M11 19h36L29 7 11 19Z' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .hero-feature:nth-child(3) .hero-feature-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='54' height='58' viewBox='0 0 54 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 5l18 7v14c0 13-7 22-18 27C16 48 9 39 9 26V12l18-7Z' stroke='%23e2a43b' stroke-width='3'/%3E%3Cpath d='M18 29l6 6 13-16' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .hero-feature:nth-child(4) .hero-feature-icon {
        background-image: url("data:image/svg+xml,%3Csvg width='56' height='58' viewBox='0 0 56 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 5v41M10 18h36M28 13L13 35M28 13l15 22' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 35h18c-2 7-6 11-9 11s-7-4-9-11ZM33 35h18c-2 7-6 11-9 11s-7-4-9-11ZM20 51h16' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    .hero-feature-icon-years {
        background-image: url("data:image/svg+xml,%3Csvg width='54' height='58' viewBox='0 0 54 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 4l5 9 10 2-7 8 2 11-10-5-10 5 2-11-7-8 10-2 5-9Z' stroke='%23e2a43b' stroke-width='3'/%3E%3Cpath d='M18 37l-6 15 12-7 3 9 3-9 12 7-6-15' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='27' cy='19' r='4' stroke='%23e2a43b' stroke-width='3'/%3E%3C/svg%3E") !important;
    }

    .hero-feature-icon-solutions {
        background-image: url("data:image/svg+xml,%3Csvg width='58' height='54' viewBox='0 0 58 54' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 45h42M14 40h30M17 35V19M29 35V19M41 35V19M11 19h36L29 7 11 19Z' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }

    .hero-feature-icon-secret {
        background-image: url("data:image/svg+xml,%3Csvg width='54' height='58' viewBox='0 0 54 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 5l18 7v14c0 13-7 22-18 27C16 48 9 39 9 26V12l18-7Z' stroke='%23e2a43b' stroke-width='3'/%3E%3Cpath d='M18 29l6 6 13-16' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }

    .hero-feature-icon-lawyers,
    .hero-feature-icon-vision {
        background-image: url("data:image/svg+xml,%3Csvg width='56' height='58' viewBox='0 0 56 58' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 5v41M10 18h36M28 13L13 35M28 13l15 22' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 35h18c-2 7-6 11-9 11s-7-4-9-11ZM33 35h18c-2 7-6 11-9 11s-7-4-9-11ZM20 51h16' stroke='%23e2a43b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    }

    .hero-feature-icon.has-custom-icon {
        background-image: none !important;
    }

    .hero-feature-icon.has-custom-icon img {
        display: block;
        width: 48px;
        height: 48px;
        object-fit: contain;
        filter: sepia(1) saturate(2.2) hue-rotate(358deg) brightness(1.05);
    }

    .hero-feature h2 {
        margin: 0 0 6px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
    }

    .hero-feature p {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        color: rgba(255, 255, 255, .86);
        -webkit-line-clamp: 2;
    }

    .phone-static-icon {
        left: 43px;
        bottom: 198px;
        width: 68px;
        height: 68px;
        border: 2px solid #dca445;
        border-radius: 12px;
        background: rgba(5, 23, 40, .9);
        color: #f4b852;
    }

    .whatsapp {
        left: 43px;
        bottom: 112px;
        width: 68px;
        height: 68px;
        border-radius: 12px;
    }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .site-navbar .navbar-nav {
        inset-inline-start: 250px;
        inset-inline-end: 285px;
        gap: 26px;
    }

    .site-navbar .nav-link {
        font-size: 15px;
    }

    .site-navbar .legal-brand {
        width: 245px;
        transform: scale(.88);
        transform-origin: top right;
    }

    .site-navbar .navbar-contact {
        width: 180px;
        font-size: 14px;
    }

    .hero-slide-content h1 {
        font-size: 64px;
    }

    .hero-feature-bar {
        width: min(1120px, calc(100% - 80px));
    }
}

/* Requested swap: transparent navbar, logo left, contact button right */
@media (min-width: 1200px) {
    .site-navbar {
        background:
            linear-gradient(180deg, rgba(3, 23, 41, .34), rgba(3, 23, 41, .18)),
            radial-gradient(circle at 50% 0, rgba(38, 97, 132, .12), transparent 46%);
        border-bottom-color: rgba(255, 255, 255, .06);
        backdrop-filter: blur(7px);
        transition: height .28s ease, background .28s ease, box-shadow .28s ease, border-color .28s ease;
    }

    .site-navbar.sticky {
        background:
            linear-gradient(180deg, rgba(3, 23, 41, .98), rgba(4, 26, 46, .96)),
            radial-gradient(circle at 50% 0, rgba(28, 81, 117, .16), transparent 42%);
        border-bottom-color: rgba(255, 255, 255, .10);
        box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
        backdrop-filter: blur(10px);
    }

    .site-navbar .legal-brand {
        inset-inline-start: 42px;
        inset-inline-end: auto;
        justify-content: flex-start;
    }

    .site-navbar .navbar-contact {
        inset-inline-start: auto;
        inset-inline-end: 53px;
        background: rgba(3, 22, 39, .18);
        backdrop-filter: blur(4px);
    }

    .site-navbar.sticky .navbar-contact {
        color: #efb54e;
        border-color: #dca445;
        background: rgba(3, 22, 39, .55);
    }

    .site-navbar .navbar-nav {
        inset-inline-start: 345px;
        inset-inline-end: 320px;
    }

    .hero-feature-bar {
        width: min(1268px, calc(100% - 76px));
        height: 94px;
        bottom: 0;
        background:
            linear-gradient(180deg, rgba(10, 30, 48, .42), rgba(5, 20, 36, .72)),
            rgba(3, 18, 32, .44);
        border: 1px solid rgba(255, 255, 255, .08);
        border-bottom: 0;
        backdrop-filter: blur(13px);
        box-shadow: 0 -12px 36px rgba(0, 0, 0, .22);
    }

    .hero-feature {
        height: 94px;
        padding: 14px 34px;
        gap: 18px;
        direction: rtl;
        text-align: right;
        justify-content: center;
    }

    html[dir="ltr"] .hero-feature {
        direction: ltr;
        text-align: left;
    }

    .hero-feature:not(:last-child) {
        border-inline-end: 1px solid rgba(255, 255, 255, .22);
    }

    .hero-feature-icon {
        flex-basis: 48px;
        width: 48px;
        height: 52px;
        opacity: .98;
    }

    .hero-feature h2 {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.25;
    }

    .hero-feature p {
        font-size: 14px;
        line-height: 1.35;
        color: rgba(255, 255, 255, .78);
    }

    .phone-static-icon {
        bottom: 194px;
    }

    .whatsapp {
        bottom: 108px;
    }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .site-navbar .legal-brand {
        inset-inline-start: 26px;
        inset-inline-end: auto;
        transform-origin: top left;
    }

    .site-navbar .navbar-contact {
        inset-inline-end: 30px;
        inset-inline-start: auto;
    }

    .site-navbar .navbar-nav {
        inset-inline-start: 285px;
        inset-inline-end: 250px;
    }
}

/* Match the original slider motion: 1.5s fade, 20s slow zoom, 6s interval */
.legal-hero .hero-slide-bg {
    transform: scale(1);
    animation: zoomIn 20s ease-out infinite;
    will-change: transform;
}

.legal-hero .swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

/* Final hero/logo alignment pass */
.hero-mark-logo {
    display: block;
    width: clamp(76px, 7vw, 112px);
    height: clamp(58px, 5.8vw, 90px);
    object-fit: contain;
    flex: 0 0 auto;
}

.hero-mark span {
    flex: 0 1 185px;
}

.hero-feature {
    min-height: 0;
    overflow: hidden;
}

.hero-feature > div {
    min-width: 0;
}

.hero-feature-icon {
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .hero-slide-content {
        padding-top: clamp(66px, 8vh, 96px);
        transform: translateY(-24px);
    }

    .hero-mark {
        margin-bottom: 26px;
    }

    .hero-mark-logo {
        width: 104px;
        height: 82px;
    }

    .hero-slide-content h1 {
        margin-bottom: 14px;
    }

    .hero-slide-content .description {
        margin-bottom: 34px;
    }

    .legal-hero .hero-primary,
    .legal-hero .hero-secondary {
        height: 70px;
    }

    .hero-feature-bar {
        height: 96px;
        align-items: stretch;
    }

    .hero-feature {
        height: 96px;
        padding-block: 12px;
    }
}

@media (max-width: 1199.98px) {
    .hero-mark-logo {
        width: 86px;
        height: 68px;
    }

    .legal-hero .swiper-slide {
        padding-bottom: 250px;
    }

    .hero-feature-bar {
        bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-mark-logo {
        width: 72px;
        height: 58px;
    }

    .legal-hero .swiper-slide {
        padding-bottom: 340px;
    }

    .hero-feature-bar {
        width: min(430px, calc(100% - 24px));
    }
}

/* Final desktop header collision fix */
@media (min-width: 1200px) {
    .site-navbar .legal-brand {
        width: 330px;
        gap: 12px;
        overflow: visible;
    }

    .site-navbar .legal-brand-text {
        min-width: 190px;
    }

    .site-navbar .legal-brand-mark {
        flex-basis: 96px;
        width: 96px;
        height: 96px;
    }

    .site-navbar .navbar-nav {
        inset-inline-start: 455px;
        inset-inline-end: 315px;
        gap: clamp(22px, 1.9vw, 40px);
    }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .site-navbar .legal-brand {
        width: 270px;
        transform: scale(.86);
    }

    .site-navbar .navbar-nav {
        inset-inline-start: 350px;
        inset-inline-end: 235px;
        gap: 22px;
    }
}

/* Team slider refinement */
.team-section {
    padding-block: clamp(70px, 7vw, 110px);
}

.team-section .container {
    max-width: min(1540px, calc(100% - 64px));
}

.team-swiper {
    overflow: hidden;
    padding: 0 74px 72px;
}

.team-swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(.22, .61, .36, 1) !important;
}

.team-box {
    min-height: clamp(390px, 30vw, 480px);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(18, 31, 52, .14);
    transform: translateZ(0);
    transition: transform .28s ease, box-shadow .28s ease;
}

.team-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(18, 31, 52, .18);
}

.team-img,
.team-img img {
    height: 100%;
}

.team-img img {
    aspect-ratio: auto;
    min-height: inherit;
    border-radius: 8px;
    object-position: center top;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.team-box:hover .team-img img {
    transform: scale(1.025);
}

.team-img::after {
    inset: 46% 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 13, 24, .42) 36%, rgba(4, 13, 24, .82) 100%);
}

.team-content {
    inset-inline: 18px;
    bottom: 22px;
}

.team-content h4 {
    font-size: clamp(24px, 1.75vw, 32px);
    line-height: 1.18;
    margin-bottom: 8px;
}

.team-content span {
    font-size: clamp(15px, 1.05vw, 18px);
}

.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
    width: 64px;
    height: 64px;
    margin-top: -58px;
    color: #314695;
    background: #fff;
    border: 0;
    box-shadow: 0 12px 32px rgba(28, 40, 72, .14);
    opacity: .96;
}

.team-swiper .swiper-button-next {
    inset-inline-end: 10px;
}

.team-swiper .swiper-button-prev {
    inset-inline-start: 10px;
}

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

.team-swiper .swiper-button-next:hover,
.team-swiper .swiper-button-prev:hover {
    color: #fff;
    background: #314695;
    transform: translateY(-1px);
}

.team-swiper .swiper-pagination {
    bottom: 20px !important;
}

.team-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    background: #d4d8df;
    opacity: 1;
    transition: width .25s ease, background-color .25s ease;
}

.team-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: #314695;
}

@media (min-width: 1600px) {
    .team-box {
        min-height: 500px;
    }
}

@media (max-width: 1199.98px) {
    .team-section .container {
        max-width: calc(100% - 28px);
    }

    .team-swiper {
        padding-inline: 56px;
    }

    .team-box {
        min-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .team-swiper {
        padding-inline: 38px;
        padding-bottom: 62px;
    }

    .team-box {
        min-height: 390px;
    }

    .team-swiper .swiper-button-next,
    .team-swiper .swiper-button-prev {
        width: 48px;
        height: 48px;
        margin-top: -48px;
    }
}

/* Team cards final polish */
.team-section .container {
    max-width: min(1500px, calc(100% - 80px));
}

.team-subtitle {
    margin-bottom: 58px;
}

.team-swiper {
    overflow: visible;
    padding: 0 72px 70px;
}

.team-swiper .swiper-slide {
    height: auto;
}

.team-box {
    position: relative;
    height: clamp(430px, 30vw, 520px);
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #0b1726;
    box-shadow: 0 18px 42px rgba(16, 28, 48, .16);
}

.team-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(4, 12, 22, 0) 42%, rgba(4, 12, 22, .58) 72%, rgba(4, 12, 22, .92) 100%);
    pointer-events: none;
}

.team-img {
    position: absolute;
    inset: 0;
    height: auto;
}

.team-img::after {
    display: none;
}

.team-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

.team-content {
    z-index: 3;
    inset-inline: 22px;
    bottom: 24px;
    text-align: center;
}

.team-content h4 {
    color: #fff;
    font-size: clamp(23px, 1.65vw, 30px);
    line-height: 1.15;
    margin: 0 0 8px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .55);
}

.team-content span {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.45;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
    width: 56px;
    height: 56px;
    margin-top: -74px;
    color: #314695;
    background: #fff;
    border: 1px solid rgba(49, 70, 149, .12);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(18, 31, 52, .16);
}

.team-swiper .swiper-button-next {
    inset-inline-end: 10px;
}

.team-swiper .swiper-button-prev {
    inset-inline-start: 10px;
}

.team-swiper .swiper-button-next::after,
.team-swiper .swiper-button-prev::after {
    content: "";
    width: 14px;
    height: 14px;
    border-block-start: 3px solid currentColor;
    border-inline-end: 3px solid currentColor;
    font-size: 0;
}

.team-swiper .swiper-button-next::after {
    transform: rotate(45deg);
    margin-inline-start: -4px;
}

.team-swiper .swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-inline-end: -4px;
}

html[dir="rtl"] .team-swiper .swiper-button-next::after {
    transform: rotate(-135deg);
    margin-inline-start: 0;
    margin-inline-end: -4px;
}

html[dir="rtl"] .team-swiper .swiper-button-prev::after {
    transform: rotate(45deg);
    margin-inline-end: 0;
    margin-inline-start: -4px;
}

.team-swiper .swiper-button-next:hover,
.team-swiper .swiper-button-prev:hover {
    color: #fff;
    background: #314695;
    transform: translateY(-2px);
}

.team-swiper .swiper-pagination {
    bottom: 18px !important;
}

.team-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px !important;
    background: #cfd4dc;
    opacity: 1;
}

.team-swiper .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 999px;
    background: #314695;
}

@media (min-width: 1200px) {
    .team-swiper {
        padding-inline: 86px;
    }
}

@media (max-width: 991.98px) {
    .team-section .container {
        max-width: calc(100% - 28px);
    }

    .team-swiper {
        padding-inline: 52px;
    }

    .team-box {
        height: 430px;
    }
}

@media (max-width: 575.98px) {
    .team-swiper {
        padding-inline: 36px;
    }

    .team-box {
        height: 410px;
    }

    .team-swiper .swiper-button-next,
    .team-swiper .swiper-button-prev {
        width: 46px;
        height: 46px;
    }
}

/* Stable team card rendering */
.team-swiper {
    min-height: 560px;
}

.team-swiper .swiper-wrapper {
    align-items: stretch !important;
}

.team-swiper .swiper-slide {
    height: auto !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.team-box {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: clamp(430px, 30vw, 520px) !important;
    min-height: 430px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
}

.team-img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
}

.team-img img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.team-content {
    position: absolute !important;
}

/* Exact requested team layout */
.team-section {
    background: #f4f6f8 !important;
    padding-block: 36px 78px !important;
    overflow: hidden !important;
}

.team-section::before,
.team-section::after {
    display: none !important;
}

.team-section .container {
    width: min(1120px, calc(100% - 72px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
}

.team-eyebrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 8px;
    color: #b0822d;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.team-eyebrow::before,
.team-eyebrow::after {
    content: "";
    width: 55px;
    height: 1px;
    background: #d8dde4;
}

.team-section h2 {
    margin: 0 !important;
    color: #05080d !important;
    font-size: clamp(34px, 4.1vw, 48px) !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
}

.team-heading-divider {
    width: 46px !important;
    height: 2px !important;
    margin: 14px auto 24px !important;
    background: #a97725 !important;
}

.team-heading-divider::before,
.team-heading-divider::after {
    display: none !important;
}

.team-subtitle {
    width: min(680px, 100%) !important;
    margin: 0 auto 42px !important;
    color: #273247 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    text-align: center !important;
}

.team-swiper {
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
}

.team-swiper .swiper-wrapper {
    align-items: stretch !important;
    transition-timing-function: ease !important;
}

.team-swiper .swiper-slide {
    display: flex !important;
    height: auto !important;
}

.team-box {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(230px, 22vw, 300px) !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #101820 !important;
    box-shadow: none !important;
    transform: none !important;
}

.team-box:hover {
    transform: none !important;
    box-shadow: none !important;
}

.team-box::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(180deg, rgba(6, 14, 23, 0) 46%, rgba(6, 14, 23, .54) 76%, rgba(6, 14, 23, .9) 100%) !important;
    pointer-events: none !important;
}

.team-img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
}

.team-img::after {
    display: none !important;
}

.team-img img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    display: block !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
    filter: saturate(.94) contrast(1.03) !important;
}

.team-box:hover .team-img img {
    transform: none !important;
}

.team-content {
    position: absolute !important;
    z-index: 3 !important;
    inset-inline: 12px !important;
    bottom: 18px !important;
    text-align: center !important;
    color: #fff !important;
}

.team-content h4 {
    margin: 0 0 5px !important;
    color: #fff !important;
    font-size: clamp(15px, 1.5vw, 21px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6) !important;
}

.team-content span {
    display: block !important;
    color: #d9aa43 !important;
    font-size: clamp(12px, .95vw, 15px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .72) !important;
}

.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
    width: 22px !important;
    height: 40px !important;
    margin-top: 8px !important;
    color: #314695 !important;
    background: #fff !important;
    border: 1px solid #e2e6ee !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.team-swiper .swiper-button-next {
    inset-inline-end: -36px !important;
}

.team-swiper .swiper-button-prev {
    inset-inline-start: -36px !important;
}

.team-swiper .swiper-button-next::after,
.team-swiper .swiper-button-prev::after {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-block-start: 2px solid currentColor !important;
    border-inline-end: 2px solid currentColor !important;
    font-size: 0 !important;
}

.team-swiper .swiper-button-next::after {
    transform: rotate(45deg) !important;
    margin-inline-start: -3px !important;
}

.team-swiper .swiper-button-prev::after {
    transform: rotate(-135deg) !important;
    margin-inline-end: -3px !important;
}

html[dir="rtl"] .team-swiper .swiper-button-next::after {
    transform: rotate(-135deg) !important;
    margin-inline: 0 -3px !important;
}

html[dir="rtl"] .team-swiper .swiper-button-prev::after {
    transform: rotate(45deg) !important;
    margin-inline: -3px 0 !important;
}

.team-swiper .swiper-button-next:hover,
.team-swiper .swiper-button-prev:hover {
    color: #314695 !important;
    background: #fff !important;
    transform: none !important;
}

.team-swiper .swiper-button-disabled {
    opacity: .45 !important;
}

.team-swiper .swiper-pagination {
    display: none !important;
}

@media (max-width: 1199.98px) {
    .team-section .container {
        width: min(920px, calc(100% - 54px)) !important;
    }

    .team-box {
        height: 280px !important;
    }
}

@media (max-width: 767.98px) {
    .team-section {
        padding-block: 34px 58px !important;
    }

    .team-section .container {
        width: calc(100% - 38px) !important;
    }

    .team-subtitle {
        margin-bottom: 28px !important;
        font-size: 13px !important;
    }

    .team-box {
        height: 300px !important;
    }

    .team-swiper .swiper-button-next {
        inset-inline-end: -14px !important;
    }

    .team-swiper .swiper-button-prev {
        inset-inline-start: -14px !important;
    }
}

/* Wide team strip and refined arrows */
.team-section .container {
    width: min(1720px, calc(100% - 96px)) !important;
}

.team-swiper {
    padding-inline: 34px !important;
}

.team-box {
    height: clamp(255px, 19vw, 340px) !important;
}

.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
    top: 50% !important;
    width: 34px !important;
    height: 54px !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #314695 !important;
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(49, 70, 149, .14) !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 24px rgba(21, 34, 58, .10) !important;
}

.team-swiper .swiper-button-next {
    inset-inline-end: -18px !important;
}

.team-swiper .swiper-button-prev {
    inset-inline-start: -18px !important;
}

.team-swiper .swiper-button-next::after,
.team-swiper .swiper-button-prev::after {
    width: 11px !important;
    height: 11px !important;
    border-block-start-width: 2px !important;
    border-inline-end-width: 2px !important;
}

.team-swiper .swiper-button-next:hover,
.team-swiper .swiper-button-prev:hover {
    color: #fff !important;
    background: #314695 !important;
    border-color: #314695 !important;
    transform: none !important;
}

.team-swiper .swiper-button-disabled {
    opacity: .35 !important;
}

@media (min-width: 1200px) {
    .team-swiper {
        padding-inline: 44px !important;
    }
}

@media (max-width: 1199.98px) {
    .team-section .container {
        width: min(1040px, calc(100% - 52px)) !important;
    }
}

@media (max-width: 767.98px) {
    .team-section .container {
        width: calc(100% - 26px) !important;
    }

    .team-swiper {
        padding-inline: 28px !important;
    }

    .team-swiper .swiper-button-next {
        inset-inline-end: -8px !important;
    }

    .team-swiper .swiper-button-prev {
        inset-inline-start: -8px !important;
    }
}

/* Larger office gallery */
.office-gallery-section {
    padding-block: clamp(44px, 4.4vw, 70px) !important;
    min-height: 430px !important;
}

.office-gallery-section .container {
    width: min(1380px, calc(100% - 96px)) !important;
    max-width: none !important;
}

.office-gallery-heading {
    margin-bottom: 16px !important;
}

.office-gallery-heading span {
    color: #07172b !important;
    font-size: clamp(28px, 2.35vw, 38px) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

.office-gallery-stage {
    width: 100% !important;
    max-width: none !important;
    padding-top: 12px !important;
}

.office-gallery-swiper {
    padding: 6px 42px 30px !important;
    overflow: visible !important;
}

.office-gallery-swiper .swiper-slide {
    height: auto !important;
}

.office-gallery-swiper .swiper-slide:nth-child(n) {
    margin-inline: 0 !important;
}

.office-gallery-swiper .gallery-image {
    aspect-ratio: 16 / 10.2 !important;
    min-height: clamp(210px, 17vw, 300px) !important;
    padding: 7px !important;
    border-radius: 6px !important;
    box-shadow:
        0 12px 20px rgba(32, 28, 20, .18),
        0 0 0 1px rgba(255, 238, 178, .5) !important;
}

.office-gallery-swiper .gallery-image::before {
    inset: 6px !important;
}

.office-gallery-swiper .gallery-image::after {
    inset-inline: 10px !important;
    bottom: -8px !important;
    height: 10px !important;
}

.office-gallery-swiper .gallery-img {
    border-radius: 3px !important;
}

.office-gallery-swiper .swiper-button-next,
.office-gallery-swiper .swiper-button-prev {
    width: 42px !important;
    height: 42px !important;
    margin-top: 0 !important;
    color: #314695 !important;
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(49, 70, 149, .22) !important;
    box-shadow: 0 10px 22px rgba(20, 32, 54, .18) !important;
}

.office-gallery-swiper .swiper-button-next {
    inset-inline-end: 10px !important;
}

.office-gallery-swiper .swiper-button-prev {
    inset-inline-start: 10px !important;
}

.office-gallery-swiper .swiper-button-next::after,
.office-gallery-swiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.office-gallery-swiper .swiper-button-next:hover,
.office-gallery-swiper .swiper-button-prev:hover {
    color: #fff !important;
    background: #314695 !important;
    box-shadow: 0 14px 28px rgba(20, 32, 54, .24) !important;
}

@media (max-width: 991.98px) {
    .office-gallery-section .container {
        width: calc(100% - 34px) !important;
    }

    .office-gallery-swiper {
        padding-inline: 42px !important;
    }

    .office-gallery-swiper .gallery-image {
        min-height: 250px !important;
    }
}

@media (max-width: 575.98px) {
    .office-gallery-heading span {
        font-size: 30px !important;
    }

    .office-gallery-swiper {
        padding-inline: 10px !important;
        padding-bottom: 68px !important;
    }

    .office-gallery-swiper .gallery-image {
        min-height: 240px !important;
    }
}

/* Balanced gallery sizing on desktop */
@media (min-width: 992px) {
    .office-gallery-section .container {
        width: min(1500px, calc(100% - 88px)) !important;
    }

    .office-gallery-swiper {
        padding-inline: 48px !important;
    }

    .office-gallery-swiper .swiper-wrapper {
        align-items: center !important;
    }

    .office-gallery-swiper .gallery-image {
        width: 100% !important;
        height: 360px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
    }
}

@media (min-width: 1400px) {
    .office-gallery-swiper .gallery-image {
        height: 390px !important;
    }
}

/* Final responsive safety pass */
*, *::before, *::after {
    min-width: 0;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    position: relative;
}

.container,
.container-fluid {
    max-width: 100%;
}

img,
svg,
iframe,
video {
    max-width: 100%;
}

@media (max-width: 1199.98px) {
    .site-navbar .container {
        max-width: 100% !important;
        padding-inline: 18px !important;
    }

    .site-navbar .navbar-collapse {
        max-height: calc(100vh - 92px);
        overflow-y: auto;
    }

    .legal-hero,
    .legal-hero .hero-swiper,
    .legal-hero .swiper-wrapper,
    .legal-hero .swiper-slide {
        min-height: auto !important;
    }

    .legal-hero .swiper-slide {
        padding: 132px 18px 260px !important;
    }

    .hero-slide-content h1,
    .hero-slide-content .description {
        max-width: 100% !important;
    }

    .about-layout,
    .vision-layout,
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .about-copy,
    .vision-copy {
        max-width: 100% !important;
        justify-self: stretch !important;
    }

    .about-visual,
    .vision-visual {
        width: 100%;
        justify-content: center !important;
        overflow: hidden;
    }

    .about-section .about-image,
    .vision-section .about-image {
        transform-origin: center !important;
    }

    .contact-form-card,
    .contact-map-card {
        order: initial !important;
        width: 100% !important;
    }

    .counter-panel {
        width: min(100%, 920px) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .team-section .container,
    .office-gallery-section .container {
        width: calc(100% - 34px) !important;
        max-width: none !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --site-gutter: 16px;
    }

    body {
        font-size: 15px;
    }

    .section-padding {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .site-navbar {
        padding-block: 8px !important;
    }

    .site-navbar .logo {
        height: 56px !important;
    }

    .legal-hero .swiper-slide {
        padding: 112px 16px 330px !important;
    }

    .hero-slide-content h1 {
        font-size: clamp(30px, 10vw, 42px) !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }

    .hero-slide-content .description {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 22px !important;
    }

    .legal-hero .hero-action {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .legal-hero .hero-primary,
    .legal-hero .hero-secondary {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
        font-size: 14px !important;
    }

    .hero-feature-bar {
        width: calc(100% - 24px) !important;
        bottom: 0 !important;
    }

    .hero-feature {
        min-height: 72px;
    }

    .about-layout,
    .vision-layout {
        padding-inline: 0 !important;
    }

    .about-section .container,
    .vision-section .container,
    .contact-section .container {
        padding-inline: 16px !important;
    }

    .about-copy h2,
    .vision-section .heading h2,
    .team-section h2,
    .testimonial-heading h2 {
        font-size: clamp(28px, 8vw, 36px) !important;
        line-height: 1.35 !important;
    }

    .about-desc,
    .about-desc p,
    .vision-section .description {
        font-size: 15px !important;
        line-height: 1.9 !important;
    }

    .about-highlights,
    .vision-section .info {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-highlights .box,
    .vision-section .info .box {
        width: 100% !important;
        min-height: auto !important;
        padding: 18px !important;
    }

    .about-section .about-image,
    .vision-section .about-image {
        width: 460px !important;
        max-width: none !important;
        transform: scale(.66) !important;
        margin-block: -98px !important;
    }

    .vision-visual,
    .about-visual {
        min-height: 392px !important;
    }

    .contact-section {
        padding-block: 52px !important;
    }

    .contact-form-card {
        padding: 30px 18px 24px !important;
        min-height: auto !important;
    }

    .contact-heading h3 {
        font-size: 27px !important;
    }

    .contact-field input {
        height: 50px !important;
    }

    .contact-field textarea {
        min-height: 110px !important;
    }

    .contact-map-surface {
        min-height: 360px !important;
    }

    .contact-office-card {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: calc(100% - 24px) !important;
        margin: 220px auto 14px !important;
    }

    .counter-section {
        padding-block: 54px !important;
    }

    .counter-panel {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        padding: 34px 22px !important;
        gap: 26px !important;
    }

    .counter-section .box .text {
        white-space: normal !important;
    }

    .office-gallery-swiper,
    .team-swiper,
    .testimonial-swiper {
        overflow: hidden !important;
    }

    .office-gallery-swiper {
        padding-inline: 8px !important;
        padding-bottom: 66px !important;
    }

    .office-gallery-swiper .gallery-image {
        height: auto !important;
        min-height: 220px !important;
        aspect-ratio: 4 / 3 !important;
    }

    .office-gallery-swiper .swiper-button-next,
    .office-gallery-swiper .swiper-button-prev,
    .team-swiper .swiper-button-next,
    .team-swiper .swiper-button-prev {
        top: auto !important;
        bottom: 8px !important;
        transform: none !important;
    }

    .office-gallery-swiper .swiper-button-next,
    .team-swiper .swiper-button-next {
        inset-inline-end: calc(50% - 50px) !important;
    }

    .office-gallery-swiper .swiper-button-prev,
    .team-swiper .swiper-button-prev {
        inset-inline-start: calc(50% - 50px) !important;
    }

    .team-box {
        max-width: 100% !important;
    }

    .footer,
    .footer .line {
        text-align: center !important;
        justify-content: center !important;
    }

    .phone-static-icon,
    .whatsapp {
        width: 54px !important;
        height: 54px !important;
        inset-inline-start: 14px !important;
        inset-inline-end: auto !important;
    }

    .phone-static-icon {
        bottom: 88px !important;
    }

    .whatsapp {
        bottom: 22px !important;
    }
}

@media (max-width: 420px) {
    .about-section .about-image,
    .vision-section .about-image {
        transform: scale(.58) !important;
        margin-block: -126px !important;
    }

    .vision-visual,
    .about-visual {
        min-height: 330px !important;
    }

    .hero-feature h2 {
        font-size: 14px !important;
    }

    .hero-feature p {
        font-size: 12px !important;
    }

    .contact-office-card {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
}

/* Global site font */
html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.navbar,
.dropdown-menu {
    font-family: 'Cairo', sans-serif !important;
}

body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-family: 'Cairo', sans-serif;
}

/* Mobile home hero/header correction */
@media (max-width: 767.98px) {
    .site-navbar {
        min-height: 76px !important;
        height: auto !important;
        padding: 8px 0 !important;
        background: rgba(3, 23, 41, .98) !important;
        border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    }

    .site-navbar > .container {
        min-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        padding-inline: 14px 64px !important;
    }

    html[dir="rtl"] .site-navbar > .container {
        padding-right: 64px !important;
        padding-left: 14px !important;
    }

    .site-navbar .phone-icon {
        display: none !important;
    }

    .site-navbar .legal-brand {
        position: static !important;
        width: auto !important;
        max-width: calc(100% - 6px) !important;
        height: 58px !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        margin: 0 !important;
        color: #d8b15a !important;
    }

    .site-navbar .legal-brand-mark {
        order: 1 !important;
        flex: 0 0 50px !important;
        width: 50px !important;
        height: 50px !important;
        display: block !important;
    }

    .site-navbar .legal-brand-logo {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .site-navbar .legal-brand-text {
        order: 2 !important;
        min-width: 0 !important;
        max-width: calc(100vw - 142px) !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: start !important;
        line-height: 1.25 !important;
    }

    html[dir="rtl"] .site-navbar .legal-brand-text {
        align-items: flex-end !important;
        text-align: end !important;
    }

    .site-navbar .legal-brand-text strong {
        max-width: 100% !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .site-navbar .legal-brand-text small {
        max-width: 100% !important;
        margin-top: 3px !important;
        color: rgba(255, 255, 255, .74) !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    .site-navbar .navbar-toggler {
        position: absolute !important;
        top: 50% !important;
        inset-inline-end: 14px !important;
        transform: translateY(-50%) !important;
        width: 42px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .06) !important;
        border: 1px solid rgba(255, 255, 255, .24) !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        z-index: 1002 !important;
    }

    html[dir="rtl"] .site-navbar .navbar-toggler {
        right: 14px !important;
        left: auto !important;
    }

    .site-navbar .navbar-toggler i {
        color: #fff !important;
        font-size: 19px !important;
        line-height: 1 !important;
    }

    .site-navbar .navbar-collapse {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        inset-inline: 14px !important;
        height: auto !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
        padding: 12px !important;
        background: rgba(3, 23, 41, .98) !important;
        border: 1px solid rgba(216, 177, 90, .18) !important;
        border-radius: 8px !important;
        box-shadow: 0 18px 34px rgba(0, 0, 0, .22) !important;
    }

    .site-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .site-navbar .navbar-nav {
        position: static !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .site-navbar .nav-link {
        height: auto !important;
        min-height: 44px !important;
        justify-content: flex-start !important;
        padding: 11px 8px !important;
        color: rgba(255, 255, 255, .9) !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    html[dir="rtl"] .site-navbar .nav-link {
        justify-content: flex-end !important;
        text-align: right !important;
    }

    .site-navbar .navbar-contact {
        width: 100% !important;
        min-height: 46px !important;
        margin: 10px 0 0 !important;
        justify-content: center !important;
    }

    .legal-hero {
        min-height: 100svh !important;
        background: #061d34 !important;
        overflow: hidden !important;
    }

    .legal-hero .hero-swiper,
    .legal-hero .swiper-wrapper,
    .legal-hero .swiper-slide {
        min-height: 100svh !important;
    }

    .legal-hero .swiper-slide {
        display: flex !important;
        align-items: center !important;
        padding: 96px 16px 286px !important;
    }

    .hero-slide-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 0 !important;
        text-align: center !important;
    }

    .hero-mark {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .hero-mark-logo {
        width: 88px !important;
        height: 76px !important;
        max-width: 26vw !important;
        object-fit: contain !important;
    }

    .hero-mark span {
        width: 48px !important;
    }

    .hero-slide-content h1 {
        display: block !important;
        color: #fff !important;
        font-size: clamp(27px, 8.2vw, 39px) !important;
        line-height: 1.28 !important;
        margin-bottom: 14px !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, .28) !important;
    }

    .hero-slide-content .description {
        display: block !important;
        color: rgba(255, 255, 255, .9) !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin: 0 auto 18px !important;
        max-width: 34em !important;
    }

    .legal-hero .hero-action {
        gap: 9px !important;
    }

    .legal-hero .hero-primary,
    .legal-hero .hero-secondary {
        min-height: 48px !important;
        font-size: 13px !important;
    }

    .hero-watermark {
        display: none !important;
    }

    .hero-swiper-pagination {
        display: none !important;
    }

    .hero-feature-bar {
        width: calc(100% - 24px) !important;
        max-width: 430px !important;
        bottom: 12px !important;
        grid-template-columns: 1fr !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .hero-feature {
        min-height: 58px !important;
        padding: 9px 14px !important;
        gap: 10px !important;
    }

    .hero-feature-icon {
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        background-size: 30px 30px !important;
    }

    .hero-feature-icon.has-custom-icon img {
        width: 32px !important;
        height: 32px !important;
    }

    .hero-feature h2 {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 2px !important;
    }

    .hero-feature p {
        font-size: 11px !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 1 !important;
    }
}

@media (max-width: 420px) {
    .legal-hero .swiper-slide {
        padding-bottom: 268px !important;
    }

    .hero-mark-logo {
        width: 78px !important;
        height: 68px !important;
    }

    .hero-feature {
        min-height: 55px !important;
    }
}

/* Final hero title readability adjustment */
.legal-hero .hero-slide-content h1 {
    font-weight: 600 !important;
    text-shadow: 0 5px 18px rgba(0, 0, 0, .26) !important;
}

.legal-hero .hero-slide-content .description {
    display: none !important;
}

/* Desktop header spacing: keep the nav clear of the brand and CTA at 100% zoom. */
@media (min-width: 1651px) {
    .site-navbar .navbar-nav {
        inset-inline-start: 420px !important;
        inset-inline-end: 320px !important;
        gap: clamp(24px, 1.85vw, 38px) !important;
    }
}

@media (min-width: 1501px) and (max-width: 1650.98px) {
    .site-navbar .legal-brand {
        width: 285px !important;
        transform: scale(.92) !important;
        transform-origin: top right !important;
    }

    html[dir="ltr"] .site-navbar .legal-brand {
        transform-origin: top left !important;
    }

    .site-navbar .navbar-nav {
        inset-inline-start: 330px !important;
        inset-inline-end: 270px !important;
        gap: 20px !important;
    }

    .site-navbar .nav-link {
        font-size: 15px !important;
    }

    .site-navbar .navbar-contact {
        width: 180px !important;
        font-size: 14px !important;
    }
}
