:root {
    --page-bg: #2d2d2d;
    --panel: #1f1f1f;
    --panel-dark: #1b1b1b;
    --red: #ff3131;
    --text: #f4f4f4;
    --muted: #b9b9b9;
    --soft: rgba(255, 255, 255, .08);
    --shell: 1144px;
    --nav: 990px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body {
    min-height: 100vh;
    direction: rtl;
    background: var(--page-bg);
    color: var(--text);
    font-family: "Cairo", "Tahoma", sans-serif;
    overflow-x: hidden;
}

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

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

button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.site-header {
    padding-top: 12px;
}

.top-strip {
    width: min(calc(100% - 32px), var(--shell));
    margin-inline: auto;
}

.top-strip__inner {
    direction: ltr;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 26px;
    border-radius: 7px;
    background: var(--panel);
    color: var(--text);
    font-size: 13px;
    font-weight: 400;
}

.login-chip {
    direction: rtl;
    height: 28px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--red);
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.login-chip span:first-child {
    padding: 0 12px;
}

.login-chip__icon {
    width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
}

.login-chip__icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.social-links {
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, filter .18s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.social-links a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.top-contact {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.round-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.round-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.commercial-record {
    direction: rtl;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.commercial-record span {
    color: var(--red);
}

.commercial-record strong {
    color: #fff;
    font-size: 13px;
}

.main-nav {
    width: min(calc(100% - 32px), var(--nav));
    margin: 18px auto 0;
}

.main-nav__inner {
    direction: ltr;
    min-height: 56px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 9px;
    background: var(--panel);
    overflow: visible;
    position: relative;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    padding-left: 24px;
}

.brand img {
    width: 118px;
    height: 31px;
    object-fit: contain;
}

.brand__shine-wrap {
    display: inline-flex;
}

.brand__shine-wrap img {
    animation: logo-float 60s ease-in-out infinite;
}

@keyframes logo-float {
    0%    { transform: translateY(0);    filter: drop-shadow(0 0 2px rgba(255,49,49,0.3)); }
    3.5%  { transform: translateY(-4px); filter: drop-shadow(0 0 8px rgba(255,49,49,0.8)); }
    7%    { transform: translateY(0);    filter: drop-shadow(0 0 2px rgba(255,49,49,0.3)); }
    100%  { transform: translateY(0);    filter: drop-shadow(0 0 2px rgba(255,49,49,0.3)); }
}

.menu-toggle {
    display: none;
}

.nav-menu {
    direction: rtl;
    display: flex;
    align-items: stretch;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-menu a,
.nav-menu__button {
    min-width: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-menu__button {
    position: relative;
    z-index: 32;
}

.nav-menu a:hover,
.nav-item--services:hover .nav-menu__button,
.nav-item--works:hover .nav-menu__button {
    background: var(--panel);
    border-color: var(--red);
}

.works-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    width: 220px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 14px 14px;
    border: 1px solid var(--red);
    border-radius: 0 0 8px 8px;
    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility .16s ease;
    z-index: 30;
}

.nav-item--works:hover .works-dropdown {
    opacity: 1;
    visibility: visible;
}

.works-dropdown a {
    min-width: 0;
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-areas: "icon title";
    align-items: center;
    column-gap: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    text-align: right;
    line-height: 1.2;
    background: transparent;
    transition: background .18s ease;
}

.works-dropdown a:hover {
    background: var(--red);
}

.works-dropdown strong {
    grid-area: title;
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 400;
}

.works-dropdown small {
    grid-area: desc;
    margin-top: 4px;
    color: #a7a7a7;
    font-size: 9px;
    font-weight: 400;
}

.works-dropdown a:hover strong,
.works-dropdown a:hover small {
    color: #fff;
}

.nav-menu a.is-active {
    background: var(--panel);
}

.services-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    width: 382px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 16px 14px 14px;
    border: 1px solid var(--red);
    border-top-width: 1px;
    border-radius: 0 0 8px 8px;
    background: rgba(15, 15, 15, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity .16s ease, visibility .16s ease;
    z-index: 30;
}

.nav-item--services:hover .services-dropdown {
    opacity: 1;
    visibility: visible;
}

.services-dropdown a {
    min-width: 0;
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-areas:
        "icon title"
        "icon desc";
    align-items: start;
    justify-content: initial;
    column-gap: 9px;
    padding: 7px 8px;
    border-radius: 6px;
    color: #fff;
    text-align: right;
    line-height: 1.2;
    background: transparent;
    transition: background .18s ease;
}

.services-dropdown a:hover {
    background: var(--red);
}

.drop-icon {
    grid-area: icon;
    width: 22px;
    height: 22px;
    object-fit: contain;
    mix-blend-mode: screen;
}


.services-dropdown a:hover strong,
.services-dropdown a:hover small {
    color: #fff;
}

.services-dropdown strong {
    grid-area: title;
    color: #f5f5f5;
    font-size: 11px;
    font-weight: 400;
}

.services-dropdown small {
    grid-area: desc;
    margin-top: 4px;
    color: #a7a7a7;
    font-size: 9px;
    font-weight: 400;
}

main {
    padding-top: 18px;
}

.hero {
    position: relative;
    width: min(calc(100% - 32px), var(--shell));
    height: 292px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 9px;
    background: #111;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .14);
}

.hero__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .4s ease;
}

.hero__track img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: rgba(0, 0, 0, .56);
    color: #fff;
    direction: ltr;
    unicode-bidi: isolate;
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 24px;
    transition: background .2s ease, transform .2s ease;
}

.slider-arrow:hover {
    background: var(--red);
    transform: translateY(-50%) scale(1.04);
}

.slider-arrow--prev {
    left: 12px;
}

.slider-arrow--next {
    right: 12px;
}

.services {
    width: min(calc(100% - 32px), 1068px);
    margin: 18px auto 0;
}

.services__track {
    direction: ltr;
    display: grid;
    grid-template-columns: repeat(7, 122px);
    justify-content: center;
    gap: 18px;
}

.service-card {
    width: 122px;
    height: 188px;
    overflow: hidden;
    border-radius: 4px;
    background: #191919;
    transition: transform .22s ease, filter .22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    filter: brightness(1.08);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partners {
    width: min(calc(100% - 32px), var(--shell));
    margin: 32px auto 0;
    text-align: center;
}

.partners h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.partners h2::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -8px;
    width: 62px;
    height: 4px;
    transform: translateX(50%);
    border-radius: 4px;
    background: var(--red);
}

.partners__panel {
    min-height: 100px;
    overflow: hidden;
    padding: 20px 0;
    border-radius: 10px;
    background: var(--panel);
    position: relative;
}

.partners__panel::before,
.partners__panel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.partners__panel::before {
    right: 0;
    background: linear-gradient(to left, var(--panel), transparent);
}

.partners__panel::after {
    left: 0;
    background: linear-gradient(to right, var(--panel), transparent);
}

.partners__track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.partners__track--reverse {
    animation: marquee-reverse 20s linear infinite;
    margin-top: 20px;
}

.partners__panel:hover .partners__track {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.partners__panel img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: .5;
    filter: grayscale(1);
    transition: opacity .3s ease, filter .3s ease;
}

.partners__panel img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ===== PACKAGES ===== */
.packages {
    width: min(calc(100% - 32px), 1214px);
    margin: 40px auto 0;
}

.packages__title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.packages__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.packages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}


.pkg-card {
    position: relative;
    background: var(--panel);
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .2s ease, transform .2s ease;
}

.pkg-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.pkg-card--vip {
    border-color: var(--red);
    background: linear-gradient(160deg, #1f1f1f 60%, #2a0a0a);
}

.pkg-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pkg-card__num {
    font-size: 11px;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 1px;
}

.pkg-card__header h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}

.pkg-card__desc {
    color: #888;
    font-size: 11px;
    line-height: 1.6;
    margin-top: 6px;
}

.pkg-card__price {
    font-size: 30px;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.pkg-card__price span {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-right: 4px;
}

.pkg-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pkg-card__list li {
    color: #ccc;
    font-size: 12px;
    padding-right: 14px;
    position: relative;
    line-height: 1.4;
}

.pkg-card__list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.pkg-card__extras {
    background: rgba(255,49,49,.06);
    border: 1px solid rgba(255,49,49,.2);
    border-radius: 8px;
    padding: 12px 14px;
}

.pkg-card__extras p {
    color: #aaa;
    font-size: 11px;
    margin-bottom: 8px;
}

.pkg-card__extras ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pkg-card__extras ul li {
    color: #ccc;
    font-size: 11px;
    padding-right: 14px;
    position: relative;
}

.pkg-card__extras ul li::before {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--red);
    font-weight: 700;
}

.pkg-card__btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--red);
    border-radius: 7px;
    color: var(--red);
    font-size: 13px;
    font-weight: 500;
    transition: background .2s ease, color .2s ease;
    margin-top: auto;
}

