:root {
    --cream: #f6f0e8;
    --cream-2: #efe6db;
    --navy: #083b68;
    --navy-2: #0d4c81;
    --text: #14344f;
    --muted: #6a7683;
    --line: #d7ccbf;
    --card: #fffaf4;
    --shadow: 0 18px 40px rgba(26, 45, 68, .12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fbf7f2 0%, #f5ede4 100%);
}

.page-shell.is-rtl {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.page-shell.is-rtl .hero-title,
.page-shell.is-rtl .section-title,
.page-shell.is-rtl .quick-link-card__title {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
}

.page-shell.is-rtl .hero-content,
.page-shell.is-rtl .section-label,
.page-shell.is-rtl .hero-copy {
    text-align: right;
}

.page-shell.is-rtl .lang-switch {
    direction: ltr;
}

.page-shell {
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(180deg, #f8f2ea 0%, #f3ebe0 100%);
    overflow: hidden;
}

.hero-wrap {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(248, 242, 234, .98) 0%, rgba(248, 242, 234, .96) 34%, rgba(248, 242, 234, .58) 50%, rgba(248, 242, 234, .02) 64%),
        var(--hero-bg, url('bg-en.png')) center center/cover no-repeat;
}

.page-shell.is-rtl .hero-wrap {
    background:
        linear-gradient(270deg, rgba(248, 242, 234, .98) 0%, rgba(248, 242, 234, .96) 34%, rgba(248, 242, 234, .58) 50%, rgba(248, 242, 234, .02) 64%),
        var(--hero-bg, url('bg-en.png')) center center/cover no-repeat;
}

.top-bar {
    position: absolute;
    inset: 28px 36px auto 36px;
    z-index: 3;
}

.brand-logo {
    width: 170px;
    max-width: 100%;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .05));
}

.lang-switch {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 8px;
    display: inline-flex;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.lang-switch .btn {
    border-radius: 999px;
    padding: .65rem 1.4rem;
    font-weight: 700;
    border: 0;
    color: var(--navy);
}

.lang-switch .btn.active {
    background: var(--navy);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 150px 0 70px;
}

.eyebrow {
    color: var(--navy);
    letter-spacing: .28em;
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 1.3rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.03em;
    margin: 0 0 1.25rem;
    color: #133247;
    max-width: 580px;
}

.hero-divider {
    width: 140px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--navy), #7b9ab5);
    margin: 0 0 1.2rem;
}

.hero-ar {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #13395d;
}

.hero-copy {
    max-width: 620px;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 2rem;
}

.cta-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #133247;
    margin: 0 0 1rem;
    letter-spacing: .01em;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(17, 46, 77, .12);
    width: fit-content;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 2rem;
}

