/* =========================================================
   Six Flags — Home Page
   ملف خاص بالصفحة الرئيسية index.html
========================================================= */

:root {
    --home-blue: #253870;
    --home-dark-blue: #092b43;
    --home-red: #ed1c2e;
    --home-green: #65c346;
    --home-yellow: #ffd21c;
    --home-orange: #f58220;
    --home-sky: #54b7df;
    --home-bg: #f2f7fb;
    --home-white: #ffffff;
    --home-text: #13344d;
    --home-radius: 22px;
    --home-shadow: 0 16px 40px rgba(4, 35, 56, 0.14);
    --home-max-width: 1180px;
}

/* =========================================================
   الأساسيات
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--home-bg);
    color: var(--home-text);
    font-family: "URW Geometric Arabic", Arial, sans-serif;
}

body.home-page.menu-open {
    overflow: hidden;
}

.home-page img {
    display: block;
    max-width: 100%;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.home-page button {
    font-family: inherit;
}

.section-container {
    width: min(calc(100% - 40px), var(--home-max-width));
    margin-inline: auto;
}

.section-eyebrow,
.discover-small-title {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--home-red);
    font-size: 15px;
    font-weight: 700;
}

.primary-home-button,
.white-home-button,
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-home-button {
    background: var(--home-red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(237, 28, 46, 0.24);
}

.primary-home-button:hover,
.hero-button:hover,
.white-home-button:hover {
    transform: translateY(-2px);
}

.green-text {
    color: var(--home-green);
}

.orange-text {
    color: var(--home-orange);
}

.blue-text {
    color: var(--home-sky);
}

.yellow-text {
    color: var(--home-yellow);
}

/* =========================================================
   الشريط الإعلاني المتحرك
========================================================= */

.promo-bar {
    position: relative;
    width: 100%;
    height: 34px;
    min-height: 34px;
    overflow: hidden;
    background: var(--home-green);
    color: var(--home-blue);
    direction: ltr;
}

.promo-moving {
    position: absolute;
    top: 50%;
    left: 0;

    display: flex;
    align-items: center;
    gap: 8px;

    width: max-content;
    white-space: nowrap;
    direction: rtl;

    font-size: 13px;
    font-weight: 600;

    transform: translate(-100%, -50%);
    animation: promoLeftToRight 11s linear infinite;
    will-change: transform;
}

.promo-badge {
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    font-weight: 700;
}

.promo-spark {
    font-size: 18px !important;
}

.promo-bar:hover .promo-moving {
    animation-play-state: paused;
}

@keyframes promoLeftToRight {
    from {
        transform: translate(-100%, -50%);
    }

    to {
        transform: translate(100vw, -50%);
    }
}

/* =========================================================
   الهيدر
========================================================= */

.home-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

.home-header.is-fixed {
    position: fixed;
    animation: headerDrop 0.3s ease;
}

@keyframes headerDrop {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.home-main-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    min-height: 94px;
    padding: 14px clamp(20px, 5vw, 72px);

    background: rgba(4, 36, 58, 0.92);
    backdrop-filter: blur(10px);
}

.home-menu-button {
    justify-self: start;
    display: flex;
    flex-direction: column;
    gap: 6px;

    width: 46px;
    height: 46px;
    padding: 11px;

    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.home-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.home-booking-button {
    justify-self: center;
    min-height: 48px;
    padding: 12px 25px;
    border-radius: 999px;
    background: var(--home-red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(237, 28, 46, 0.28);
    transition: transform 0.2s ease;
}

.home-booking-button:hover {
    transform: translateY(-2px);
}

.home-logo-link {
    justify-self: end;
}

.home-logo {
    width: 145px;
    max-height: 68px;
    object-fit: contain;
}

.park-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-height: 46px;
    padding: 8px 20px;

    background: rgba(9, 43, 67, 0.9);
    color: #fff;
    font-size: 13px;
}

.park-hours {
    display: flex;
    align-items: center;
    gap: 10px;
}

.park-open-label {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--home-green);
    color: var(--home-dark-blue);
    font-weight: 700;
}

