/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --color-primary: #16273b;
    /* Lighter Vibrant Navy */
    --color-secondary: #243b55;
    /* Brighter Navy for Cards */
    --color-accent: #cfaa6d;
    /* Gold to match palette */
    --color-gold: #cfaa6d;
    /* Muted Gold */
    --color-text-light: #e6f1ff;
    --color-text-muted: #8892b0;
    --color-white: #ffffff;
    --color-dark-overlay: rgba(22, 39, 59, 0.85);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL Support Base */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

/* Исключаем intl-tel-input dropdown из Lenis smooth scroll */
.iti--container,
.iti__country-list {
    overscroll-behavior: contain;
    /* Lenis проверяет этот атрибут, но мы также добавим его через JS */
}


.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

html {
    scroll-behavior: initial;
    /* Handled by Lenis */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITIES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.btn--primary {
    background-color: var(--color-gold);
    color: var(--color-primary);
}

.btn--primary:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    margin-top: 1rem;
}

/* =========================================
   3. COMPONENTS
   ========================================= */

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader__icon {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.loaded .preloader {
    opacity: 0;
    pointer-events: none;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.nav__link:hover {
    color: var(--color-accent);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown__current {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    min-width: 80px;
}

.lang-dropdown__current:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: hidden;
}

.lang-dropdown.active .lang-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[dir="rtl"] .lang-dropdown__menu {
    left: auto;
    right: 0;
}

.lang-dropdown__item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[dir="rtl"] .lang-dropdown__item {
    text-align: right;
}

.lang-dropdown__item:last-child {
    border-bottom: none;
}

.lang-dropdown__item:hover {
    background: rgba(207, 170, 109, 0.1);
    color: var(--color-white);
}

.lang-dropdown__item.active {
    background: rgba(207, 170, 109, 0.15);
    color: var(--color-gold);
    font-weight: 600;
}

.burger-menu {
    display: none;
    /* Mobile only by default */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-accent);
    transition: 0.3s;
    transform-origin: center;
}

/* Burger to X Animation */
.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--color-primary) 0%, rgba(10, 25, 47, 0.7) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
}

.hero__cta-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

/* --- Job Cards --- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.jobs-swiper {
    padding-bottom: 40px;
    /* Space for pagination */
}

.jobs-swiper .swiper-pagination {
    bottom: 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.job-card {
    background-color: var(--color-secondary);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 320px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-accent);
}

.job-card__image-box {
    height: 60%;
    overflow: hidden;
}

.job-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.job-card:hover .job-card__img {
    transform: scale(1.1);
}

.job-card__content {
    padding: 1.5rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.job-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.job-card__arrow {
    display: inline-block;
    color: var(--color-gold);
    font-size: 1.5rem;
    align-self: flex-end;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.job-card:hover .job-card__arrow {
    transform: translateX(5px);
}

/* RTL Arrow Direction Fix:
   Arrow always points RIGHT → (proceed/details)
   Removed scaleX(-1) to avoid "back button" perception */


.job-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* --- Footer --- */
.footer {
    background-color: #0d1b2e;
    padding: 4rem 0;
    font-size: 0.9rem;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo--footer {
    margin-bottom: 1rem;
    display: block;
}

.logo--footer .header-logo {
    height: 50px;
}

.footer__links ul {
    margin-top: 1rem;
}

.footer__links a {
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__contact p {
    color: var(--color-text-muted);
    margin: 1rem 0;
}

.socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-text-muted);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-muted);
    font-weight: bold;
    font-size: 0.8rem;
}

.social-icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(100, 255, 218, 0.1);
}

/* --- Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background: var(--color-secondary);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-text-muted);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

[dir="rtl"] .modal__close {
    right: auto;
    left: 20px;
}

.modal__title {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Success State */
.modal__success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: #ffd700;
    /* Pure gold for stars */
}

/* =========================================
   STATS SECTION (Impact Trust Bar)
   ========================================= */
.stats-section {
    padding: 3rem 0;
    /* Compact vertical padding */
    background: rgba(10, 25, 47, 0.5);
    /* Slight dark overlay */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-gold);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 5px 15px rgba(207, 170, 109, 0.2);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--color-white);
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Adjustments for Stats */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 2.5rem;
    }

    .stat-divider {
        display: none;
        /* Hide vertical lines on mobile */
    }
}

/* =========================================
   BENEFITS SECTION (Working Conditions)
   ========================================= */
.benefits-section {
    background-color: #0b1d36;
    /* Slightly lighter navy for contrast */
    position: relative;
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.benefit-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-white);
    opacity: 0.05;
    pointer-events: none;
    line-height: 1;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--color-white);
}

.benefit-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-card p span {
    color: var(--color-white);
    font-weight: 600;
}

/* Mobile Adjustments for Benefits */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem;
        text-align: center;
    }

    .benefit-number {
        right: 50%;
        transform: translateX(50%);
        top: 10px;
        opacity: 0.03;
    }
}