.pkg-card__btn:hover {
    background: var(--red);
    color: #fff;
}

@media (max-width: 900px) {
    .packages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .about__title {
        font-size: 30px;
    }
}

.footer {
    width: min(calc(100% - 32px), var(--shell));
    min-height: 44px;
    margin: 16px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2a2a2a;
    padding-top: 14px;
    padding-bottom: 14px;
    color: #fff;
}

.footer p {
    display: contents;
}

.footer p span {
    color: #aaa;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    :root {
        --shell: 1080px;
        --nav: 980px;
    }

    .services__track {
        grid-template-columns: repeat(7, minmax(105px, 135px));
        gap: 14px;
    }

    .service-card {
        width: 100%;
        height: auto;
        aspect-ratio: 135 / 208;
    }
}

@media (max-width: 860px) {
    .top-strip__inner {
        height: auto;
        min-height: 44px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
        padding: 9px 12px;
    }

    .commercial-record {
        margin-left: 0;
    }

    .main-nav {
        margin-top: 16px;
    }

    .main-nav__inner {
        min-height: 60px;
        align-items: center;
        padding-right: 12px;
    }

    .brand {
        padding-left: 16px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0 10px;
        border-radius: 7px;
        background: #292929;
        order: 2;
    }

    .menu-toggle span {
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .nav-menu {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 10;
        display: grid;
        grid-template-columns: 1fr;
        padding: 88px 18px 18px;
        background: rgba(31, 31, 31, .98);
        border-bottom: 1px solid var(--soft);
        transform: translateY(-110%);
        transition: transform .25s ease;
    }

    .nav-menu.is-open {
        transform: translateY(0);
    }

    .nav-item {
        display: block;
    }

    .nav-menu a,
    .nav-menu__button {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        border-radius: 7px;
    }

    .services-dropdown {
        position: static;
        width: 100%;
        margin-top: 6px;
        grid-template-columns: 1fr 1fr;
        transform: none;
        box-shadow: none;
    }

    .hero {
        height: auto;
        aspect-ratio: 1271 / 324;
        margin-top: 20px;
    }

    .services__track {
        grid-template-columns: repeat(3, minmax(100px, 135px));
    }

    .partners {
        margin-top: 34px;
    }

    .footer {
        gap: 8px;
        padding-bottom: 16px;
    }
}

/* ===== ABOUT ===== */
.about {
    width: min(calc(100% - 32px), var(--shell));
    margin: 0 auto 60px;
}

.about__hero {
    text-align: center;
    padding: 60px 0 40px;
}

.about__title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
}

.about__subtitle {
    font-size: 16px;
    color: #aaa;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.about__card {
    background: var(--panel);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color .25s, transform .25s;
}

.about__card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.about__card-icon {
    display: block;
    font-size: 28px;
    color: var(--red);
    margin-bottom: 14px;
}

.about__card h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}

.about__card p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--panel);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px 24px;
}

.about__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.about__stat strong {
    font-size: 36px;
    font-weight: 700;
    color: var(--red);
}

.about__stat span {
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 480px) {
    body {
        min-width: 320px;
    }

    .top-strip,
    .main-nav,
    .hero,
    .services,
    .partners,
    .footer {
        width: min(calc(100% - 20px), var(--shell));
    }

    .top-contact,
    .commercial-record {
        font-size: 12px;
    }

    .brand img,
    .footer__brand img {
        width: 112px;
        height: auto;
    }

    .services__track {
        grid-template-columns: repeat(2, minmax(112px, 135px));
        gap: 12px;
    }

    .partners__panel {
        min-height: 120px;
        padding: 14px;
    }
}