.btn-main,
.btn-ghost {
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

.btn-main {
    background: var(--navy);
    color: #fff;
    border: none;
}

.btn-main:hover {
    background: #072f53;
    color: #fff
}

.btn-ghost {
    background: #f8f6f3;
    color: var(--navy);
    border: 2px solid #cfc2b5;
}

.btn-ghost:hover {
    background: #fff;
    color: var(--navy)
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: .5rem;
}

.stat-card {
    min-width: 180px;
    background: rgba(255, 251, 246, .9);
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.stat-value {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #133247;
}

.stat-label {
    font-size: .95rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 600;
}

.branches-section {
    padding: 42px 0 30px;
    background: linear-gradient(180deg, #f3ebe0 0%, #f8f3ec 100%);
}

.branches-slider {
    position: relative;
}

.branches-slider__nav {
    position: absolute;
    right: 0;
    top: -72px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.page-shell.is-rtl .branches-slider__nav {
    right: auto;
    left: 0;
}

.branches-slider__btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(17, 46, 77, .12);
    background: rgba(255, 250, 244, .92);
    color: var(--navy);
    box-shadow: 0 10px 22px rgba(26, 45, 68, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
}

.branches-slider__btn:hover {
    background: #fff;
    transform: translateY(-1px);
}

.branches-slider__track {
    display: grid;
    grid-auto-flow: column;
    /* default (desktop): 3 items visible */
    grid-auto-columns: calc((100% - (18px * 2)) / 3);
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding: 2px;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .branches-slider__track {
        /* tablet: 2 items visible */
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 575.98px) {
    .branches-slider__track {
        /* mobile: 1 item visible */
        grid-auto-columns: 100%;
    }
}

.branches-slider__track::-webkit-scrollbar {
    height: 10px;
}

.branches-slider__track::-webkit-scrollbar-thumb {
    background: rgba(8, 59, 104, .18);
    border-radius: 999px;
}

.branches-slider__track::-webkit-scrollbar-track {
    background: rgba(17, 46, 77, .06);
    border-radius: 999px;
}

.branches-slider__slide {
    scroll-snap-align: start;
}

.branches-slider__slide .branch-card {
    height: 100%;
}

.section-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .28em;
    color: var(--navy);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    margin: 0;
    color: #133247;
}

.section-title-ar {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: right;
    margin: 0;
    font-weight: 800;
    color: #133247;
}

.title-divider {
    width: 2px;
    min-height: 82px;
    background: #baa995;
    opacity: .9;
    margin: auto;
}

.branch-card {
    background: rgba(255, 250, 244, .93);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(17, 46, 77, .06);
    height: 100%;
}

.branch-image {
    height: 265px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.branch-body {
    padding: 22px 22px 24px;
    position: relative;
}

.branch-logo-badge {
    position: absolute;
    top: -60px;
    left: 24px;
    /* width: 100%; */
    height: 92px;
    border-radius: 22px;
    /* background: var(--navy); */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 25px #133247;
    /* padding: 1px; */
    border: 4px solid #f7efe6;
    border-radius: 8px;
}

.branch-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* filter: brightness(0) invert(1) */
}

.branch-name {
    margin: 22px 0 8px;
    font-size: 1.9rem;
    color: #133247;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.branch-name i {
    color: var(--navy);
    font-size: 1.2em;
    line-height: 1;
}

.branch-meta,
.branch-phone,
.branch-desc {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
}

.branch-detail i {
    width: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
    color: var(--navy);
    opacity: .9;
}

.branch-contact {
    color: var(--muted);
}

.branch-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn-branch-primary,
.btn-branch-secondary {
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: .2s ease;
}

.btn-branch-primary {
    background: var(--navy);
    color: #fff;
}

.btn-branch-primary:hover {
    background: #062d50;
    color: #fff
}

.btn-branch-secondary {
    background: #f2ece4;
    border: 1px solid #d8ccbf;
    color: var(--navy);
}

.btn-branch-secondary:hover {
    background: #fff;
    color: var(--navy)
}

.footer-bar {
    margin: 24px auto 36px;
    background: linear-gradient(90deg, #062d50, #0a4371);
    color: #fff;
    border-radius: 34px;
    padding: 22px 26px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.footer-bar::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    color: #fff;
}

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

.footer-link:hover {
    color: inherit;
}

.footer-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .55);
    outline-offset: 4px;
    border-radius: 20px;
}

.footer-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-label {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.footer-sub {
    opacity: .9;
    font-size: 0.8rem;
    margin-top: 2px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    position: relative;
    z-index: 1;
}

.footer-legal-link {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
}

.footer-legal-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-legal-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .55);
    outline-offset: 3px;
    border-radius: 10px;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, .55);
}

.footer-divider {
    width: 1px;
    background: rgba(255, 255, 255, .28);
    align-self: stretch;
}
.quick-links-section{
    position: relative;
    padding: 34px 0 22px;
    background: linear-gradient(180deg, #f3ebe0 0%, #f6efe7 100%);
}

.quick-link-card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 255px;
    height: 100%;
    padding: 24px 22px;
    border-radius: 28px;
    text-decoration: none;
    overflow: hidden;
    background: rgba(255, 250, 244, .92);
    border: 1px solid rgba(17, 46, 77, .08);
    box-shadow: 0 18px 40px rgba(26, 45, 68, .10);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.quick-link-card::before{
    content: "";
    position: absolute;
    inset: 0;
    opacity: .95;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,0));
}

.quick-link-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 24px 46px rgba(26, 45, 68, .16);
    border-color: rgba(17, 46, 77, .14);
}