.park-language {
    display: flex;
    align-items: center;
}

/* =========================================================
   القائمة الجانبية
========================================================= */

.home-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1998;

    visibility: hidden;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;

    transition:
        visibility 0.3s ease,
        opacity 0.3s ease;
}

.home-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.home-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1999;

    width: min(390px, 90vw);
    padding: 24px;

    background: var(--home-dark-blue);
    color: #fff;

    transform: translateX(105%);
    transition: transform 0.35s ease;
}

.home-side-menu.active {
    transform: translateX(0);
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.side-menu-logo {
    width: 145px;
}

.side-menu-close {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.side-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-menu-nav a {
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 19px;
    font-weight: 600;
}

/* =========================================================
   Hero Slider
========================================================= */

.home-hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    background: var(--home-dark-blue);
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    visibility: hidden;
    background-image: var(--hero-desktop);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;

    transition:
        visibility 0.6s ease,
        opacity 0.6s ease;
}

.hero-slide.active {
    visibility: visible;
    opacity: 1;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(1, 20, 32, 0.12) 20%,
            rgba(1, 20, 32, 0.78) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), var(--home-max-width));
    margin-inline: auto;
    padding-top: 145px;
}

.hero-title {
    max-width: 640px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(36px, 5.6vw, 76px);
    font-weight: 700;
    line-height: 1.15;
}

.hero-title strong {
    font-size: 1.18em;
}

.hero-button {
    background: #fff;
    color: var(--home-dark-blue);
    box-shadow: var(--home-shadow);
}

.hero-dots {
    position: absolute;
    right: 0;
    bottom: 30px;
    left: 0;
    z-index: 4;

    display: flex;
    justify-content: center;
    gap: 9px;
}

.hero-dot,
.world-progress-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition:
        width 0.2s ease,
        border-radius 0.2s ease,
        background 0.2s ease;
}

.hero-dot.active {
    width: 32px;
    border-radius: 999px;
    background: #fff;
}

/* =========================================================
   عرض الراجحي
========================================================= */

.alrajhi-offer-section {
    padding: 90px 0;
    background: #fff;
    text-align: center;
}

.alrajhi-offer-section h2 {
    max-width: 760px;
    margin: 0 auto 18px;
    color: var(--home-blue);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.2;
}

.alrajhi-offer-section p {
    max-width: 670px;
    margin: 0 auto 30px;
    color: #5a6c7a;
    font-size: 18px;
    line-height: 1.8;
}

/* =========================================================
   المقدمة الملونة
========================================================= */

.discover-intro {
    padding: 110px 0;
    background: var(--home-blue);
    text-align: center;
}

.discover-small-title {
    color: #fff;
    opacity: 0.76;
}

.discover-colored-title {
    max-width: 940px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(36px, 5vw, 67px);
    line-height: 1.25;
}

/* =========================================================
   العوالم
========================================================= */

.worlds-section {
    padding: 100px 0;
    overflow: hidden;
    background: var(--home-bg);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 35px;
}

.section-heading-row h2,
.rides-section h2,
.journey-section h2,
.partners-section h2 {
    margin: 0;
    color: var(--home-blue);
    font-size: clamp(31px, 4vw, 52px);
}

.carousel-buttons {
    display: flex;
    gap: 10px;
}

.circle-arrow {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 1px solid rgba(37, 56, 112, 0.2);
    border-radius: 50%;
    background: #fff;
    color: var(--home-blue);
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(37, 56, 112, 0.08);
}

.worlds-carousel {
    position: relative;
    min-height: 610px;
}

