/* ========== VARIABLES ========== */
:root,
[data-theme="dark"] {
    --ink-950: #060b14;
    --ink-900: #0a1220;
    --ink-850: #0e1830;
    --ink-800: #132441;
    --ink-700: #1a3055;
    --gold: #c9a24b;
    --gold-light: #e8cf8f;
    --gold-dark: #9c7c33;
    --sand-100: #f5f0e6;
    --sand-200: #d4c9b0;
    --sand-300: #b8a88a;
    --white: #ffffff;
    --text-primary: #f5f0e6;
    --text-secondary: #d4c9b0;
    --text-muted: #b8a88a;
    --bg-body: #060b14;
    --bg-card: #0e1830;
    --bg-elevated: #132441;
    --bg-header: rgba(6,11,20,.88);
    --border-soft: rgba(201,162,75,.15);
    --border-mid: rgba(201,162,75,.28);
    --hero-grad-1: rgba(20,40,80,.5);
    --hero-grad-2: rgba(156,124,51,.08);
    --shadow: 0 12px 40px rgba(0,0,0,.35);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: .35s cubic-bezier(.4,0,.2,1);
    --toggle-icon: "☀";
}

[data-theme="light"] {
    --ink-950: #f7f4ef;
    --ink-900: #f0ebe3;
    --ink-850: #ffffff;
    --ink-800: #f5f0e8;
    --ink-700: #e8e0d4;
    --gold: #b8923a;
    --gold-light: #9c7c33;
    --gold-dark: #7a5f24;
    --sand-100: #1a1520;
    --sand-200: #3d3548;
    --sand-300: #5c5366;
    --white: #1a1520;
    --text-primary: #1a1520;
    --text-secondary: #3d3548;
    --text-muted: #5c5366;
    --bg-body: #f7f4ef;
    --bg-card: #ffffff;
    --bg-elevated: #f5f0e8;
    --bg-header: rgba(247,244,239,.92);
    --border-soft: rgba(156,124,51,.18);
    --border-mid: rgba(156,124,51,.32);
    --hero-grad-1: rgba(201,162,75,.08);
    --hero-grad-2: rgba(156,124,51,.06);
    --shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* ثيم أخضر سعودي - احترافي ومشرق */
[data-theme="saudi"] {
    --ink-950: #0d291a;
    --ink-900: #123824;
    --ink-850: #194c31;
    --ink-800: #215e3d;
    --ink-700: #2b7a4f;
    --gold: #d4af37;
    --gold-light: #f2d98d;
    --gold-dark: #b3922f;
    --sand-100: #ffffff;
    --sand-200: #ffffff;
    --sand-300: #e2e8f0;
    --white: #ffffff;
    --text-primary: #ffffff; /* جعل النص الأساسي أبيض ناصع بالكامل */
    --text-secondary: #f1f5f9; /* جعل النص الثانوي أبيض ناعم وواضح جداً */
    --text-muted: #cbd5e1; /* تحسين وضوح النصوص الباهتة */
    --bg-body: #0d291a;
    --bg-card: #153e28;
    --bg-elevated: #1d4e34;
    --bg-header: rgba(13,41,26,.88);
    --border-soft: rgba(212,175,55,.22);
    --border-mid: rgba(212,175,55,.4);
    --hero-grad-1: rgba(33,94,61,.45);
    --hero-grad-2: rgba(212,175,55,.12);
    --shadow: 0 12px 40px rgba(0,0,0,.25);
}
/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

button, input, select {
    font-family: 'Arial', sans-serif;
}

.container {
    width: min(1140px, 92%);
    margin-inline: auto;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--ink-950);
    box-shadow: 0 4px 20px rgba(201,162,75,.35);
}

    .btn-gold:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 10px 32px rgba(201,162,75,.55);
    }

.btn-ghost {
    background: transparent;
    color: var(--gold-light);
    border: 1.5px solid rgba(201,162,75,.45);
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

    .btn-ghost:hover {
        background: rgba(201,162,75,.15);
        border-color: var(--gold);
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 6px 20px rgba(201,162,75,.2);
    }

.btn-small {
    padding: 8px 18px;
    font-size: .85rem;
}

/* ========== HEADER ========== */
#siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition);
}

    #siteHeader.scrolled {
        background: var(--bg-header);
        box-shadow: var(--shadow);
    }

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--sand-100);
}

    .brand span {
        color: var(--gold-light);
    }

.brand-mark {
    width: 34px;
    height: 34px;
}

.main-nav {
    display: flex;
    gap: 22px;
}

    .main-nav a {
        /*  font-size: .9rem;*/
        font-weight: bold;
        color: var(--sand-200);
        transition: color .25s;
        position: relative;
    }

        .main-nav a:hover {
            color: var(--gold-light);
        }

        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 1.5px;
            background: var(--gold);
            transition: width .3s;
        }

        .main-nav a:hover::after {
            width: 100%;
        }

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

/* زر تبديل الوضع */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border-mid);
    background: var(--bg-elevated);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

    .theme-toggle:hover {
        border-color: var(--gold);
        background: rgba(201,162,75,.12);
        transform: scale(1.06);
    }

    .theme-toggle .icon-sun,
    .theme-toggle .icon-moon,
    .theme-toggle .icon-saudi {
        display: none;
    }

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-saudi {
    display: block;
}

[data-theme="saudi"] .theme-toggle .icon-moon {
    display: block;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

    .burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--gold-light);
        border-radius: 2px;
        transition: var(--transition);
    }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ink-900);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--sand-100);
    }

.mobile-close {
    position: absolute;
    top: 22px;
    left: 22px;
    background: none;
    border: none;
    color: var(--gold-light);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 100px 0 40px;
    min-height: auto;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, var(--hero-grad-1) 0%, transparent 55%), radial-gradient(ellipse at 80% 60%, var(--hero-grad-2) 0%, transparent 50%), var(--bg-body);
}

