:root {
    --ink: #171611;
    --muted: #6f6a5d;
    --line: rgba(214, 174, 91, 0.22);
    --line-strong: rgba(214, 174, 91, 0.48);
    --surface: #e8dfd1;
    --surface-soft: #f5efe4;
    --paper: #fff9ed;
    --forest: #07100d;
    --forest-2: #17372e;
    --plum: #392313;
    --copper: #b9783d;
    --gold: #d8b35a;
    --whatsapp: #148c53;
    --shadow: 0 24px 70px rgba(5, 8, 6, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Manrope, "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .floating-contact {
    opacity: 0;
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

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

img {
    display: block;
}

a {
    color: inherit;
}

.container,
.header-inner,
.footer-grid,
.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 14px;
    right: 14px;
    left: 14px;
    z-index: 90;
}

.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(5, 8, 6, 0.94), rgba(24, 29, 23, 0.88));
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    min-width: 190px;
}

.brand-mark span,
.hero h1,
.section-head h2,
.card-body h3,
.contact-details h3,
.site-footer h2,
.site-footer h3 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0;
}

.brand-mark span,
.hero h1,
.section-head h2 {
    font-family: Cinzel, Georgia, "Times New Roman", serif;
}

[dir="rtl"] .brand-mark span,
[dir="rtl"] .hero h1,
[dir="rtl"] .section-head h2,
[dir="rtl"] .card-body h3,
[dir="rtl"] .contact-details h3,
[dir="rtl"] .site-footer h2,
[dir="rtl"] .site-footer h3 {
    font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

.brand-mark span {
    color: var(--gold);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
}

.brand-mark small {
    color: rgba(255, 247, 228, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    position: relative;
    color: rgba(255, 247, 228, 0.86);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--gold);
    transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav .language-link {
    color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.header-cta,
.btn,
.text-link,
.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.1;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta {
    padding: 0 17px;
    color: #140f08;
    background: linear-gradient(135deg, var(--gold), var(--copper));
    box-shadow: 0 16px 34px rgba(184, 120, 61, 0.28);
}

.btn {
    gap: 8px;
    padding: 13px 18px;
    border: 1px solid transparent;
}

.btn-primary {
    color: #140f08;
    background: linear-gradient(135deg, var(--gold), var(--copper));
    box-shadow: 0 18px 38px rgba(184, 120, 61, 0.24);
}

.btn-secondary {
    color: #fff6e2;
    background: rgba(7, 16, 13, 0.78);
    border-color: var(--line-strong);
}

.btn-whatsapp {
    color: #fff;
    background: var(--whatsapp);
}

.header-cta:hover,
.btn:hover,
.text-link:hover,
.map-link:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #090d0a;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--gold);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 82svh;
    display: flex;
    align-items: flex-end;
    padding: 148px 0 66px;
    overflow: hidden;
    color: #fff;
    background: var(--forest);
}

.page-hero {
    min-height: 560px;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.95) contrast(1.05) brightness(0.88);
}

.home-hero .hero-bg {
    object-position: center 8%;
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 6, 5, 0.62) 0%, rgba(7, 16, 13, 0.48) 40%, rgba(86, 51, 21, 0.12) 78%),
        linear-gradient(180deg, rgba(3, 6, 5, 0.02) 0%, rgba(3, 6, 5, 0.52) 100%);
}