.world-card {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: end;
    overflow: hidden;

    visibility: hidden;
    min-height: 610px;
    border-radius: 34px;

    background-image: var(--world-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    opacity: 0;
    transform: translateX(-25px);

    transition:
        visibility 0.55s ease,
        opacity 0.55s ease,
        transform 0.55s ease;
}

.world-card.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.world-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(3, 32, 50, 0.94) 0%,
            rgba(3, 32, 50, 0.52) 47%,
            rgba(3, 32, 50, 0.08) 100%
        );
}

.world-card-content {
    position: relative;
    z-index: 2;

    width: min(630px, 100%);
    padding: 50px;
    color: #fff;
}

.world-card-content h3 {
    margin: 0 0 14px;
    font-size: clamp(35px, 5vw, 62px);
}

.world-card-content p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.7;
}

.world-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.world-features li {
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.white-home-button {
    background: #fff;
    color: var(--home-dark-blue);
}

.world-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.world-progress-dot {
    background: rgba(37, 56, 112, 0.22);
}

.world-progress-dot.active {
    width: 30px;
    border-radius: 999px;
    background: var(--home-red);
}

/* =========================================================
   الألعاب
========================================================= */

.rides-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.rides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin: 40px 0 35px;
    text-align: right;
}

.ride-card {
    overflow: hidden;
    border-radius: var(--home-radius);
    background: var(--home-bg);
    box-shadow: var(--home-shadow);
}

.ride-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.ride-card-content {
    padding: 26px;
}

.ride-card-content h3 {
    margin: 0 0 10px;
    color: var(--home-blue);
    font-size: 30px;
}

.ride-card-content p {
    min-height: 54px;
    margin: 0 0 20px;
    color: #61717d;
    font-size: 17px;
    line-height: 1.6;
}

.ride-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ride-facts span {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--home-blue);
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   رحلة المشروع
========================================================= */

.journey-section {
    padding: 105px 0;
    background: var(--home-dark-blue);
    color: #fff;
    text-align: center;
}

.journey-section .section-eyebrow {
    color: var(--home-green);
}

.journey-section h2 {
    color: #fff;
}

.journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 29px;
    right: 8%;
    left: 8%;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.journey-item {
    position: relative;
    z-index: 1;
    padding-top: 2px;
}

.journey-year {
    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;
    margin: 0 auto 22px;

    border: 5px solid var(--home-dark-blue);
    border-radius: 50%;

    background: var(--home-yellow);
    color: var(--home-dark-blue);
    font-weight: 700;
}

.journey-item h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.journey-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

/* =========================================================
   قسم القدية
========================================================= */

.qiddiya-section {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 650px;
    background: var(--home-blue);
}

.qiddiya-media {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.qiddiya-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qiddiya-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 30, 48, 0.18);
}

.video-play-button {
    position: absolute;
    right: 50%;
    bottom: 42px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 22px;
    border: 0;
    border-radius: 999px;

    background: #fff;
    color: var(--home-dark-blue);
    font-weight: 700;
    cursor: pointer;

    transform: translateX(50%);
}

.video-play-button .material-symbols-outlined {
    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;
    background: var(--home-red);
    color: #fff;
}

.qiddiya-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: clamp(45px, 7vw, 100px);
    color: #fff;
}

.qiddiya-content .section-eyebrow {
    color: var(--home-yellow);
}

.qiddiya-content h2 {
    margin: 0 0 22px;
    font-size: clamp(35px, 4.5vw, 62px);
    line-height: 1.15;
}

.qiddiya-content p {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

/* =========================================================
   نافذة الفيديو
========================================================= */

.home-video-dialog {
    width: min(950px, calc(100% - 30px));
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 18px;
    background: #000;
}

.home-video-dialog::backdrop {
    background: rgba(0, 0, 0, 0.82);
}

.home-video-dialog iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 18px;
}

.video-dialog-close {
    position: absolute;
    top: -17px;
    left: -17px;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;

    background: var(--home-red);
    color: #fff;
    cursor: pointer;
}