.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
}

.hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 500;
}

.hero-copy h1 {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 2.85rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
    color: var(--white);
}

    .hero-copy h1 em {
        font-style: normal;
        color: var(--gold-light);
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-copy .lead {
    font-size: 1.02rem;
    color: var(--sand-200);
    max-width: 480px;
    margin-bottom: 22px;
    opacity: .9;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 38px;
    flex-wrap: wrap;
}

.hero-stat b {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gold-light);
    font-variant-numeric: tabular-nums;
}

.hero-stat span {
    font-size: .8rem;
    color: var(--sand-300);
}

/* ===== HERO VISUAL: صور + نجمة خلفية ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

.hero-images-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-star {
    position: absolute;
    inset: -12%;
    width: 124%;
    height: 124%;
    animation: spin 28s linear infinite;
    opacity: .75;
    z-index: 1;
    pointer-events: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,162,75,.22);
    z-index: 0;
    pointer-events: none;
}

.ring-1 {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    animation: pulse-ring 4s ease-in-out infinite;
}

.ring-2 {
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border-color: rgba(201,162,75,.1);
    animation: pulse-ring 4s ease-in-out infinite 1.2s;
}

@keyframes pulse-ring {
    0%, 100% {
        opacity: .45;
        transform: scale(1);
    }

    50% {
        opacity: .9;
        transform: scale(1.03);
    }
}

.glow-beam {
    position: absolute;
    width: 55%;
    height: 55%;
    top: 22%;
    left: 22%;
    background: radial-gradient(circle, rgba(201,162,75,.16) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glow 5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        opacity: .45;
        transform: scale(1);
    }

    to {
        opacity: .9;
        transform: scale(1.12);
    }
}

.hero-images {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,.5);
    border: 2px solid rgba(201,162,75,.35);
    transition: box-shadow .45s ease;
    will-change: transform;
}

    .hero-img:hover {
        z-index: 10;
        box-shadow: 0 16px 48px rgba(0,0,0,.55), 0 0 0 2px rgba(201,162,75,.5);
    }

    .hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .hero-img:hover img {
        transform: scale(1.06);
    }

/* حركات الطفو للشاشات الكبيرة */
@keyframes float-left-img {
    0%, 100% {
        transform: translateY(0) rotate(-7deg);
    }

    50% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

@keyframes float-right-img {
    0%, 100% {
        transform: translateY(0) rotate(7deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* 1. الصورة الأولى (اليسرى) - للابتوب */
.hero-img-1 {
    width: 48%;
    height: 85%;
    top: 5%;
    left: 0%;
    z-index: 4;
    animation: float-left-img 5.5s ease-in-out infinite;
}

    .hero-img-1:hover {
        animation-play-state: paused;
        transform: rotate(0deg) scale(1.04) !important;
    }

/* 2. الصورة الثانية (اليمنا) - للابتوب */
.hero-img-2 {
    width: 48%;
    height: 85%;
    top: 5%;
    right: 0%;
    z-index: 5;
    animation: float-right-img 4.8s ease-in-out infinite 0.4s;
}

    .hero-img-2:hover {
        animation-play-state: paused;
        transform: rotate(0deg) scale(1.04) !important;
    }

/* إخفاء الصورة الثالثة */
.hero-img-3 {
    display: none !important;
}

/* ================= تعديلات دقيقة ونهائية للموبايل لمنع التداخل والتلاصق ================= */
@media (max-width: 768px) {
    .hero-visual {
        min-height: 340px;
        padding: 0;
    }

    .hero-images-wrap {
        width: 100%;
        max-width: 100%;
        height: 300px;
    }

    .hero-img-1 {
        width: 47% !important;
        height: 80% !important;
        top: 10% !important;
        left: 2% !important;
        right: auto !important;
        animation: none !important;
        transform: rotate(-4deg) !important;
    }

    .hero-img-2 {
        width: 47% !important;
        height: 80% !important;
        top: 10% !important;
        right: 2% !important;
        left: auto !important;
        animation: none !important;
        transform: rotate(4deg) !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-img-1,
    .hero-img-2 {
        animation: none !important;
    }
}

/* Search widget */
.search-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    border-radius: 16px;
    padding: 16px 18px;
    backdrop-filter: blur(12px);
    align-items: flex-end;
    box-shadow: var(--shadow);
}

    .search-widget .field {
        flex: 1;
        min-width: 140px;
    }

    .search-widget label {
        display: block;
        font-size: .78rem;
        color: var(--sand-300);
        margin-bottom: 5px;
    }

    .search-widget select,
    .search-widget input {
        width: 100%;
        padding: 10px 12px;
        background: var(--ink-800);
        border: 1px solid rgba(201,162,75,.2);
        border-radius: var(--radius-sm);
        color: var(--sand-100);
        font-size: .9rem;
        outline: none;
        transition: border-color .25s;
    }

        .search-widget select:focus,
        .search-widget input:focus {
            border-color: var(--gold);
        }

    .search-widget .btn {
        flex-shrink: 0;
    }

/* ========== TRUST BAR ========== */
.trust-bar {
    background: var(--ink-850);
    border-block: 1px solid rgba(201,162,75,.12);
    padding: 18px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.trust-item b {
    display: block;
    font-size: 1.15rem;
    color: var(--gold-light);
    font-weight: 800;
}

.trust-item span {
    font-size: .8rem;
    color: var(--sand-300);
}

/* ========== SECTIONS ========== */
.section-pad {
    padding: 56px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 36px;
}

    .section-head .eyebrow {
        font-size: .85rem;
        color: var(--gold);
        margin-bottom: 8px;
        font-weight: 500;
        padding-top: 30px;
    }

    .section-head h2 {
        font-family: 'Arial', sans-serif;
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--white);
    }

    .section-head p {
        color: var(--sand-200);
        max-width: 560px;
        margin-inline: auto;
        font-size: .98rem;
        opacity: .88;
    }

/* ========== PACKAGES ========== */
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pkg-card {
    background: var(--ink-850);
    border: 1.5px solid rgba(201,162,75,.18);
    border-radius: var(--radius);
    padding: 26px 22px;
    position: relative;
    transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s ease, border-color .3s ease, background .3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

    .pkg-card:hover {
        border-color: var(--gold);
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(201,162,75,.4), 0 0 40px rgba(201,162,75,.15);
    }

        .pkg-card:hover .pkg-price b {
            color: var(--gold-light);
            text-shadow: 0 0 20px rgba(201,162,75,.35);
        }

        .pkg-card:hover .btn {
            transform: scale(1.04);
        }

    .pkg-card.featured {
        background: linear-gradient(160deg, var(--ink-800), var(--ink-850));
        border-color: rgba(201,162,75,.45);
        box-shadow: 0 8px 32px rgba(201,162,75,.12);
    }

        .pkg-card.featured:hover {
            border-color: var(--gold-light);
            box-shadow: 0 22px 55px rgba(0,0,0,.4), 0 0 0 1px rgba(232,207,143,.5), 0 0 50px rgba(201,162,75,.22);
        }

.pkg-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink-950);
    font-size: .75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
}

.pkg-corner {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    opacity: .6;
}

.pkg-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.pkg-desc {
    font-size: .88rem;
    color: var(--sand-300);
    margin-bottom: 14px;
    flex-grow: 0;
}

.pkg-price {
    margin-bottom: 16px;
}

    .pkg-price b {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--gold-light);
    }

    .pkg-price span {
        font-size: .85rem;
        color: var(--sand-300);
        margin-right: 4px;
    }

.pkg-features {
    margin-bottom: 20px;
    flex-grow: 1;
}

    .pkg-features li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: .88rem;
        color: var(--sand-200);
        margin-bottom: 8px;
    }

        .pkg-features li svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            color: var(--gold);
            margin-top: 3px;
        }

