/* Legal Navigation Tabs */
.legal-nav-section {
    background: rgba(255, 250, 242, .55);
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin-top: 76px;
}

.legal-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.legal-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .2s var(--ease);
    text-decoration: none;
}

.legal-tab-btn:hover {
    background: rgba(201, 155, 61, .08);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.legal-tab-btn.active {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(201, 155, 61, .25);
}

.legal-tab-btn i {
    font-size: 16px;
}

/* Legal Content Layout */
.legal-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.legal-toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.legal-toc h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 16px;
    /* font-family: "Playfair Display", Georgia, serif; */
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc li {
    margin-bottom: 8px;
}

.legal-toc a {
    display: block;
    padding: 8px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: .2s var(--ease);
    text-decoration: none;
}

.legal-toc a:hover {
    background: rgba(201, 155, 61, .08);
    color: var(--gold);
    transform: translateX(4px);
}

.legal-highlight-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.legal-highlight-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--gold-2);
    /* font-family: "Playfair Display", Georgia, serif; */
}

.legal-highlight-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

/* Legal Main Content */
.legal-main-content {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(251, 246, 236, .55);
    border-radius: 16px;
    border-left: 4px solid var(--gold);
}

.legal-section h2 {
    /* font-family: "Playfair Display", Georgia, serif; */
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -.02em;
}

.legal-section h3 {
    /* font-family: "Playfair Display", Georgia, serif; */
    font-size: 28px;
    color: var(--navy);
    margin: 32px 0 16px;
    letter-spacing: -.02em;
}

.legal-section h4 {
    font-size: 20px;
    color: var(--navy);
    margin: 24px 0 12px;
    font-weight: 700;
}

.legal-section p {
    line-height: 1.75;
    margin-bottom: 16px;
    color: var(--ink);
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--ink);
}

.legal-section strong {
    color: var(--navy);
    font-weight: 700;
}

.legal-section a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: .2s var(--ease);
}

.legal-section a:hover {
    border-bottom-color: var(--gold);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact-method {
    padding: 20px;
    background: rgba(251, 246, 236, .55);
    border-radius: 16px;
    border: 1px solid var(--line);
}

.contact-method h4 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-method p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.contact-method a {
    color: var(--gold);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    .legal-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-sidebar {
        position: static;
        order: -1;
    }

    .legal-toc {
        margin-bottom: 20px;
    }

    .legal-nav-tabs {
        flex-direction: column;
        align-items: center;
    }

    .legal-tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .legal-main-content {
        padding: 0;
    }

    .legal-section h2 {
        font-size: 28px;
    }

    .legal-section h3 {
        font-size: 24px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .legal-nav-tabs {
        gap: 12px;
        padding: 0 16px;
    }
}

.tours-hero-card {
    position: relative;
    min-height: 470px;
    border: 10px solid rgba(255, 255, 255, .78);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .30);
    background: var(--navy);
}

.tours-hero-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: .9;
}

.tours-hero-card-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

/* .tours-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 29, 53, .10), rgba(6, 29, 53, .24) 42%, rgba(6, 29, 53, .92));
} */
.tours-hero-card .mini-label,
.signature-chip {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.tours-hero-card h2 {
    /* font-family: "Playfair Display", Georgia, serif; */
    font-size: 34px;
    letter-spacing: -.045em;
}

.tours-hero-card p {
    color: rgba(255, 255, 255, .82);
    margin: 10px 0 16px;
}

.tours-hero-card a {
    color: var(--gold-2);
    font-weight: 900;
    font-size: 14px;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
}

.section {
    padding: 16px 0;
    padding-top: 21px;
}


.cta-card {
    background: linear-gradient(135deg, rgba(6, 29, 53, .98), rgb(103 100 81)),
        url() center / cover no-repeat;
    margin-top: 18px;
}


@media (max-width: 640px) {

    .category-hero-grid {
        grid-template-columns: auto;
    }

    .premium-intro-grid {
        grid-template-columns: auto;
    }

    .final-cta-wrap {
        flex-direction: column;
        padding: 22px;
    }

    .faq-category-grid {
        grid-template-columns: auto;
    }

    .tours-hero-card-body {
        position: absolute;
        left: 21px;
        right: 13px;
        bottom: auto;
        z-index: 2;
        top: 23px;
    }

    .tours-hero-card {
        min-height: 423px;
    }

    .category-hero h1 {
        font-size: clamp(50px, 8vw, 96px);
    }

    .legal-section h4 {
        margin: 0;
    }

}



.about-more-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* عدد السطور الظاهرة */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-more-text.expanded {
    display: block;
}

.slect_onway {
    margin-bottom: 23px;
    text-align: center;
}


.package-footer {

    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}


.why-choose-dynamics-img {
    height: 304px;
}

.about-intro-grid {
    gap: 35px;
}