/* =========================================
   REQUIREMENTS SECTION (Homepage)
   ========================================= */
.requirements-section {
    background-color: var(--color-primary);
    /* Matches body bg */
    position: relative;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.req-card {
    background: rgba(255, 255, 255, 0.03);
    /* Glass Effect */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s ease;
}

.req-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 170, 109, 0.4);
}

.req-icon {
    width: 50px;
    height: 50px;
    background: rgba(207, 170, 109, 0.15);
    /* Gold tint */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.req-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.req-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.req-link {
    color: var(--color-text-light);
    border-bottom: 1px dotted var(--color-gold);
    transition: 0.3s;
}

.req-link:hover {
    color: var(--color-gold);
}

.btn--full {
    width: 100%;
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1.2rem;
    border-radius: 4px;
    /* Slight rounding like screenshot */
}

/* Mobile Adjustments for Req Section */
@media (max-width: 768px) {
    .req-grid {
        grid-template-columns: 1fr;
    }

    .req-card {
        padding: 1.5rem;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }
}

/* =========================================
   JOB DETAILS PAGE (Global)
   ========================================= */
.job-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    overflow: hidden;
    /* <--- ДОБАВИТЬ ЭТО */
}

.job-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Application Steps (Job Details) --- */
.app-steps {
    margin: 3rem 0;
}

.app-steps__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-white);
    border-left: 4px solid var(--color-gold);
    padding-left: 1rem;
    line-height: 1.2;
}

.app-steps__title span {
    color: var(--color-gold);
}

.app-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.step-card__icon {
    width: 45px;
    height: 45px;
    background: rgba(207, 170, 109, 0.15);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-card__info h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.step-card__info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin: 0;
}

.step-card__info a {
    color: var(--color-gold);
    text-decoration: underline;
}

.job-info-bar {
    background: var(--color-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-top: -2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* =========================================
   JOB DETAILS CONTENT (Global)
   ========================================= */
.job-content h3 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--color-gold);
}

.job-content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 2rem;
}

.job-content li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    color: var(--color-text-light);
}

/* Icons */
.job-content li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1rem;
    color: var(--color-gold);
}

#job-responsibilities li::before {
    content: "\f105";
    /* angle-right */
}

#job-requirements li::before {
    content: "\f058";
    /* circle-check */
    color: var(--color-accent);
}

#job-benefits li::before {
    content: "\f005";
    /* star */
    color: #ffd700;
}

/* =========================================
   4. MEDIA QUERIES (MOBILE REFACTOR)
   ========================================= */
@media (max-width: 768px) {

    /* 1. HEADER ALIGNMENT FIX */
    .header__container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__actions {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-right: 0;
    }

    .burger-menu {
        display: flex;
        position: relative;
        z-index: 10000;
        margin: 0;
        padding: 5px;
    }

    /* 2. TYPOGRAPHY SCALING */
    html {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    .hero__title {
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    /* 3. SPACING & PADDING */
    .section {
        padding: 40px 0;
    }

    .hero {
        min-height: 100dvh;
        height: auto;
        padding: 100px 0 60px;
        align-items: center;
    }

    .job-content {
        /* Top: 2rem | Right: 20px | Bottom: 140px (for button) | Left: 20px */
        padding: 2rem 20px 140px 20px !important;
        width: 100%;
        overflow-x: hidden;
    }

    .job-content h3 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
    }

    .job-content ul {
        padding-left: 0;
        margin-left: 0;
    }

    .job-content p,
    .job-content li {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

    /* 4. NAVIGATION (Mobile Fullscreen) */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    [dir="rtl"] .nav {
        left: 0;
        right: auto;
        transform: translateX(-100%);
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.5rem;
    }

    /* Mobile: Swiper Visible */
    .jobs-swiper {
        display: block;
    }

    .jobs-grid {
        display: flex;
    }

    /* Job Page Mobile Fixes */
    .job-hero {
        height: auto;
        min-height: 300px;
        padding-bottom: 2rem;
        align-items: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Desktop Styles (Strict Grid Restoration) */
@media (min-width: 769px) {

    /* 1. Constraint Container Width */
    .container,
    .header__container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px;
        width: 100%;
    }

    /* 2. Desktop Grid (Splide Destroyed) */
    .splide__list {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 20px !important;
        transform: none !important;
        width: 100% !important;
    }

    .splide__slide {
        width: auto !important;
        margin: 0 !important;
    }

    .splide__pagination {
        display: none !important;
    }

    /* 3. Fix Job Card Height */
    .job-card {
        height: 100%;
        min-height: 380px;
    }
}

/* --- Job Details Content --- */
.job-content {
    padding-top: 4rem;
    padding-bottom: 8rem;
    background-color: var(--color-primary);
    min-height: 60vh;
}

.job-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

/* Splide Customization */
.splide__track {
    padding-bottom: 30px;
    /* Space for pagination */
}

.splide__pagination {
    bottom: -5px;
}

.splide__pagination__page.is-active {
    background: var(--color-gold);
    transform: scale(1.2);
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

/* About Hero */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.about-hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/about-hero.png.png') center/cover no-repeat;
    opacity: 0.05;
}

.about-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.9) 100%);
    z-index: 2;
}