.pkg-card .btn {
    width: 100%;
}

/* ========== VIDEO SECTION ========== */
.video-section {
    background: var(--ink-900);
    padding-top: 48px;
    padding-bottom: 48px;
}

.video-wrap {
    max-width: 820px;
    margin-inline: auto;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(201,162,75,.3);
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
    background: var(--ink-800);
}

    .video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-note {
    text-align: center;
    margin-top: 16px;
    font-size: .88rem;
    color: var(--sand-300);
    opacity: .8;
}

/* ========== WHY US ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why-card {
    background: var(--ink-850);
    border: 1.5px solid rgba(201,162,75,.12);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s ease, border-color .3s ease;
    cursor: pointer;
}

    .why-card:hover {
        border-color: var(--gold);
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(201,162,75,.35), 0 0 30px rgba(201,162,75,.12);
    }

        .why-card:hover .why-icon {
            background: rgba(201,162,75,.28);
            transform: scale(1.12);
            box-shadow: 0 0 20px rgba(201,162,75,.25);
        }

        .why-card:hover h3 {
            color: var(--gold-light);
        }

.why-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,162,75,.12);
    border-radius: 12px;
    color: var(--gold);
    margin-bottom: 14px;
    transition: transform .35s ease, background .3s ease, box-shadow .3s ease;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.why-card p {
    font-size: .88rem;
    color: var(--sand-300);
    line-height: 1.6;
}

/* ========== STEPS ========== */
.steps-section {
    background: var(--ink-900);
}

.steps-line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    position: relative;
}

.step-item {
    text-align: center;
    padding: 18px 10px;
    background: var(--ink-850);
    border-radius: var(--radius);
    border: 1.5px solid rgba(201,162,75,.1);
    transition: transform .35s cubic-bezier(.34,1.4,.64,1), box-shadow .35s ease, border-color .3s ease;
    cursor: pointer;
}

    .step-item:hover {
        border-color: var(--gold);
        transform: translateY(-8px) scale(1.04);
        box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 0 1px rgba(201,162,75,.35), 0 0 28px rgba(201,162,75,.12);
    }

        .step-item:hover .step-num {
            color: var(--gold-light);
            text-shadow: 0 0 18px rgba(201,162,75,.4);
            transform: scale(1.1);
        }

        .step-item:hover h4 {
            color: var(--gold-light);
        }

.step-num {
    font-size: 1.4rem;
    font-weight: 800;
    transition: color .3s ease, transform .35s ease, text-shadow .3s ease;
    color: var(--gold);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.step-item h4 {
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
}

.step-item p {
    font-size: .82rem;
    color: var(--sand-300);
    line-height: 1.55;
}

/* ========== TESTIMONIALS ========== */
.testi-wrap {
    max-width: 680px;
    margin-inline: auto;
}

.testi-track {
    overflow: hidden;
    border-radius: var(--radius);
}

.testi-slides {
    display: flex;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testi-slide {
    min-width: 100%;
    background: var(--ink-850);
    border: 1px solid rgba(201,162,75,.15);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
}

.testi-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testi-slide p {
    font-size: 1.05rem;
    color: var(--sand-100);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--ink-950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
}

.testi-person b {
    display: block;
    font-size: .95rem;
    color: var(--white);
}

.testi-person span {
    font-size: .8rem;
    color: var(--sand-300);
}

.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.testi-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink-800);
    border: 1px solid rgba(201,162,75,.25);
    color: var(--gold-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .testi-arrow:hover {
        background: rgba(201,162,75,.15);
        border-color: var(--gold);
    }

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

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(201,162,75,.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

    .testi-dot.active {
        background: var(--gold);
        width: 22px;
        border-radius: 4px;
    }

/* ========== FAQ ========== */
.faq-list {
    max-width: 700px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid rgba(201,162,75,.12);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    color: var(--sand-100);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    transition: color .25s;
}

    .faq-q:hover {
        color: var(--gold-light);
    }

    .faq-q .plus {
        font-size: 1.3rem;
        color: var(--gold);
        transition: transform .3s;
        flex-shrink: 0;
        margin-right: 12px;
    }

.faq-item.open .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 16px;
}

.faq-a p {
    font-size: .92rem;
    color: var(--sand-300);
    line-height: 1.7;
}

/* ========== FINAL CTA ========== */
.final-cta {
    padding: 56px 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(201,162,75,.08) 0%, transparent 65%), var(--bg-body);
}

    .final-cta h2 {
        font-family: 'Arial', sans-serif;
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin-bottom: 10px;
        color: var(--white);
    }

    .final-cta p {
        color: var(--sand-200);
        margin-bottom: 22px;
        font-size: 1.02rem;
    }

    .final-cta .hero-cta {
        justify-content: center;
    }

/* ========== FOOTER ========== */
footer {
    background: var(--ink-900);
    border-top: 1px solid rgba(201,162,75,.12);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand p {
    font-size: .88rem;
    color: var(--sand-300);
    margin: 14px 0 18px;
    line-height: 1.7;
    max-width: 280px;
}

.social-row {
    display: flex;
    gap: 10px;
}

    .social-row a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid rgba(201,162,75,.25);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold-light);
        transition: var(--transition);
    }

        .social-row a:hover {
            background: rgba(201,162,75,.15);
            border-color: var(--gold);
        }