/* =========================================================
   الشركاء
========================================================= */

.partners-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 42px 0 35px;
}

.partner-card {
    display: grid;
    place-items: center;

    min-height: 190px;
    padding: 30px;

    border: 1px solid #e2ebf1;
    border-radius: var(--home-radius);
    background: #fff;

    box-shadow: 0 10px 30px rgba(10, 43, 67, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--home-shadow);
}

.partner-card img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

/* =========================================================
   الفوتر
========================================================= */

.home-footer {
    padding: 72px max(20px, calc((100% - var(--home-max-width)) / 2));
    background: var(--home-dark-blue);
    color: #fff;
}

.footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 22px 0;

    border: 0;
    background: transparent;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
}

.footer-accordion-button .material-symbols-outlined {
    transition: transform 0.25s ease;
}

.footer-accordion-item.active
.footer-accordion-button
.material-symbols-outlined {
    transform: rotate(180deg);
}

.footer-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 0.3s ease,
        opacity 0.3s ease;
}

.footer-accordion-content > * {
    overflow: hidden;
}

.footer-accordion-item.active .footer-accordion-content {
    grid-template-rows: 1fr;
    padding-bottom: 18px;
    opacity: 1;
}

.footer-accordion-content a {
    display: block;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.76);
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;

    margin: 55px 0 35px;
}

.footer-logos img {
    width: auto;
    max-width: 170px;
    max-height: 82px;
}