.about-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 8rem 0 4rem;
}

.about-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    background: var(--color-secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.mission-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image__frame {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.mission-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mission-image__frame:hover .mission-image__img {
    transform: scale(1.05);
}

.mission-image__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(207, 170, 109, 0.3);
    border-radius: 24px;
    pointer-events: none;
}

.mission-label {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.mission-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(207, 170, 109, 0.1);
    border: 1px solid var(--color-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 1rem;
}

.mission-badge i {
    font-size: 1.2rem;
}

/* About Stats Section */
.about-stats-section {
    background: var(--color-primary);
    border-top: 1px solid rgba(207, 170, 109, 0.2);
    border-bottom: 1px solid rgba(207, 170, 109, 0.2);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.about-stat-item {
    padding: 2rem 1rem;
    position: relative;
}

.about-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(207, 170, 109, 0.3);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--color-gold);
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.about-stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    color: var(--color-gold);
    font-weight: 700;
    display: inline;
}

.about-stat-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Section */
.values-section {
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.values-section .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.values-section .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(207, 170, 109, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(207, 170, 109, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(207, 170, 109, 0.2) 0%, rgba(207, 170, 109, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-gold);
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.value-card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About CTA Section */
.about-cta-section {
    background: var(--color-primary);
    text-align: center;
    padding: 6rem 0;
}

.about-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.about-cta-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn--lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* About Page Mobile Responsive */
@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .mission-image__frame {
        height: 350px;
    }

    .mission-image__icon {
        font-size: 4rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
    }

    .about-hero__content {
        padding: 6rem 0 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stat-item::after {
        display: none;
    }

    .about-stat-item {
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(207, 170, 109, 0.15);
    }

    .about-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .value-card {
        padding: 2rem;
    }
}

/* RTL Support for About Page */
[dir="rtl"] .mission-badge {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-stat-item::after {
    right: auto;
    left: 0;
}

/* ==========================================
   WIZARD PAGE STYLES (Clean Professional)
   ========================================== */

/* Global Overflow Prevention */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Wizard Page - Professional Gradient Background */
.wizard-page {
    background: linear-gradient(180deg, var(--color-primary) 0%, #020c1b 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Ensure content is properly layered */
.wizard-page .header {
    position: fixed;
    z-index: 1000;
}

.wizard-page .wizard-main,
.wizard-page .footer {
    position: relative;
    z-index: 1;
}

.wizard-header {
    background: rgba(2, 6, 23, 0.7);
    /* More transparent */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wizard-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Progress Bar - Premium */
.wizard-progress {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   WIZARD PROGRESS BAR (Premium Redesign)
   ========================================== */

.wizard-progress {
    margin-bottom: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-progress__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.wizard-progress__label {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
}

.wizard-progress__percent {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.5px;
}

.wizard-progress__track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.wizard-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold) 0%, #F6D365 50%, var(--color-gold) 100%);
    border-radius: 4px;
    box-shadow:
        0 0 12px rgba(207, 170, 109, 0.6),
        0 0 4px rgba(207, 170, 109, 0.8);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Shimmer effect on the fill */
.wizard-progress__fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Wizard Card - Glassmorphism Ultra */
.wizard-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner glow */
    border-radius: 24px;
    padding: 4rem;
    max-width: 750px;
    margin: 0 auto 3rem;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wizard-card:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.wizard-step {
    width: 100%;
}

.wizard-question {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    background: linear-gradient(135deg, #FFF 0%, #E2E8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Soft shadow for readability */
}

/* Form Inputs - Premium */
.wizard-input-group {
    margin-bottom: 2rem;
}

.wizard-input {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--color-white);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.wizard-input:focus {
    border-color: var(--color-gold);
    background: rgba(207, 170, 109, 0.05);
    box-shadow: 0 0 0 4px rgba(207, 170, 109, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.wizard-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   CUSTOM NUMBER INPUT CONTROLS
   ========================================== */

/* Hide native browser controls */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
}

/* Wrapper for positioning buttons */
.wizard-input-wrapper {
    position: relative;
    width: 100%;
}

.wizard-input-wrapper .wizard-input {
    padding-right: 55px;
    /* Space for spin buttons */
}

/* Container for custom buttons */
.spin-buttons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 5;
}

.spin-btn {
    width: 32px;
    height: 24px;
    border: none;
    background: rgba(207, 170, 109, 0.15);
    color: var(--color-gold);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.spin-btn:hover {
    background: rgba(207, 170, 109, 0.35);
    color: #fff;
    transform: scale(1.1);
}

.spin-btn:active {
    background: rgba(207, 170, 109, 0.5);
    transform: scale(0.95);
}

.spin-up {
    border-radius: 6px 6px 2px 2px;
}

.spin-down {
    border-radius: 2px 2px 6px 6px;
}

/* ==========================================
   FILE UPLOAD DROPZONE (Premium)
   ========================================== */

.file-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed rgba(207, 170, 109, 0.4);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 200px;
}

.file-dropzone:hover {
    border-color: var(--color-gold);
    background: rgba(207, 170, 109, 0.05);
    transform: translateY(-2px);
}

.file-dropzone.dragover {
    border-color: var(--color-gold);
    background: rgba(207, 170, 109, 0.1);
    box-shadow: 0 0 30px rgba(207, 170, 109, 0.2);
}

.file-dropzone__input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-dropzone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    pointer-events: none;
    z-index: 1;
}

.file-dropzone__icon {
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.file-dropzone:hover .file-dropzone__icon {
    opacity: 1;
    transform: translateY(-5px);
}

.file-dropzone__text {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 500;
}

.file-dropzone__hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.file-dropzone__preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    z-index: 1;
}

.file-dropzone__preview.has-image {
    display: flex;
}

.file-dropzone__preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.file-dropzone.has-file .file-dropzone__content {
    opacity: 0.3;
}

/* Tile Selectors (Radio/Checkbox) - Cinematic */
.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

.wizard-option {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.wizard-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.wizard-option__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wizard-option__tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wizard-option:hover .wizard-option__tile {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.wizard-option input:checked+.wizard-option__tile {
    background: rgba(207, 170, 109, 0.15);
    border-color: var(--color-gold);
    box-shadow: 0 10px 25px rgba(207, 170, 109, 0.15);
    transform: translateY(-4px);
}

.wizard-option__icon {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.wizard-option input:checked+.wizard-option__tile .wizard-option__icon {
    color: var(--color-gold);
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(207, 170, 109, 0.5));
}

.wizard-option__label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.wizard-option input:checked+.wizard-option__tile .wizard-option__label {
    color: #FFF;
}

/* Wizard Actions - основные стили перенесены в секцию RESPONSIVE ниже */

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.btn--outline:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Success Screen */
.success-screen {
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.success-icon {
    font-size: 5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(207, 170, 109, 0.4));
    animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.manager-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    border: 1px solid rgba(207, 170, 109, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.manager-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--color-gold);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(207, 170, 109, 0.3);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #005f8f 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.pulse-btn {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(207, 170, 109, 0.7);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(207, 170, 109, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(207, 170, 109, 0);
    }
}

/* =========================================
   WIZARD PAGE - RESPONSIVE (Mobile First Fix)
   ========================================= */

/* Базовые исправления для wizard-page */
.wizard-page .wizard-main {
    padding-top: calc(var(--header-height) + 1rem);
    min-height: 100vh;
    display: flex;
}

/* Кнопки навигации - базовые стили */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 1rem;
    gap: 1rem;
}

.wizard-actions .btn {
    flex: 1;
    text-align: center;
}

/* ========== MOBILE STYLES (max-width: 768px) ========== */
@media (max-width: 768px) {

    /* === ГЛОБАЛЬНЫЙ FIX OVERFLOW === */
    .wizard-page {
        overflow-x: hidden;
    }

    /* === MAIN CONTAINER === */
    .wizard-page .wizard-main {
        padding-top: var(--header-height);
        padding-bottom: 80px;
        /* Место для кнопок */
        height: 100dvh;
        /* Строго высота экрана, без скролла */
        min-height: unset;
        /* Сбрасываем min-height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Центрируем по вертикали */
    }

    /* Контейнер внутри main */
    .wizard-page .wizard-main>.container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        padding: 0 16px;
        /* Небольшие боковые отступы */
        max-width: 100%;
        width: 100%;
        overflow: visible;
        /* Разрешаем выход теней */
        box-sizing: border-box;
    }

    /* === СКРЫВАЕМ FOOTER НА WIZARD === */
    .wizard-page .footer {
        display: none;
    }

    /* === PROGRESS BAR === */
    .wizard-page .wizard-progress {
        margin-bottom: 1rem;
        /* Уменьшенный отступ */
        padding: 0;
        margin-top: auto;
        /* Прижимаем к верху если flex */
    }

    .wizard-progress__label {
        font-size: 0.7rem;
    }

    .wizard-progress__percent {
        font-size: 0.8rem;
    }

    /* === WIZARD CARD === */
    .wizard-card {
        padding: 1.5rem;
        /* Оптимальный padding */
        border-radius: 20px;
        min-height: unset;
        /* Убираем min-height чтобы не распирало */
        margin: 0;
        width: 100%;
        /* На всю ширину контейнера */
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: auto;
        /* Центрирование в паре с margin-top auto у прогресса */
    }

    .wizard-question {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    /* === INPUT FIELDS === */
    .wizard-input {
        padding: 1rem 1rem;
        min-height: 56px;
        /* Достаточная высота для touch */
        font-size: 16px;
        /* Предотвращает zoom на iOS */
        border-radius: 12px;
        box-sizing: border-box;
    }

    .wizard-input-group {
        margin-bottom: 1.25rem;
    }

    /* === OPTIONS GRID === */
    .wizard-options-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .wizard-option__tile {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1rem 1.25rem;
        gap: 1rem;
        text-align: left;
        border-radius: 12px;
    }

    .wizard-option__icon {
        margin-bottom: 0;
        font-size: 1.5rem;
        min-width: 32px;
    }

    .wizard-option__label {
        font-size: 0.95rem;
    }

    /* === FILE DROPZONE === */
    .file-dropzone {
        padding: 2rem 1.5rem;
        min-height: 150px;
        border-radius: 12px;
    }

    .file-dropzone__icon {
        font-size: 2.5rem;
    }

    .file-dropzone__text {
        font-size: 0.95rem;
    }

    /* === FIXED BOTTOM NAVIGATION === */
    .wizard-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        /* Safe area для iPhone X+ */
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(207, 170, 109, 0.2);
        z-index: 100;
        /* Высокий z-index чтобы быть поверх всего */
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
        gap: 0.75rem;
    }

    .wizard-actions .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .wizard-actions .btn--primary {
        flex: 1.5;
        /* Кнопка Next/Submit больше */
    }

    .wizard-actions .btn--outline {
        flex: 1;
    }

    /* === SUCCESS SCREEN === */
    .success-screen {
        padding: 1rem 0;
    }

    .success-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .manager-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
        border-radius: 16px;
    }

    .contact-buttons {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .contact-buttons .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* ========== EXTRA SMALL SCREENS (max-width: 380px) ========== */
@media (max-width: 380px) {
    .wizard-question {
        font-size: 1.2rem;
    }

    .wizard-card {
        padding: 1.25rem 1rem;
    }

    .wizard-actions .btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .wizard-option__tile {
        padding: 0.85rem 1rem;
    }
}

/* =========================================
   INTL-TEL-INPUT DARK THEME OVERRIDE
   Полная интеграция с Premium Cinematic Dark/Gold Theme
   ========================================= */

/* ========== CSS ПЕРЕМЕННЫЕ ДЛЯ ТЕМИЗАЦИИ ========== */
/* Официальные переменные intl-tel-input для кастомизации */
.iti {
    /* Основные цвета */
    --iti-border-color: rgba(207, 170, 109, 0.3);
    --iti-dialcode-color: var(--color-gold);
    --iti-dropdown-bg: var(--color-secondary);
    --iti-arrow-color: var(--color-gold);
    --iti-hover-color: rgba(207, 170, 109, 0.15);
    --iti-selected-country-arrow-padding: 8px;

    /* НЕ переопределяем размеры флагов — используем дефолтные из библиотеки */
    /* --iti-flag-height и --iti-flag-width НЕ ТРОГАЕМ чтобы не сломать спрайт */

    /* Контейнер: расширяем на всю ширину */
    width: 100%;
}



/* Основной input поля телефона */
.iti__tel-input,
.iti input[type="tel"] {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-left: 90px;
    /* Место для флага и кода */
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--color-white);
    font-size: 1.1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.iti__tel-input:focus,
.iti input[type="tel"]:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(207, 170, 109, 0.15);
}

.iti__tel-input::placeholder,
.iti input[type="tel"]::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* Кнопка выбора страны */
.iti__country-container {
    padding: 0;
}

.iti__selected-country {
    background: rgba(207, 170, 109, 0.1);
    border: none;
    border-radius: 16px 0 0 16px;
    padding: 0 12px;
    transition: all 0.3s ease;
}

.iti__selected-country:hover {
    background: rgba(207, 170, 109, 0.2);
}

.iti__selected-country-primary {
    padding: 12px 8px;
}

/* Dial Code отображение */
.iti__selected-dial-code {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 6px;
}

/* Стрелка dropdown */
.iti__arrow {
    border-top-color: var(--color-gold);
    margin-left: 6px;
}

.iti__arrow--up {
    border-bottom-color: var(--color-gold);
}

/* ========== COUNTRY DROPDOWN LIST ========== */
.iti__country-list {
    background: var(--color-secondary);
    border: 1px solid rgba(207, 170, 109, 0.2);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto !important;
    overflow-x: hidden;
    z-index: 100000;
    /* Очень высокий z-index для перекрытия всех элементов */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Контейнер dropdown (когда вынесен в body) */
.iti--container {
    z-index: 100000 !important;
    position: fixed !important;
}


/* Элементы списка стран */
.iti__country {
    padding: 10px 14px;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.iti__country:hover {
    background: rgba(207, 170, 109, 0.15);
    color: var(--color-white);
}

.iti__country.iti__active,
.iti__country.iti__highlight {
    background: rgba(207, 170, 109, 0.2);
    color: var(--color-gold);
}

/* Название страны */
.iti__country-name {
    color: inherit;
    margin-right: 8px;
}

/* Код страны в списке */
.iti__dial-code {
    color: var(--color-gold);
    opacity: 0.7;
}

/* Поле поиска в dropdown */
.iti__search-input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    padding: 12px 14px;
    padding-left: 38px;
    /* Место для иконки поиска */
    margin: 12px;
    width: calc(100% - 24px);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.iti__search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(207, 170, 109, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.iti__search-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* Разделитель (Preferred Countries) */

.iti__divider {
    border-bottom: 1px solid rgba(207, 170, 109, 0.15);
    margin: 0;
    padding: 0;
}

/* Флаги — минимальные исправления БЕЗ изменения спрайта */
/* ВАЖНО: НЕ меняем width, height, background-size — это сломает спрайт! */
.iti__country-list .iti__flag-box {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

/* Элементы списка как flex для правильного выравнивания */
.iti__country {
    display: flex !important;
    align-items: center;
}



/* ========== SCROLLBAR для dropdown ========== */
.iti__country-list::-webkit-scrollbar {
    width: 6px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: rgba(207, 170, 109, 0.4);
    border-radius: 3px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: rgba(207, 170, 109, 0.6);
}

/* ========== RTL SUPPORT ========== */
[dir="rtl"] .iti__tel-input,
[dir="rtl"] .iti input[type="tel"] {
    padding-left: 1.25rem;
    padding-right: 90px;
}

[dir="rtl"] .iti__selected-country {
    border-radius: 0 16px 16px 0;
}

[dir="rtl"] .iti__selected-dial-code {
    margin-left: 0;
    margin-right: 6px;
}

[dir="rtl"] .iti__arrow {
    margin-left: 0;
    margin-right: 6px;
}

/* ========== MOBILE ADJUSTMENTS ========== */
@media (max-width: 480px) {

    .iti__tel-input,
    .iti input[type="tel"] {
        padding-left: 80px;
        font-size: 1rem;
    }

    .iti__selected-dial-code {
        font-size: 0.85rem;
    }

    .iti__country-list {
        max-height: 200px;
    }
}

/* ========== ITI MOBILE SCROLL FIX ========== */
.iti__country-list {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

/* Ensure dropdown is above other elements */
.iti--container {
    z-index: 9999 !important;
}

@media (max-width: 768px) {
    .iti__country-list {
        max-height: 50vh;
        position: relative;
    }

    /* Fix for iOS Safari scroll issues */
    .iti__country-list::-webkit-scrollbar {
        width: 8px;
    }
}

/* =========================================
   ITI BOTTOM SHEET — Mobile Country Picker
   Modern Bottom Sheet UX like Telegram/WhatsApp
   ========================================= */

/* ========== BACKDROP OVERLAY ========== */
.iti-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.iti-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ========== BOTTOM SHEET CONTAINER ========== */
.iti-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85vh;
    max-height: 85vh;
    background: var(--color-secondary);
    border-radius: 24px 24px 0 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
    touch-action: none;
    /* Блокируем скролл на самом контейнере, скролл только внутри списка */
}

.iti-bottom-sheet.active {
    transform: translateY(0);
}

/* ========== HANDLE BAR (Drag indicator) ========== */
.iti-bottom-sheet__handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 10px auto 6px;
    flex-shrink: 0;
}

/* ========== HEADER ========== */
.iti-bottom-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.iti-bottom-sheet__title {
    color: var(--color-gold);
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.iti-bottom-sheet__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.iti-bottom-sheet__close:hover,
.iti-bottom-sheet__close:active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* ========== STICKY SEARCH ========== */
.iti-bottom-sheet__search {
    padding: 12px 16px;
    background: var(--color-secondary);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.iti-bottom-sheet__search-input {
    width: 100%;
    padding: 14px 16px;
    padding-left: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.iti-bottom-sheet__search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(207, 170, 109, 0.15);
}

.iti-bottom-sheet__search-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

.iti-bottom-sheet__search-wrapper {
    position: relative;
}

.iti-bottom-sheet__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1rem;
    pointer-events: none;
}

/* ========== COUNTRY LIST ========== */
.iti-bottom-sheet__list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.iti-bottom-sheet__country {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 14px;
    color: var(--color-text-light);
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.iti-bottom-sheet__country:active {
    background: rgba(207, 170, 109, 0.2);
}

.iti-bottom-sheet__country.selected {
    background: rgba(207, 170, 109, 0.12);
}

.iti-bottom-sheet__country.selected .iti-bottom-sheet__country-name {
    color: var(--color-gold);
    font-weight: 500;
}

.iti-bottom-sheet__country-flag {
    font-size: 1.5rem;
    line-height: 1;
    width: 28px;
    text-align: center;
}

.iti-bottom-sheet__country-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iti-bottom-sheet__country-name {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.iti-bottom-sheet__dial-code {
    font-size: 0.9rem;
    color: var(--color-gold);
    opacity: 0.8;
    font-weight: 500;
}

/* Preferred countries divider */
.iti-bottom-sheet__divider {
    height: 1px;
    background: rgba(207, 170, 109, 0.2);
    margin: 0;
}

/* No results message */
.iti-bottom-sheet__no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.iti-bottom-sheet__no-results i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ========== LIST SCROLLBAR ========== */
.iti-bottom-sheet__list::-webkit-scrollbar {
    width: 6px;
}

.iti-bottom-sheet__list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.iti-bottom-sheet__list::-webkit-scrollbar-thumb {
    background: rgba(207, 170, 109, 0.3);
    border-radius: 3px;
}

.iti-bottom-sheet__list::-webkit-scrollbar-thumb:hover {
    background: rgba(207, 170, 109, 0.5);
}

/* ========== RTL SUPPORT ========== */
[dir="rtl"] .iti-bottom-sheet__search-input {
    padding-left: 16px;
    padding-right: 44px;
}

[dir="rtl"] .iti-bottom-sheet__search-icon {
    left: auto;
    right: 14px;
}

[dir="rtl"] .iti-bottom-sheet__country {
    flex-direction: row-reverse;
}

[dir="rtl"] .iti-bottom-sheet__country-info {
    flex-direction: row-reverse;
}

/* ========== DESKTOP IMPROVEMENTS ========== */
@media (min-width: 769px) {

    /* ===== ИСПРАВЛЕНИЕ FULLSCREEN POPUP НА ДЕСКТОПЕ ===== */
    /* intl-tel-input v25 по умолчанию открывает dropdown как fullscreen */
    /* Переопределяем это поведение для нормального dropdown */

    .iti--container.iti--fullscreen-popup {
        position: absolute !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .iti--container.iti--fullscreen-popup .iti__country-list {
        position: relative !important;
        max-height: 350px;
        width: 320px;
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        background: var(--color-secondary);
        border: 1px solid rgba(207, 170, 109, 0.2);
        overflow: hidden;
    }

    /* Скрываем overlay на десктопе */
    .iti--container.iti--fullscreen-popup::before {
        display: none !important;
    }

    /* Поле поиска в dropdown */
    .iti--fullscreen-popup .iti__search-input {
        position: sticky;
        top: 0;
        z-index: 10;
        background: var(--color-secondary);
        margin: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 14px 16px;
        color: var(--color-white);
        font-size: 0.95rem;
    }

    .iti--fullscreen-popup .iti__search-input:focus {
        outline: none;
        border-bottom-color: var(--color-gold);
    }

    .iti--fullscreen-popup .iti__search-input::placeholder {
        color: var(--color-text-muted);
    }

    /* Контейнер списка стран */
    .iti--fullscreen-popup .iti__country-list-inner {
        max-height: 290px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Элементы списка стран */
    .iti--fullscreen-popup .iti__country {
        padding: 12px 16px;
        color: var(--color-text-muted);
        transition: all 0.15s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .iti--fullscreen-popup .iti__country:hover {
        background: rgba(207, 170, 109, 0.12);
        color: var(--color-white);
    }

    .iti--fullscreen-popup .iti__country.iti__active,
    .iti--fullscreen-popup .iti__country.iti__highlight {
        background: rgba(207, 170, 109, 0.18);
        color: var(--color-gold);
    }

    .iti--fullscreen-popup .iti__country-name {
        color: inherit;
    }

    .iti--fullscreen-popup .iti__dial-code {
        color: var(--color-gold);
        opacity: 0.8;
    }

    /* Разделитель preferred countries */
    .iti--fullscreen-popup .iti__divider {
        border-bottom: 1px solid rgba(207, 170, 109, 0.2);
        margin: 0;
    }

    /* Скроллбар */
    .iti--fullscreen-popup .iti__country-list-inner::-webkit-scrollbar {
        width: 6px;
    }

    .iti--fullscreen-popup .iti__country-list-inner::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    .iti--fullscreen-popup .iti__country-list-inner::-webkit-scrollbar-thumb {
        background: rgba(207, 170, 109, 0.3);
        border-radius: 3px;
    }

    .iti--fullscreen-popup .iti__country-list-inner::-webkit-scrollbar-thumb:hover {
        background: rgba(207, 170, 109, 0.5);
    }

    /* ===== FALLBACK для обычного dropdown (не fullscreen) ===== */
    .iti__country-list {
        max-height: 350px;
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    /* Sticky search field */
    .iti__search-input {
        position: sticky;
        top: 0;
        z-index: 10;
        background: var(--color-secondary);
        margin: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 12px 14px;
    }

    /* Увеличенные элементы списка */
    .iti__country {
        padding: 12px 16px;
    }
}


/* ========== MOBILE: Hide native dropdown when sheet is active ========== */
@media (max-width: 768px) {
    body.iti-sheet-open {
        overflow: hidden;
        touch-action: none;
    }

    body.iti-sheet-open .iti__country-list {
        display: none !important;
    }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .iti-bottom-sheet {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* =========================================
   WHY RUSSIA SECTION - BENTO GRID
   ========================================= */

.why-russia {
    padding: 6rem 0;
    background: linear-gradient(180deg,
            var(--color-primary) 0%,
            rgba(17, 34, 64, 0.95) 50%,
            var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.why-russia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%,
            rgba(207, 170, 109, 0.08) 0%,
            transparent 50%);
    pointer-events: none;
}

.why-russia .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.why-russia .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Bento Card Base */
.bento-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(207, 170, 109, 0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    /* Default visible - GSAP will animate if available */
    opacity: 1;
    transform: translateY(0);
}

/* Initial hidden state - applied by GSAP */
.bento-card.gsap-hidden {
    opacity: 0;
    transform: translateY(40px);
}


.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(207, 170, 109, 0.05) 0%,
            transparent 60%);
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.bento-card:hover {
    border-color: rgba(207, 170, 109, 0.5);
    box-shadow:
        0 0 30px rgba(207, 170, 109, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.bento-card:hover::before {
    opacity: 0.5;
}

/* Grid Placement */
.bento-card--1 {
    grid-column: span 6;
}

.bento-card--2 {
    grid-column: span 6;
}

.bento-card--3 {
    grid-column: span 4;
}

.bento-card--4 {
    grid-column: span 4;
}

.bento-card--cta {
    grid-column: span 4;
    background: linear-gradient(135deg,
            rgba(207, 170, 109, 0.2) 0%,
            rgba(17, 34, 64, 0.9) 100%);
    border-color: rgba(207, 170, 109, 0.4);
    text-align: center;
    justify-content: center;
    align-items: center;
}

.bento-card--cta:hover {
    background: linear-gradient(135deg,
            rgba(207, 170, 109, 0.3) 0%,
            rgba(17, 34, 64, 0.95) 100%);
}

/* Card Content */
.bento-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-gold), rgba(207, 170, 109, 0.6));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(207, 170, 109, 0.25);
}

.bento-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.bento-card__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

/* CTA Card Specific */
.bento-card--cta .bento-card__title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.bento-card--cta .bento-card__text {
    margin-bottom: 1.5rem;
    text-align: center;
}

.bento-card--cta .btn {
    width: 100%;
    max-width: 280px;
}

/* Large Number Watermark */
.bento-card__number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(207, 170, 109, 0.08);
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
}

/* Animation State */
.bento-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== MOBILE RESPONSIVENESS ========== */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card--1,
    .bento-card--2,
    .bento-card--3,
    .bento-card--4,
    .bento-card--cta {
        grid-column: span 1;
    }

    .bento-card--cta {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .why-russia {
        padding: 4rem 0;
    }

    .why-russia .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bento-card--1,
    .bento-card--2,
    .bento-card--3,
    .bento-card--4,
    .bento-card--cta {
        grid-column: span 1;
    }

    .bento-card {
        padding: 1.5rem;
    }

    .bento-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .bento-card__title {
        font-size: 1.1rem;
    }

    .bento-card__number {
        font-size: 3rem;
    }
}

/* RTL Support */
[dir="rtl"] .bento-card__number {
    right: auto;
    left: 1.5rem;
}

[dir="rtl"] .bento-card::before {
    background: linear-gradient(-135deg,
            rgba(207, 170, 109, 0.05) 0%,
            transparent 60%);
}


/* =========================================
   SEARCHABLE SELECT COMPONENTS
   Used for Country and Citizenship selection
   ========================================= */

/* Searchable Select Container */
.searchable-select {
    position: relative;
    cursor: pointer;
}

.searchable-select__display {
    cursor: pointer !important;
    padding-right: 2.5rem !important;
    /* Space for chevron */
}

[dir="rtl"] .searchable-select__display {
    padding-right: 1.25rem !important;
    padding-left: 2.5rem !important;
}

.searchable-select__icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 0.9rem;
    pointer-events: none;
    transition: transform 0.2s ease;
}

[dir="rtl"] .searchable-select__icon {
    right: auto;
    left: 1rem;
}

.searchable-select:hover .searchable-select__icon {
    color: var(--color-white);
}

.searchable-select:active .searchable-select__icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Citizenship "Other" Input Wrapper */
.citizenship-other-wrapper {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.citizenship-other-wrapper.visible {
    opacity: 1;
    max-height: 150px;
    margin-top: 2rem;
    padding-top: 1rem;
}

/* Styling for the "Other" text input */
.citizenship-other-wrapper .wizard-input {
    border-color: rgba(207, 170, 109, 0.3);
}

.citizenship-other-wrapper .wizard-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(207, 170, 109, 0.15);
}

/* =========================================
   REQUIREMENTS SECTION
   ========================================= */

.req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.req-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.req-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.req-card:active {
    transform: translateY(-2px);
}

.req-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(207, 170, 109, 0.1), rgba(207, 170, 109, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(207, 170, 109, 0.2);
}

.req-content h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.req-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .req-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .req-grid {
        grid-template-columns: 1fr;
    }

    .req-card {
        padding: 1.5rem;
    }
}