.footer-col h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: .88rem;
    color: var(--sand-300);
}

.footer-col ul a:hover {
    color: var(--gold-light);
}

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

    .newsletter input {
        flex: 1;
        padding: 9px 12px;
        background: var(--ink-800);
        border: 1px solid rgba(201,162,75,.2);
        border-radius: var(--radius-sm);
        color: var(--sand-100);
        font-size: .88rem;
        outline: none;
    }

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(201,162,75,.1);
    font-size: .8rem;
    color: var(--sand-300);
    opacity: .75;
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ========== RESPONSIVE ========== */

@media (max-width: 1100px) {
    .container {
        width: min(1140px, 94%);
    }

    .pkg-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .pkg-card {
        padding: 22px 16px;
    }

    .pkg-price b {
        font-size: 1.55rem;
    }
}

@media (max-width: 980px) {
    .nav-wrap {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .hero {
        padding: 90px 0 32px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero-copy .lead {
        max-width: 520px;
        margin-inline: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 360px;
    }

    .hero-images-wrap {
        max-width: 400px;
        height: 360px;
        margin-inline: auto;
    }

    .search-widget {
        flex-wrap: wrap;
    }

        .search-widget .field {
            min-width: calc(50% - 10px);
            flex: 1 1 calc(50% - 10px);
        }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .pkg-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
        gap: 18px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .steps-line {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .step-item:last-child {
        grid-column: 1 / -1;
        max-width: 280px;
        margin-inline: auto;
    }

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

    .video-wrap {
        max-width: 100%;
    }

    .section-pad {
        padding: 48px 0;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .nav-wrap {
        height: 56px;
    }

    .brand {
        font-size: 1.25rem;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
    }

    .header-actions .btn-small {
        padding: 7px 14px;
        font-size: .8rem;
    }

    .hero {
        padding: 78px 0 24px;
    }

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

    .hero-copy .lead {
        font-size: .95rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .hero-cta .btn {
            width: 100%;
            justify-content: center;
        }

    .hero-stats {
        gap: 16px;
        justify-content: space-around;
    }

    .hero-stat b {
        font-size: 1.25rem;
    }

    .hero-stat span {
        font-size: .75rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-images-wrap {
        max-width: 300px;
        height: 290px;
    }

    .hero-img-1 {
        width: 58%;
        height: 72%;
        top: 14%;
        right: 4%;
    }

    .hero-img-2 {
        width: 46%;
        height: 38%;
    }

    .hero-img-3 {
        width: 50%;
        height: 40%;
    }

    .search-widget {
        flex-direction: column;
        padding: 14px;
        gap: 10px;
    }

        .search-widget .field {
            min-width: 100%;
            flex: 1 1 100%;
        }

        .search-widget .btn {
            width: 100%;
        }

    .trust-bar {
        padding: 14px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .trust-item b {
        font-size: 1rem;
    }

    .trust-item span {
        font-size: .72rem;
    }

    .section-pad {
        padding: 40px 0;
    }

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

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

        .section-head p {
            font-size: .9rem;
        }

    .pkg-grid {
        max-width: 100%;
    }

    .pkg-card {
        padding: 22px 18px;
    }

        .pkg-card h3 {
            font-size: 1.08rem;
        }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .why-card {
        padding: 18px 16px;
    }

    .steps-line {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-item {
        text-align: right;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 2px 14px;
        padding: 14px 16px;
        align-items: start;
    }

        .step-item:last-child {
            max-width: none;
            grid-column: auto;
        }

    .step-num {
        grid-row: 1 / 3;
        font-size: 1.3rem;
        align-self: center;
        margin-bottom: 0;
    }

    .step-item h4 {
        margin-bottom: 2px;
    }

    .step-item p {
        font-size: .85rem;
    }

    .testi-slide {
        padding: 24px 18px;
    }

        .testi-slide p {
            font-size: .95rem;
        }

    .faq-q {
        font-size: .95rem;
        padding: 14px 0;
    }

    .final-cta {
        padding: 40px 0;
    }

        .final-cta h2 {
            font-size: 1.45rem;
        }

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

        .final-cta .btn {
            width: 100%;
        }

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

    .footer-brand p {
        max-width: none;
    }

    .newsletter {
        flex-direction: column;
    }

        .newsletter .btn {
            width: 100%;
        }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .video-frame {
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .hero-copy h1 {
        font-size: 1.5rem;
    }

    .hero-images-wrap {
        max-width: 260px;
        height: 250px;
    }

    .hero-img {
        border-radius: 12px;
        border-width: 1.5px;
    }

    .hero-visual {
        min-height: 270px;
    }

    .trust-item b {
        font-size: .92rem;
    }

    .btn {
        padding: 11px 20px;
        font-size: .9rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: right;
    }

    .hero-visual {
        order: 0;
        min-height: 320px;
    }

    .hero-images-wrap {
        max-width: 320px;
        height: 300px;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .hero-copy .lead {
        margin-inline: 0;
    }
}

/* ========== LIGHT MODE TUNING ========== */
[data-theme="light"] .hero-stars {
    opacity: 0.25;
}

[data-theme="light"] .rotating-star {
    opacity: 0.45;
}

[data-theme="light"] .ring {
    border-color: rgba(156,124,51,.2);
}

[data-theme="light"] .pkg-card,
[data-theme="light"] .why-card,
[data-theme="light"] .step-item,
[data-theme="light"] .testi-slide,
[data-theme="light"] .faq-item {
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
}

    [data-theme="light"] .pkg-card.featured {
        box-shadow: 0 8px 28px rgba(156,124,51,.12);
    }

    [data-theme="light"] .pkg-card:hover,
    [data-theme="light"] .why-card:hover,
    [data-theme="light"] .step-item:hover {
        box-shadow: 0 18px 45px rgba(0,0,0,.1), 0 0 0 1px rgba(156,124,51,.35), 0 0 30px rgba(201,162,75,.12);
    }

[data-theme="light"] .hero-img {
    border-color: rgba(156,124,51,.4);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

[data-theme="light"] .btn-ghost {
    color: var(--gold-dark);
    border-color: rgba(156,124,51,.4);
}

[data-theme="light"] .brand {
    color: var(--text-primary);
}

[data-theme="light"] .mobile-menu {
    background: var(--bg-body);
}

[data-theme="light"] footer {
    border-top-color: var(--border-soft);
}

/* ========== SAUDI GREEN THEME TUNING ========== */
[data-theme="saudi"] .hero-stars {
    opacity: 0.7;
}

[data-theme="saudi"] .rotating-star {
    opacity: 0.8;
}

[data-theme="saudi"] .ring {
    border-color: rgba(201,162,75,.28);
}

[data-theme="saudi"] .pkg-card:hover,
[data-theme="saudi"] .why-card:hover,
[data-theme="saudi"] .step-item:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(201,162,75,.45), 0 0 40px rgba(6,120,60,.2);
}

[data-theme="saudi"] .btn-gold {
    background: linear-gradient(135deg, #e8cf8f, #c9a24b, #9c7c33);
    color: #04140c;
}

[data-theme="saudi"] .trust-bar {
    background: var(--ink-850);
    border-color: rgba(201,162,75,.15);
}

[data-theme="saudi"] .mobile-menu {
    background: var(--bg-body);
}

[data-theme="saudi"] .brand span {
    color: var(--gold-light);
}

.pkg-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
}

    .pkg-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

.pkg-card:hover .pkg-img img {
    transform: scale(1.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info-card {
    background: var(--ink-850);
    border: 1.5px solid rgba(201,162,75,.18);
    border-radius: var(--radius);
    padding: 26px 24px;
}

    .contact-info-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 18px;
    }

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

    .contact-info-row .ci-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(201,162,75,.12);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .contact-info-row b {
        display: block;
        font-size: .92rem;
        color: var(--sand-100);
        margin-bottom: 2px;
    }

    .contact-info-row span {
        font-size: .86rem;
        color: var(--sand-300);
    }

.contact-form-card {
    background: var(--ink-850);
    border: 1.5px solid rgba(201,162,75,.18);
    border-radius: var(--radius);
    padding: 30px 28px;
}

    .contact-form-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 4px;
    }

    .contact-form-card > p {
        font-size: .9rem;
        color: var(--sand-300);
        margin-bottom: 22px;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

    .form-row .form-field {
        margin-bottom: 0;
    }

.form-field {
    margin-bottom: 14px;
}

    .form-field label {
        display: block;
        font-size: .82rem;
        color: var(--sand-300);
        margin-bottom: 6px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        width: 100%;
        padding: 11px 14px;
        background: var(--ink-800);
        border: 1px solid rgba(201,162,75,.2);
        border-radius: var(--radius-sm);
        color: var(--sand-100);
        font-size: .9rem;
        outline: none;
        transition: border-color .25s;
        font-family: 'Arial', sans-serif;
    }

    .form-field textarea {
        resize: vertical;
        min-height: 100px;
    }

        .form-field input:focus,
        .form-field select:focus,
        .form-field textarea:focus {
            border-color: var(--gold);
        }

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid rgba(201,162,75,.18);
    height: 100%;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* ===== تذكرة ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: stretch; /* بدل start */
}

.contact-info-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
}

    .contact-info-card h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 18px;
    }

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

    .contact-info-row .ci-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: rgba(201,162,75,.12);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .contact-info-row b {
        display: block;
        font-size: .92rem;
        color: var(--text);
        margin-bottom: 2px;
    }

    .contact-info-row span {
        font-size: .86rem;
        color: var(--text-muted);
    }

.contact-form-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
}

    .contact-form-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 4px;
    }

    .contact-form-card > p {
        font-size: .9rem;
        color: var(--text-muted);
        margin-bottom: 22px;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-field {
    margin-bottom: 14px;
}

    .form-field label {
        display: block;
        font-size: .82rem;
        color: var(--text-muted);
        margin-bottom: 6px;
    }

    .form-field input, .form-field select, .form-field textarea {
        width: 100%;
        padding: 11px 14px;
        background: var(--ink-800);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        color: var(--text);
        font-size: .9rem;
        outline: none;
        font-family: inherit;
    }

    .form-field textarea {
        resize: vertical;
        min-height: 100px;
    }

        .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
            border-color: var(--gold);
        }

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border);
    height: 100%;
}

    .map-frame iframe {
        width: 100%;
        height: 100%;
        border: none;
    }




/* ========== نموذج حجز عصري ومتجاوب ========== */
.contact-form-card.booking-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(15, 76, 58, .14);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 54, 39, .10);
}

.booking-card::before {
    position: absolute;
    top: -100px;
    left: -85px;
    width: 220px;
    height: 220px;
    content: '';
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 164, 73, .16), transparent 66%);
    pointer-events: none;
}