.aquarabia-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: fit-content;
    margin: 0 auto 30px;
    padding: 13px 20px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.aquarabia-link img {
    width: 92px;
    max-height: 42px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.social-links a {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.social-links img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;

    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   ملفات تعريف الارتباط
========================================================= */

.cookie-banner-home {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    max-width: 720px;
    margin-inline: auto;
    padding: 18px 22px;

    border-radius: 18px;
    background: #fff;
    color: var(--home-dark-blue);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.cookie-banner-home.hidden {
    pointer-events: none;
    opacity: 0;
    transform: translateY(130%);
}

.cookie-banner-home strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-banner-home p {
    margin: 0;
    color: #62727c;
    font-size: 14px;
}

.cookie-banner-home button {
    flex-shrink: 0;
    padding: 10px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--home-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
   التابلت
========================================================= */

@media (max-width: 900px) {
    .home-main-header {
        grid-template-columns: auto 1fr auto;
        padding-inline: 20px;
    }

    .home-booking-button {
        padding-inline: 18px;
        font-size: 14px;
    }

    .home-logo {
        width: 120px;
    }

    .home-hero {
        min-height: 760px;
    }

    .rides-grid {
        grid-template-columns: 1fr;
    }

    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-timeline::before {
        display: none;
    }

    .qiddiya-section {
        grid-template-columns: 1fr;
    }

    .qiddiya-media {
        min-height: 480px;
    }

    .qiddiya-content {
        padding: 60px 30px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   الهاتف
========================================================= */

@media (max-width: 620px) {
    .section-container {
        width: min(calc(100% - 28px), var(--home-max-width));
    }

    .promo-moving {
        font-size: 11px;
        animation-duration: 9s;
    }

    .promo-badge {
        padding-inline: 9px;
    }

    .home-main-header {
        min-height: 74px;
        padding: 10px 14px;
    }

    .home-menu-button {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .home-booking-button {
        min-height: 41px;
        padding: 9px 13px;
        font-size: 12px;
    }

    .home-logo {
        width: 82px;
    }

    .park-status-bar {
        justify-content: space-between;
        min-height: 42px;
        padding-inline: 14px;
        font-size: 10px;
    }

    .park-hours {
        gap: 5px;
    }

    .park-open-label {
        padding: 3px 7px;
    }

    .home-hero {
        min-height: 720px;
    }

    .hero-slide {
        align-items: end;
        padding-bottom: 90px;
        background-image: var(--hero-mobile);
        background-position: center top;
    }

    .hero-dark-overlay {
        background:
            linear-gradient(
                to top,
                rgba(1, 20, 32, 0.9) 0%,
                rgba(1, 20, 32, 0.2) 65%
            );
    }

    .hero-content {
        padding-top: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .alrajhi-offer-section,
    .discover-intro,
    .worlds-section,
    .rides-section,
    .journey-section,
    .partners-section {
        padding-block: 70px;
    }

    .section-heading-row {
        align-items: flex-start;
    }

    .circle-arrow {
        width: 42px;
        height: 42px;
    }

    .worlds-carousel,
    .world-card {
        min-height: 560px;
    }

    .world-card-content {
        padding: 30px 22px;
    }

    .world-card-content h3 {
        font-size: 40px;
    }

    .ride-card img {
        height: 250px;
    }

    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .qiddiya-media {
        min-height: 390px;
    }

    .qiddiya-content {
        padding: 50px 22px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 24px;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cookie-banner-home {
        align-items: stretch;
        flex-direction: column;
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .cookie-banner-home button {
        width: 100%;
    }
}

/* تقليل الحركة حسب إعداد الجهاز */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .promo-moving {
        left: 50%;
        transform: translate(-50%, -50%);
        animation: none;
    }
}
/* =========================================================
   المقدمة وسلايدر العوالم — النسخة المطابقة
========================================================= */

.sf-home-explore {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background: #28396f;
    color: #fff;
}

.sf-explore-heading {
    width: min(calc(100% - 32px), 900px);
    margin: 0 auto 68px;
    text-align: center;
}

.sf-explore-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
}

.sf-explore-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.3;
}

.sf-word-green {
    color: #65c743;
}

.sf-word-orange {
    color: #f47c20;
}

.sf-word-blue {
    color: #3fa9e0;
}

.sf-word-yellow {
    color: #ffc609;
}

/* السلايدر */

.sf-lands-slider {
    position: relative;
    width: min(calc(100% - 30px), 1120px);
    margin: 0 auto;
    padding-bottom: 55px;
}

.sf-lands-viewport {
    position: relative;
    width: 100%;
    min-height: 680px;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
}

.sf-land-slide {
    position: absolute;
    inset: 0;

    visibility: hidden;
    overflow: hidden;
    border-radius: inherit;
    opacity: 0;
    transform: translateX(-35px);

    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0.55s ease;
}

.sf-land-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.sf-land-slide picture {
    position: absolute;
    inset: 0;
}

.sf-land-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-land-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(7, 27, 49, 0.96) 0%,
            rgba(7, 27, 49, 0.58) 38%,
            rgba(7, 27, 49, 0.08) 70%
        );
}

.sf-land-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    flex-direction: column;

    padding: 40px 30px 36px;
    text-align: center;
}

.sf-land-logo {
    max-width: 250px;
    max-height: 105px;
    margin-bottom: 17px;
    object-fit: contain;
}

.sf-land-description {
    max-width: 620px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.7;
}

.sf-land-features {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.sf-land-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.sf-land-feature .material-symbols-outlined {
    font-size: 25px;
}

.sf-land-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 50px;
    padding: 10px 25px;

    border-radius: 999px;
    background: #fff;
    color: #28396f;
    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.sf-land-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* الأسهم */

.sf-land-arrow {
    position: absolute;
    top: 45%;
    z-index: 20;

    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #28396f;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%);
}

.sf-land-arrow-prev {
    right: -23px;
}

.sf-land-arrow-next {
    left: -23px;
}

.sf-land-arrow .material-symbols-outlined {
    font-size: 27px;
}

/* النقاط */

.sf-land-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.sf-land-dot {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);

    transition:
        width 0.25s ease,
        background-color 0.25s ease;
}

.sf-land-dot.is-active {
    width: 29px;
    background: #fff;
}

/* الهاتف */

@media (max-width: 620px) {
    .sf-home-explore {
        padding-top: 68px;
    }

    .sf-explore-heading {
        width: calc(100% - 34px);
        margin-bottom: 69px;
    }

    .sf-explore-kicker {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .sf-explore-title {
        font-size: 30px;
        line-height: 1.38;
    }

    .sf-lands-slider {
        width: 100%;
        padding-bottom: 0;
    }

    .sf-lands-viewport {
        width: calc(100% - 100px);
        min-height: 520px;
        margin-inline: auto;
        border-radius: 0;
    }

    .sf-land-slide {
        border-radius: 0;
    }

    .sf-land-content {
        padding: 25px 12px 20px;
    }

    .sf-land-logo {
        max-width: 215px;
        max-height: 88px;
        margin-bottom: 8px;
    }

    .sf-land-description {
        display: none;
    }

    .sf-land-features {
        gap: 8px 13px;
        margin-bottom: 19px;
    }

    .sf-land-feature {
        gap: 3px;
        font-size: 12px;
    }

    .sf-land-feature .material-symbols-outlined {
        font-size: 22px;
    }

    .sf-land-cta {
        min-width: 135px;
        min-height: 47px;
        padding-inline: 20px;
        font-size: 14px;
    }

    .sf-land-arrow {
        top: 44px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .sf-land-arrow-prev {
        right: 29px;
    }

    .sf-land-arrow-next {
        left: 29px;
    }

    .sf-land-dots {
        display: none;
    }
}/* =========================================================
   قسم الشركاء المطابق للصورة
========================================================= */

.sf-partners-section {
    position: relative;
    z-index: 2;

    padding: 62px 18px 0;
    background: #f8fafc;
}

.sf-partners-card {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 58px 45px 36px;

    border-radius: 18px 18px 0 0;
    background: #ffffff;

    box-shadow:
        0 5px 24px rgba(31, 51, 102, 0.06),
        0 20px 45px rgba(31, 51, 102, 0.04);

    text-align: center;
}

.sf-partners-group {
    margin-bottom: 50px;
}

.sf-partners-title {
    margin: 0 0 27px;

    color: #293a73;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.sf-partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 20px;
    max-width: 820px;
    margin-inline: auto;
}

.sf-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 105px;
    height: 90px;
    padding: 14px;

    overflow: hidden;
    border-radius: 12px;
    background: #f0f5f8;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.sf-partner-logo:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(31, 51, 102, 0.12);
}

.sf-partner-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.sf-all-partners-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 10px 26px;

    border: 1.5px solid #293a73;
    border-radius: 999px;

    background: #ffffff;
    color: #293a73;

    font-size: 16px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sf-all-partners-button:hover {
    background: #293a73;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================================
   تعديل الفوتر ليطابق الصورة
========================================================= */

.home-footer {
    position: relative;

    padding:
        62px
        max(16px, calc((100% - 1120px) / 2))
        70px;

    background: #293a73;
    color: #ffffff;
}

.home-footer::before {
    content: "";
    position: absolute;
    top: -18px;
    right: 0;
    left: 0;

    height: 20px;
    background: #293a73;

    clip-path: polygon(
        0 100%,
        0 0,
        100% 100%
    );
}

.footer-accordion {
    border-top: 0;
}

.footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-accordion-button {
    min-height: 57px;
    padding: 15px 5px;

    font-size: 15px;
    font-weight: 700;
}

.footer-accordion-button .material-symbols-outlined {
    font-size: 25px;
    color: #ffffff;
}

.footer-accordion-content {
    padding-inline: 5px;
}

.footer-accordion-content a {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

/* =========================================================
   الهاتف
========================================================= */

@media (max-width: 620px) {

    .sf-partners-section {
        padding: 42px 21px 0;
    }

    .sf-partners-card {
        padding: 51px 9px 28px;
        border-radius: 16px 16px 0 0;
    }

    .sf-partners-group {
        margin-bottom: 43px;
    }

    .sf-partners-title {
        margin-bottom: 23px;
        font-size: 19px;
    }

    .sf-partners-logos {
        gap: 16px;
        max-width: 365px;
    }

    .sf-partner-logo {
        width: 60px;
        height: 60px;
        padding: 7px;
        border-radius: 9px;
    }

    .sf-all-partners-button {
        min-height: 41px;
        padding: 7px 18px;
        font-size: 14px;
    }

    .home-footer {
        padding:
            43px
            15px
            65px;
    }

    .home-footer::before {
        top: -12px;
        height: 13px;
    }

    .footer-accordion-button {
        min-height: 57px;
        padding-inline: 5px;
        font-size: 13px;
    }
}
/* =========================================================
   ضبط الفوتر للهاتف مطابق للصورة المرجعية
========================================================= */

@media (max-width: 620px) {

    .home-footer {
        padding: 35px 15px 38px !important;
        background: #293a73 !important;
    }

    /* القوائم الأربعة */

    .footer-accordion {
        width: 100%;
        margin: 0;
        border: 0;
    }

    .footer-accordion-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .footer-accordion-button {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: 57px;
        min-height: 57px;

        margin: 0;
        padding: 0 5px;

        background: transparent;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
    }

    .footer-accordion-button .material-symbols-outlined {
        flex: 0 0 auto;
        margin: 0;
        color: #ffffff;
        font-size: 25px;
        line-height: 1;

        transition: transform 0.25s ease;
    }

    /* المحتوى عند الفتح */

    .footer-accordion-content {
        display: block;
        max-height: 0;
        padding: 0 5px;
        overflow: hidden;

        opacity: 0;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            padding 0.25s ease;
    }

    .footer-accordion-item.active .footer-accordion-content {
        max-height: 300px;
        padding-bottom: 16px;
        opacity: 1;
    }

    .footer-accordion-content a {
        display: block;
        padding: 7px 0;

        color: rgba(255, 255, 255, 0.76);
        font-size: 13px;
    }

    .footer-accordion-item.active
    .footer-accordion-button
    .material-symbols-outlined {
        transform: rotate(180deg);
    }

    /* شعار رؤية 2030 وشعار القدية بجانب بعض */

    .footer-logos {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: row !important;

        gap: 42px !important;
        margin: 67px 0 34px !important;
    }

    .footer-logos img {
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .footer-logos img:first-child {
        width: 96px;
        max-height: 66px;
    }

    .footer-logos img:nth-child(2) {
        width: 67px;
        max-height: 66px;
    }

    /* أكواريبيا بدون الإطار البيضاوي */

    .aquarabia-link {
        display: flex;
        align-items: center;
        justify-content: center;

        width: fit-content;
        margin: 0 auto 108px !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;

        font-size: 15px;
        font-weight: 700;
    }

    .aquarabia-link img {
        width: 58px !important;
        max-height: 52px;
        object-fit: contain;
    }

    /* مواقع التواصل بدون دوائر */

    .social-links {
        display: flex;
        align-items: center;
        justify-content: center;

        gap: 25px !important;
        margin: 0 0 27px !important;
    }

    .social-links a {
        display: grid;
        place-items: center;

        width: 24px !important;
        height: 26px !important;

        padding: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .social-links img {
        width: 22px !important;
        height: 22px !important;
        object-fit: contain;
    }

    /* الروابط القانونية */

    .footer-legal-links {
        display: flex;
        align-items: center;
        flex-direction: column;

        gap: 18px !important;
        margin: 0 !important;

        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
    }

    .footer-legal-links a {
        line-height: 1.2;
    }

    /* حقوق النشر */

    .footer-copyright {
        margin: 28px 0 0 !important;

        color: rgba(255, 255, 255, 0.25) !important;
        font-size: 11px !important;
        font-weight: 600;
        line-height: 1.5;
        text-align: center;
    }
}