[dir="rtl"] .hero-overlay {
    background:
        linear-gradient(270deg, rgba(3, 6, 5, 0.62) 0%, rgba(7, 16, 13, 0.48) 40%, rgba(86, 51, 21, 0.12) 78%),
        linear-gradient(180deg, rgba(3, 6, 5, 0.02) 0%, rgba(3, 6, 5, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
    text-transform: none;
}

.hero h1 {
    margin: 0;
    font-size: 5rem;
    line-height: 0.96;
    font-weight: 800;
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.hero-lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 247, 228, 0.86);
    font-size: 1.2rem;
    line-height: 1.7;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.hero-metrics span,
.intro-tile,
.service-card,
.staff-card,
.package-card,
.video-card,
.review-card,
.contact-details,
.map-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-metrics span {
    padding: 10px 12px;
    color: rgba(255, 247, 228, 0.92);
    background: rgba(7, 16, 13, 0.46);
    border-color: rgba(216, 179, 90, 0.34);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 800;
}

.section {
    padding: 92px 0;
}

.section.alt {
    background: var(--surface-soft);
}

.section.dark {
    color: #fff;
    background: linear-gradient(135deg, #050806 0%, #111b16 54%, #2d1d10 100%);
}

.section.dark .section-head p,
.section.dark .card-body p,
.section.dark li {
    color: rgba(255, 247, 228, 0.74);
}

.section.dark .section-head h2 {
    color: #fff;
}

.section.dark .staff-card,
.section.dark .service-card,
.section.dark .package-card,
.section.dark .video-card,
.section.dark .review-card {
    background: rgba(255, 249, 237, 0.07);
    border-color: rgba(216, 179, 90, 0.28);
    box-shadow: 0 22px 66px rgba(0, 0, 0, 0.26);
}

.section.dark .card-body h3 {
    color: var(--gold);
}

.section.dark .text-link {
    color: #f3d58e;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.compact {
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
    color: var(--forest);
    font-size: 3rem;
    line-height: 1.06;
    font-weight: 700;
}

.section-head p:not(.eyebrow) {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

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

.intro-tile {
    min-height: 150px;
    padding: 22px;
    background: var(--paper);
    box-shadow: 0 18px 50px rgba(5, 8, 6, 0.12);
}

.intro-tile strong {
    display: block;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.intro-tile p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.story-media {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.story-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.story-copy p {
    color: var(--muted);
    line-height: 1.78;
}

.service-grid,
.staff-grid,
.package-grid,
.video-grid,
.review-grid {
    display: grid;
    gap: 18px;
}

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

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

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

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

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

.service-card,
.staff-card,
.package-card,
.video-card,
.review-card {
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 18px 56px rgba(5, 8, 6, 0.16);
}

.service-card img,
.staff-card img,
.package-media img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.42s ease, filter 0.22s ease;
}

.service-card img {
    height: 230px;
}

.staff-card img {
    height: 500px;
    object-position: center top;
}

.package-media {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.package-media img {
    height: 100%;
}

.package-media span {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    padding: 8px 11px;
    color: #130f08;
    background: linear-gradient(135deg, var(--gold), var(--copper));
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 850;
}

.service-card:hover img,
.staff-card:hover img,
.package-card:hover img {
    transform: scale(1.035);
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin: 0;
    color: var(--forest);
    font-size: 1.45rem;
    line-height: 1.18;
    font-weight: 700;
}

.card-body p {
    margin: 11px 0 0;
    color: var(--muted);
    line-height: 1.68;
}

.card-body ul {
    margin: 16px 0 22px;
    padding: 0;
    list-style: none;
}

.card-body li {
    position: relative;
    padding-inline-start: 18px;
    margin-bottom: 10px;
    color: var(--muted);
    line-height: 1.55;
}

.card-body li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--copper);
}

.text-link {
    justify-content: flex-start;
    margin-top: 18px;
    min-height: 0;
    color: var(--plum);
}

.text-link::after {
    content: "";
    width: 30px;
    height: 2px;
    margin-inline-start: 10px;
    background: var(--copper);
}

.short-frame {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #050806;
}

.short-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card {
    background: var(--paper);
}

.video-card h3 {
    margin: 0;
    padding: 16px;
    color: var(--forest);
    font-size: 1rem;
}

.review-card {
    margin: 0;
    padding: 24px;
}

.stars {
    color: var(--copper);
    font-size: 1rem;
    margin-bottom: 12px;
}

.review-card blockquote {
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
}

.review-card figcaption {
    margin-top: 18px;
    color: var(--plum);
    font-weight: 850;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact-section {
    color: #fff;
    background: linear-gradient(135deg, #050806 0%, #12261f 58%, #3a2415 100%);
}

.contact-section .section-head h2,
.contact-section .section-head p {
    color: #fff;
}

.contact-section .eyebrow {
    color: var(--gold);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 24px;
    align-items: stretch;
}

.contact-details,
.map-panel {
    background: rgba(255, 249, 237, 0.08);
    border-color: rgba(216, 179, 90, 0.25);
    box-shadow: 0 24px 66px rgba(0, 0, 0, 0.26);
}

.contact-details {
    padding: 28px;
}

.contact-details h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.8rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.map-link {
    margin-top: 20px;
    color: #fff;
    justify-content: flex-start;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.map-panel {
    min-height: 430px;
    overflow: hidden;
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 55;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[dir="rtl"] .floating-contact {
    right: auto;
    left: 18px;
}

.float-btn {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.float-btn svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.float-whatsapp {
    background: var(--whatsapp);
}

.float-call {
    background: var(--plum);
}

.site-footer {
    padding: 76px 0 26px;
    color: rgba(255, 255, 255, 0.76);
    background: #050806;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.9fr 0.9fr;
    gap: 34px;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
}

.site-footer h2 {
    font-size: 1.8rem;
}

.site-footer h3 {
    font-size: 1.1rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        justify-content: stretch;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 100px 22px 30px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        background: linear-gradient(160deg, rgba(5, 8, 6, 0.98) 0%, rgba(17, 27, 22, 0.98) 58%, rgba(45, 29, 16, 0.98) 100%);
        transition: opacity 0.22s ease, visibility 0.22s ease;
        z-index: 95;
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        width: min(100%, 430px);
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: rgba(255, 247, 228, 0.92);
        background: rgba(255, 249, 237, 0.08);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
        font-size: clamp(1.03rem, 3.4vw, 1.22rem);
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a.is-active {
        color: #140f08;
        background: linear-gradient(135deg, var(--gold), var(--copper));
        border-color: rgba(216, 179, 90, 0.72);
    }

    .site-nav .language-link {
        color: var(--gold);
        background: rgba(255, 249, 237, 0.12);
        border-color: var(--line-strong);
    }

    .nav-toggle {
        position: relative;
        z-index: 100;
        display: block;
        justify-self: end;
    }

    .header-cta {
        display: none;
    }

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

    .staff-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .staff-card {
        display: grid;
        grid-template-columns: 0.82fr 1fr;
        align-items: stretch;
    }

    .staff-card img {
        height: 100%;
        min-height: 360px;
    }

    .story-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .map-panel {
        min-height: 360px;
    }

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

@media (max-width: 760px) {
    .container,
    .header-inner,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        top: 0;
        right: 0;
        left: 0;
    }

    .header-inner {
        width: 100%;
        min-height: 66px;
        border-radius: 0;
        border-inline: 0;
        gap: 12px;
        padding: 10px 14px;
    }

    .brand-mark {
        min-width: 0;
    }

    .brand-mark span {
        font-size: 1.35rem;
    }

    .brand-mark small {
        max-width: 180px;
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .site-nav {
        padding: 86px 14px 24px;
    }

    .site-nav a {
        width: min(100%, 390px);
        min-height: 50px;
        padding: 12px 16px;
        font-size: 1.04rem;
    }

    .hero {
        min-height: 78svh;
        padding: 112px 0 38px;
    }

    .page-hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 3.1rem;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.62;
    }

    .button-row,
    .section-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-metrics {
        gap: 8px;
    }

    .hero-metrics span {
        font-size: 0.78rem;
        padding: 8px 10px;
    }

    .section {
        padding: 66px 0;
    }

    .section-head h2 {
        font-size: 2.25rem;
    }

    .intro-rail,
    .service-grid,
    .staff-grid,
    .package-grid,
    .video-grid,
    .review-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .story-media img {
        height: 360px;
    }

    .staff-card {
        display: block;
    }

    .staff-card img {
        height: auto;
        max-height: none;
    }

    .service-card img,
    .package-media {
        height: 220px;
    }

    .map-panel {
        min-height: 320px;
    }

    .contact-details {
        padding: 22px;
    }

    .floating-contact {
        right: 12px;
        bottom: 12px;
    }

    [dir="rtl"] .floating-contact {
        left: 12px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }
}