.booking-card-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 24px 25px 18px;
    border-bottom: 1px solid #e8eee9;
    background: linear-gradient(135deg, #f8fcf9 0%, #eef7f1 100%);
}

.booking-head-icon {
    display: grid;
    flex: 0 0 auto;
    width: 45px;
    height: 45px;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a3528, #176548);
    box-shadow: 0 9px 18px rgba(15, 76, 58, .19);
}

    .booking-head-icon svg {
        width: 23px;
        height: 23px;
    }

.booking-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #a17525;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15px;
}

.contact-form-card.booking-card h3 {
    margin: 0;
    color: #10261c;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
}

.contact-form-card.booking-card > p {
    display: none;
}

.booking-card-head p {
    margin: 5px 0 0;
    color: #64736a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    padding: 13px 25px;
    list-style: none;
    border-bottom: 1px solid #edf1ee;
    background: #fff;
}

    .booking-steps li {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #8a968f;
        font-size: 10px;
        font-weight: 800;
        white-space: nowrap;
    }

        .booking-steps li::before {
            position: absolute;
            z-index: 0;
            top: 50%;
            right: -50%;
            width: 100%;
            height: 1px;
            content: '';
            background: #e2ebe5;
        }

        .booking-steps li:first-child::before {
            display: none;
        }

    .booking-steps span, .booking-steps small {
        position: relative;
        z-index: 1;
    }

    .booking-steps span {
        display: grid;
        width: 21px;
        height: 21px;
        place-items: center;
        border: 1px solid #d8e5dc;
        border-radius: 50%;
        background: #fff;
        font-size: 10px;
        font-style: normal;
    }

    .booking-steps small {
        font-size: 10px;
    }

    .booking-steps .is-current {
        color: #0f4c3a;
    }

        .booking-steps .is-current span {
            color: #fff;
            border-color: #0f4c3a;
            background: #0f4c3a;
            box-shadow: 0 4px 9px rgba(15, 76, 58, .18);
        }