.quick-link-card__top{
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7a8793;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.quick-link-card__title{
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.05;
    margin: 0 0 12px;
    color: #133247;
    position: relative;
    z-index: 1;
}

.quick-link-card__text{
    font-size: .98rem;
    line-height: 1.75;
    color: #6a7683;
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
    max-width: 95%;
}

.quick-link-card__arrow{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 12px 22px rgba(8, 59, 104, .18);
    position: relative;
    z-index: 1;
    transition: transform .25s ease, background .25s ease;
}

.quick-link-card:hover .quick-link-card__arrow{
    transform: translate(4px, -4px);
    background: var(--navy-2);
}

.quick-link-card--menu{
    background: linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%);
}

.quick-link-card--loyalty{
    background: linear-gradient(180deg, #fffaf4 0%, #f2ebe4 100%);
}

.quick-link-card--catering{
    background: linear-gradient(180deg, #fffaf4 0%, #f5ede4 100%);
}

.quick-link-card--delivery{
    background: linear-gradient(180deg, #fffaf4 0%, #efe7dc 100%);
}

.quick-link-card__icon-wrap{
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(8, 59, 104, 0.08);
    color: var(--navy);
    font-size: 1.7rem;
    box-shadow: inset 0 0 0 1px rgba(8, 59, 104, 0.06);
    position: relative;
    z-index: 1;
}

.quick-link-card:hover .quick-link-card__icon-wrap{
    background: rgba(8, 59, 104, 0.12);
    transform: translateY(-1px);
    transition: all .25s ease;
}

@media (max-width: 991.98px){
    .quick-link-card{
        min-height: 220px;
    }

    .quick-link-card__title{
        font-size: 1.7rem;
    }
}

@media (max-width: 767.98px){
    .quick-links-section{
        padding: 24px 0 12px;
    }

    .quick-link-card{
        min-height: 190px;
        border-radius: 22px;
        padding: 20px 18px;
    }

    .quick-link-card__title{
        font-size: 1.45rem;
    }

    .quick-link-card__text{
        font-size: .92rem;
        line-height: 1.6;
    }

    .quick-link-card__arrow{
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 1199.98px) {
    .hero-wrap {
        min-height: auto;
        background-position: 68% center
    }

    .page-shell.is-rtl .hero-wrap {
        background-position: 32% center
    }

    .hero-content {
        padding-top: 160px;
        padding-bottom: 50px
    }

    .title-divider {
        display: none
    }

    .section-title-ar {
        text-align: left
    }
}

@media (max-width: 991.98px) {
    .top-bar {
        inset: 20px 18px auto 18px
    }

    .brand-logo {
        width: 140px
    }

    .hero-wrap {
        background:
            linear-gradient(180deg, rgba(248, 242, 234, .96) 0%, rgba(248, 242, 234, .9) 38%, rgba(248, 242, 234, .5) 56%, rgba(248, 242, 234, .15) 100%),
            var(--hero-bg, url('bg-en.png')) center center/cover no-repeat;
    }

    .hero-content {
        padding-top: 125px
    }

    .stat-card {
        min-width: calc(50% - 10px)
    }

    .footer-divider {
        display: none
    }

    .footer-item {
        padding: 10px 0
    }
}

@media (max-width: 767.98px) {
    .hero-wrap {
        border-radius: 0 0 26px 26px
    }

    .lang-switch .btn {
        padding: .55rem 1rem;
        font-size: .95rem
    }

    .hero-title {
        max-width: 100%
    }

    .hero-copy {
        font-size: 1rem;
        line-height: 1.7
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch
    }

    .btn-main,
    .btn-ghost {
        justify-content: center;
        width: 100%
    }

    .stat-card {
        min-width: 100%
    }

    .branch-image {
        height: 230px
    }

    .branch-name {
        font-size: 1.55rem
    }

    .section-title,
    .section-title-ar {
        text-align: left
    }

    .footer-bar {
        border-radius: 24px;
        padding: 18px
    }

    .footer-label {
        font-size: 1.1rem
    }

    .footer-sub {
        font-size: .92rem
    }

    .branches-slider__nav {
        position: static;
        justify-content: flex-end;
        margin-bottom: 14px;
    }

    .page-shell.is-rtl .branches-slider__nav {
        justify-content: flex-start;
    }
}