.booking-form {
    padding: 18px 25px 22px;
}

.form-section {
    min-width: 0;
    margin: 0;
    padding: 0 0 16px;
    border: 0;
}

    .form-section + .form-section {
        padding-top: 15px;
        border-top: 1px solid #edf1ee;
    }

    .form-section legend {
        width: 100%;
        margin-bottom: 11px;
        color: #183a2a;
        font-size: 12px;
        font-weight: 900;
    }

.form-section--optional legend::after {
    margin-right: 5px;
    color: #90a098;
    content: '(اختياري)';
    font-size: 10px;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-card .form-field {
    min-width: 0;
    margin: 0;
}

.booking-card .form-field--wide {
    grid-column: 1 / -1;
}

.booking-card .form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    color: #526259;
    font-size: 11px;
    font-weight: 800;
}

.field-icon {
    display: inline-grid;
    width: 16px;
    height: 16px;
    place-items: center;
    color: #0f4c3a;
}

    .field-icon svg {
        width: 15px;
        height: 15px;
    }

.booking-card .form-field em {
    margin-right: auto;
    color: #9aa69f;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
}

.booking-card .form-field input,
.booking-card .form-field select {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    color: #173226;
    border: 1px solid #dce7df;
    border-radius: 11px;
    background: #fbfdfb;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.booking-card .form-field select {
    cursor: pointer;
}

.booking-card .form-field input::placeholder {
    color: #a2ada6;
    font-weight: 600;
}

.booking-card .form-field input:focus,
.booking-card .form-field select:focus {
    border-color: #4f9c77;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(79, 156, 119, .12);
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 1px 0 15px;
    color: #67756d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
    cursor: pointer;
}

    .terms-check input {
        flex: 0 0 auto;
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: #0f4c3a;
        cursor: pointer;
    }

    .terms-check a {
        color: #0f4c3a;
        font-weight: 900;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.booking-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 49px;
    padding: 0 16px;
    color: #fff;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a3528, #176548);
    box-shadow: 0 12px 22px rgba(15, 76, 58, .20);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .booking-submit:hover {
        box-shadow: 0 15px 26px rgba(15, 76, 58, .28);
        transform: translateY(-1px);
    }

    .booking-submit svg {
        width: 18px;
        height: 18px;
    }

.booking-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 11px 0 0;
    color: #849189;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

    .booking-note svg {
        width: 13px;
        height: 13px;
        color: #6c9d82;
    }

@media (max-width: 900px) {
    .contact-grid {
        gap: 20px;
    }

    .contact-info-card {
        order: 2;
    }

    .booking-card {
        order: 1;
    }
}

@media (max-width: 560px) {
    .contact-form-card.booking-card {
        border-radius: 17px;
    }

    .booking-card-head {
        padding: 19px 16px 15px;
    }

    .booking-head-icon {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

        .booking-head-icon svg {
            width: 20px;
            height: 20px;
        }

    .contact-form-card.booking-card h3 {
        font-size: 18px;
    }

    .booking-card-head p {
        font-size: 11px;
    }

    .booking-steps {
        gap: 3px;
        padding: 11px 14px;
    }

        .booking-steps li {
            gap: 4px;
            font-size: 9px;
        }

        .booking-steps small {
            font-size: 9px;
        }

    .booking-form {
        padding: 15px 14px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .booking-card .form-field--wide {
        grid-column: auto;
    }

    .form-section {
        padding-bottom: 14px;
    }

        .form-section + .form-section {
            padding-top: 13px;
        }

    .booking-card .form-field input,
    .booking-card .form-field select {
        height: 47px;
        font-size: 13px;
    }

    .booking-submit {
        min-height: 51px;
        font-size: 13px;
    }
}

/* ========== تذكرة مطابقة للمرجع ========== */
.ticket-overlay {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    background: rgba(4, 17, 12, .75);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

    .ticket-overlay.open,
    .ticket-overlay.show,
    .ticket-overlay[style*="flex"],
    .ticket-overlay[style*="display: flex"],
    .ticket-overlay[style*="display:block"] {
        opacity: 1;
        pointer-events: auto;
    }

.ticket {
    --tg: #0e523d;
    --tg-deep: #073126;
    --tcream: #fffdf8;
    --tgold: #d5aa4e;
    --tink: #18241f;
    --tline: #e6e8e3;
    direction: rtl;
    width: min(100%, 440px);
    overflow: hidden;
    color: var(--tink);
    border: 2px solid rgba(123, 221, 166, .55);
    border-radius: 23px;
    background: var(--tcream);
    box-shadow: 0 25px 70px rgba(0,0,0,.37);
    font-family: 'Tajawal', Arial, sans-serif;
    zoom: 0.7;
}

.th-top {
    position: relative;
    min-height: 151px;
    padding: 20px 23px 16px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(132deg, var(--tg-deep), var(--tg));
}

.th-bus-illustration {
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: 49%;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
}

.th-brand-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
}

.th-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.th-logo-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #f3ce77;
    border: 1px solid rgba(243,206,119,.4);
    border-radius: 10px;
    background: rgba(255,255,255,.07);
}

.th-code-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    margin-top: 31px;
}

.th-code-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e3c576;
    font-size: 12px;
    font-weight: 800;
}

    .th-code-caption i {
        display: block;
        width: 58px;
        height: 1px;
        background: #d4b76a;
        opacity: .85;
    }

.th-code {
    direction: ltr;
    color: #fff;
    font-family: ui-monospace, 'Cascadia Mono', monospace;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1.7px;
    line-height: 1;
}

.th-body {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding: 0 20px;
}

.th-route-card {
    margin-top: -2px;
    padding: 15px 15px 11px;
    border-radius: 18px 18px 14px 14px;
    background: var(--tcream);
}

.th-route-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.th-route-title {
    min-width: 0;
    overflow: hidden;
    color: #18231f;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-trip-type {
    flex: 0 0 auto;
    padding: 4px 8px;
    color: var(--tg);
    border: 1px solid #c6ddcf;
    border-radius: 999px;
    background: #f4fbf6;
    font-size: 9px;
    font-weight: 800;
}

.th-route-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #59685f;
    font-size: 9px;
    font-weight: 800;
}

    .th-route-line span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

    .th-route-line i {
        position: relative;
        flex: 1;
        height: 2px;
        border-top: 2px dashed #d9bc73;
    }

        .th-route-line i::after {
            position: absolute;
            top: -5px;
            left: 50%;
            width: 8px;
            height: 8px;
            content: '';
            border: 2px solid var(--tgold);
            border-radius: 50%;
            background: var(--tcream);
            transform: translateX(-50%);
        }

.route-pin {
    display: block;
    width: 10px;
    height: 10px;
    border: 3px solid var(--tgold);
    border-radius: 50% 50% 50% 0;
    background: #fff;
    transform: rotate(-45deg);
}

.th-info-list {
    margin: 0 14px;
}

.th-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    border-bottom: 1px solid var(--tline);
}

.th-row--hidden {
    display: none;
}

.th-row--price {
    border-bottom: 0;
}

.th-lbl {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #3d4b44;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.th-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--tg);
    border-radius: 9px;
    background: #edf5ef;
}

    .th-icon svg {
        width: 16px;
        height: 16px;
    }

.th-val {
    overflow: hidden;
    color: #202a25;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-price {
    color: var(--tg);
    font-size: 17px;
}

.th-qr-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 103px 1fr;
    align-items: center;
    gap: 15px;
    margin: 4px 20px 0;
    padding: 10px 12px;
    border-top: 1px dashed #bdcabe;
    border-bottom: 1px dashed #bdcabe;
    background: #fcfefa;
}

    .th-qr-wrap::before, .th-qr-wrap::after {
        position: absolute;
        top: -9px;
        width: 17px;
        height: 17px;
        content: '';
        border-radius: 50%;
        background: var(--tcream);
    }

    .th-qr-wrap::before {
        right: -9px;
    }

    .th-qr-wrap::after {
        left: -9px;
    }

#ticketQrImg {
    display: block;
    width: 88px;
    height: 88px;
    padding: 3px;
    border: 1px solid #e3e8e3;
    border-radius: 7px;
    background: #fff;
}

.th-qr-copy strong {
    display: block;
    color: var(--tg);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
}

.th-qr-copy span {
    display: block;
    margin-top: 3px;
    color: #728078;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.45;
}

#barcodeBars {
    display: none;
}

.th-actions {
    display: flex;
    gap: 10px;
    padding: 14px 20px 17px;
}

.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 44px;
    padding: 0 12px;
    color: #fff;
    border: 1px solid var(--tg);
    border-radius: 11px;
    background: var(--tg) !important;
    box-shadow: 0 8px 16px rgba(14,82,61,.14);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
}

    .th-btn svg {
        width: 18px;
        height: 18px;
    }

.th-btn-out {
    color: var(--tg);
    border-color: var(--tg);
    background: transparent !important;
    box-shadow: none;
}

.th-btn:hover {
    background: var(--tg-deep) !important;
}

.th-btn-out:hover {
    color: var(--tg-deep);
    background: #f2f8f4 !important;
}

@media (max-width: 475px) {
    .ticket-overlay {
        padding: 10px;
    }

    .ticket {
        width: 100%;
        border-radius: 20px;
    }

    .th-top {
        min-height: 138px;
        padding: 17px 17px 14px;
    }

    .th-logo {
        font-size: 18px;
    }

    .th-code-wrap {
        margin-top: 26px;
    }

    .th-code {
        font-size: 27px;
    }

    .th-body {
        padding-inline: 13px;
    }

    .th-route-card {
        padding: 13px 12px 9px;
    }

    .th-route-title {
        font-size: 16px;
    }

    .th-info-list {
        margin-inline: 8px;
    }

    .th-row {
        min-height: 34px;
    }

    .th-lbl {
        font-size: 11px;
    }

    .th-icon {
        width: 25px;
        height: 25px;
    }

    .th-val {
        font-size: 11px;
    }

    .th-qr-wrap {
        grid-template-columns: 83px 1fr;
        gap: 10px;
        margin-inline: 13px;
        padding: 8px;
    }

    #ticketQrImg {
        width: 71px;
        height: 71px;
    }

    .th-qr-copy strong {
        font-size: 12px;
    }

    .th-actions {
        padding: 12px 13px 14px;
    }
}

@media print {
    @page {
        size: 85mm 155mm;
        margin: 0;
    }

    html, body {
        width: 85mm !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

        body * {
            visibility: hidden !important;
        }

    .ticket, .ticket * {
        visibility: visible !important;
    }

    .ticket {
        position: static !important;
        width: 85mm !important;
        max-width: 85mm !important;
        height: 126mm !important;
        margin: 0 !important;
        border: 1px solid #0e523d !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        zoom: 1 !important;
    }

    .th-top {
        min-height: 29mm !important;
        padding: 4mm 4.5mm 3mm !important;
    }

    .th-logo {
        font-size: 13pt !important;
    }

    .th-code-wrap {
        margin-top: 6mm !important;
    }

    .th-code {
        font-size: 18pt !important;
    }

    .th-body {
        padding: 0 3.5mm !important;
    }

    .th-route-card {
        padding: 3mm 2.5mm 2mm !important;
        border-radius: 0 0 3mm 3mm !important;
    }

    .th-route-title {
        font-size: 10pt !important;
    }

    .th-info-list {
        margin: 0 2.5mm !important;
    }

    .th-row {
        min-height: 7.5mm !important;
    }

    .th-lbl {
        font-size: 7.5pt !important;
    }

    .th-icon {
        width: 6.5mm !important;
        height: 6.5mm !important;
    }

    .th-val {
        font-size: 8pt !important;
    }

    .th-price {
        font-size: 11pt !important;
    }

    .th-qr-wrap {
        grid-template-columns: 25mm 1fr !important;
        gap: 3mm !important;
        margin: 1mm 3.5mm 0 !important;
        padding: 2.2mm !important;
    }

    #ticketQrImg {
        width: 21mm !important;
        height: 21mm !important;
    }

    .th-qr-copy strong {
        font-size: 9pt !important;
    }

    .th-qr-copy span {
        font-size: 6.5pt !important;
    }

    .th-actions {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .booking-card {
        order: 1 !important;
    }

    .map-frame {
        order: 2 !important;
    }
}
/* 1) تحديد أقصى عرض لمنطقة الفورم والخريطة عشان مايبقوش عريضين أوي */
.section-pad .contact-grid {
    max-width: 960px;
    margin-inline: auto;
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
    gap: 22px;
}


.booking-card-head {
    gap: 11px;
    padding: 18px 20px 14px;
}

.booking-head-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

    .booking-head-icon svg {
        width: 19px;
        height: 19px;
    }

.contact-form-card.booking-card h3 {
    font-size: 17px;
}

.booking-card-head p {
    font-size: 11.5px;
    margin-top: 4px;
}

.booking-steps {
    padding: 10px 20px;
}

.booking-form {
    padding: 14px 20px 18px;
}

.form-section {
    padding: 0 0 12px;
}

    .form-section + .form-section {
        padding-top: 12px;
    }

    .form-section legend {
        margin-bottom: 9px;
        font-size: 11.5px;
    }

.form-grid {
    gap: 10px;
}

.booking-card .form-field input,
.booking-card .form-field select {
    height: 40px;
    font-size: 11.5px;
}

.terms-check {
    margin: 0 0 12px;
    font-size: 10.5px;
}

.booking-submit {
    min-height: 44px;
    font-size: 12.5px;
}

.booking-note {
    margin-top: 9px;
}


.map-frame {
    height: 760px;
    min-height: 740px;
}

    .map-frame iframe {
        width: 100%;
        height: 100%;
        border: none;
    }


@media (max-width: 900px) {
    .map-frame {
        height: 260px;
        margin-top: 16px;
    }
}

#contact .footer-grid {
    display: grid;
    /* ترتيب الأعمدة من اليمين لليسار بشكل طبيعي للغة العربية */
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

/* التأكد من أن كل عنصر داخلي يحافظ على اتجاهه الصحيح */
#contact .footer-col,
#contact .footer-brand {
    text-align: right;
}

@media (max-width: 992px) {
    #contact {
        padding: 25px 0 15px 0 !important;
    }

        #contact .footer-grid {
            grid-template-columns: 1fr !important; /* جعل الأقسام تظهر بشكل مرتب وسريع التحميل عمودياً وبدون فراغات ضخمة */
            gap: 20px !important;
            text-align: center;
        }

        #contact .footer-brand p {
            font-size: 0.8rem;
        }

        #contact .social-row {
            justify-content: center;
            margin-top: 8px;
        }

        #contact .footer-col h5 {
            font-size: 0.95rem;
            margin-bottom: 8px;
        }

        #contact .footer-col ul li {
            font-size: 0.82rem;
            margin-bottom: 5px;
        }

        #contact .footer-bottom {
            flex-direction: column;
            text-align: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.78rem;
            padding-top: 12px;
            margin-top: 15px;
        }
}
