/* Строгий дизайн в цветовой гамме #000000, #bca252, #ffffff */

/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

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

body {
    font-family: 'Source Sans Pro', 'Open Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #0a0a0a;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* border-bottom: 2px solid #1a1a1a; */
    /* box-shadow: 0 4px 12px rgba(188, 162, 82, 0.4); */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #ffffff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #bca252;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: #000000;
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 3px solid #bca252;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('static/img/bg1.jpg') center center/cover no-repeat;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Roboto', sans-serif;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #bca252;
    color: #ffffff;
    border: 2px solid #bca252;
    box-shadow: 0 4px 12px rgba(188, 162, 82, 0.4);
}

.btn-primary:hover {
    background: #9a7a3a;
    border-color: #9a7a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 162, 82, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Facts Section */
.facts {
    padding: 80px 0;
    background: #0a0a0a;
    border-bottom: 2px solid #bca252;
}

.facts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.section-title {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #bca252;
}

.section-subtitle {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #ffffff;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.5;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bca252, #ffffff, #bca252);
}

.fact-card:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    transform: translateY(-4px);
    border-color: #ffffff;
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #bca252;
}

.fact-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(188, 162, 82, 0.5);
}

.fact-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 400;
    opacity: 0.9;
}

/* Guarantees Section */
.guarantees {
    padding: 80px 0;
    background: #000000;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.guarantees::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('static/img/bg2.jpg') center center/cover no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guarantee-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bca252, #ffffff, #bca252);
}

.guarantee-card:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    transform: translateY(-4px);
    border-color: #ffffff;
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #bca252;
}

.guarantee-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.guarantee-text {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

/* Vacancies Section */
.vacancies {
    padding: 80px 0;
    background: #0a0a0a;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.vacancies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.vacancy-card {
    background: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    color: #ffffff;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    transform: translateY(-4px);
    border-color: #ffffff;
}

.vacancy-header {
    background: #bca252;
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid #000000;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    overflow: hidden;
    background-color: #ffffff;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacancy-content {
    padding: 1.5rem;
}

.vacancy-title {
    font-family: 'Giorgio Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.vacancy-location {
    font-family: 'Graphik Web', sans-serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.vacancy-salary {
    font-family: 'Giorgio Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #000000;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    text-align: center;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    transform: translateY(-4px);
    border-color: #bca252;
}

.team-photo {
    width: 100%;
    height: 270px;
    background: #bca252;
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-family: 'Giorgio Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.team-photo .photo-placeholder {
    width: 100%;
    height: 100%;
    background: #bca252;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
    position: absolute;
    top: 0;
    left: 0;
}



/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #0a0a0a;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #1a1a1a;
    border: 2px solid #bca252;
    margin-bottom: 1rem;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    border-color: #ffffff;
}

.faq-item.active {
    border-color: #ffffff;
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.6);
}

.faq-question {
    background: #bca252;
    color: #ffffff;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid #000000;
}

.faq-question:hover {
    background: #9a7a3a;
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-question i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: #ffffff;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #1a1a1a;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: #0a0a0a;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.trust-card {
    min-width: 180px;
    height: 80px;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #bca252;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.trust-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.trust-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
}

.trust-carousel::-webkit-scrollbar {
    display: none;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(188, 162, 82, 0.3), transparent);
    transition: left 0.5s ease;
}

.trust-card:hover::before {
    left: 100%;
}

.trust-card:hover {
    /* background: #bca252; */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 162, 82, 0.5);
}



/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #000000;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 0;
    text-align: center;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bca252, #ffffff, #bca252);
}

.advantage-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    transform: translateY(-4px);
    border-color: #ffffff;
}

.advantage-card:hover::after {
    opacity: 0.2;
}

/* Фоновые изображения для карточек преимуществ */
.advantage-card:nth-child(1)::after {
    background-image: url('static/img/image1x1.jpg');
}

.advantage-card:nth-child(2)::after {
    background-image: url('static/img/image2x1.jpg');
}

.advantage-card:nth-child(3)::after {
    background-image: url('static/img/image3x1.jpg');
}

.advantage-card:nth-child(4)::after {
    background-image: url('static/img/image1x2.jpg');
}

.advantage-card:nth-child(5)::after {
    background-image: url('static/img/image2x2.jpg');
}

.advantage-card:nth-child(6)::after {
    background-image: url('static/img/image3x2.jpg');
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #bca252;
    position: relative;
    z-index: 1;
}

.advantage-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.advantage-text {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* How to Work Section */
.how-to-work {
    padding: 80px 0;
    background: #0a0a0a;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.how-to-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(188, 162, 82, 0.02) 50%, transparent 70%);
    pointer-events: none;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #bca252;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.4);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.step:hover .step-number::before {
    left: 100%;
}

.step-content {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2rem;
    border-radius: 0;
    flex-grow: 1;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
}

.step-content:hover {
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.5);
    transform: translateX(4px);
    border-color: #ffffff;
}

.step-title {
    font-family: 'Giorgio Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-description {
    font-family: 'Graphik Web', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}

/* Facts 6 Section */
.facts-6 {
    padding: 80px 0;
    background: #000000;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.facts-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('static/img/bg3.jpg') center center/cover no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.facts-6-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.fact-6-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 0;
    text-align: left;
    border: 2px solid #bca252;
    box-shadow: 0 4px 16px rgba(188, 162, 82, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.fact-6-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bca252, #ffffff, #bca252);
}

.fact-6-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    transform: translateY(-4px);
    border-color: #bca252;
}

.fact-6-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #bca252;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fact-6-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.fact-6-text {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
}



/* CTA Buttons */
.vacancies-cta,
.how-to-work-cta,
.facts-6-cta {
    text-align: center;
    margin-top: 3rem;
}

.vacancies-cta .btn,
.how-to-work-cta .btn,
.facts-6-cta .btn {
    font-size: 1rem;
    padding: 16px 32px;
    min-width: 280px;
    box-shadow: 0 6px 20px rgba(188, 162, 82, 0.4);
}

.vacancies-cta .btn:hover,
.how-to-work-cta .btn:hover,
.facts-6-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(188, 162, 82, 0.6);
}

/* Modal Windows */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    background: #1a1a1a;
    border: 3px solid #bca252;
    border-radius: 0;
    padding: 0;
    max-width: 500px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(188, 162, 82, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-header {
    background: #bca252;
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 2px solid #000000;
}

.modal-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close {
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: #ffffff;
    color: #bca252;
}

/* Application Form Modal */
.modal-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #bca252;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(188, 162, 82, 0.3);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

.modal-form .btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
}

/* Manager Modal */
.manager-info {
    padding: 2rem;
    text-align: center;
}

.manager-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #bca252;
    background: #bca252;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: #bca252;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
}

.manager-text {
    margin-bottom: 2rem;
}

.manager-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.manager-name {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manager-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    border: 2px solid #25d366;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
}

.btn-telegram {
    background: #0088cc;
    color: #ffffff;
    border: 2px solid #0088cc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.btn-telegram:hover {
    background: #006699;
    border-color: #006699;
}

/* Contact Section */
.contact-section {
    padding: 120px 0 80px;
    background: #000000;
    border-bottom: 2px solid #bca252;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('static/img/bg2.jpg') center center/cover no-repeat;
    opacity: 0.25;
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 3rem;
    border: 2px solid #bca252;
    box-shadow: 0 8px 32px rgba(188, 162, 82, 0.3);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bca252, #ffffff, #bca252);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #bca252;
    border-radius: 0;
    background: #ffffff;
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form .form-group input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(188, 162, 82, 0.3);
}

.contact-form .form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
    background: #bca252;
    color: #ffffff;
    border: 2px solid #bca252;
    box-shadow: 0 4px 12px rgba(188, 162, 82, 0.4);
}

.contact-form .btn:hover {
    background: #9a7a3a;
    border-color: #9a7a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 162, 82, 0.6);
}

/* Footer */
footer {
    background: #000000;
    padding: 40px 0;
    border-top: 3px solid #bca252;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #bca252, transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 300px;
}

.footer-section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.8rem;
}

.contact-item i {
    color: #cccccc;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-item span,
.contact-item a {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #bca252;
    text-decoration: underline;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.license-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.license-text a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.license-text a:hover {
    color: #bca252;
    text-decoration: underline;
}

.company-description {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.footer-divider {
    height: 1px;
    background: #bca252;
    margin: 2rem 0;
    opacity: 0.6;
}

.footer-copyright {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
    padding-top: 1rem;
}

/* Мобильное бургер-меню */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 1002;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 3px solid #bca252;
    background: #0a0a0a;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    color: #000000;
    background: #ffffff;
    border-radius: 50%;
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo img {
    height: 55px;
    width: auto;
    max-width: 150px;
}



.mobile-nav {
    padding: 1rem 0;
    width: 100%;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-item a {
    font-family: 'Graphik Web', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.mobile-menu-item i {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-left: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo img {
        height: 55px;
        max-width: 150px;
    }

    /* Мобильное меню на всю ширину */
    .mobile-menu {
        width: 100vw;
        left: -100vw;
    }
    
    .mobile-menu.active {
        left: 0;
    }

    .facts-grid,
    .guarantees-grid,
    .advantages-grid,
    .facts-6-grid,
    .vacancies-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-column {
        min-width: auto;
        width: 100%;
    }

    .faq-accordion {
        max-width: 100%;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .vacancies-cta .btn,
    .how-to-work-cta .btn,
    .facts-6-cta .btn {
        min-width: 250px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95vw;
        max-width: 400px;
    }

    .modal-header {
        padding: 1.2rem;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-form {
        padding: 1.5rem;
    }

    .manager-info {
        padding: 1.5rem;
    }

    .manager-photo {
        width: 100px;
        height: 100px;
    }

    .manager-name {
        font-size: 1.3rem;
    }

    .manager-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp,
    .btn-telegram {
        min-width: 200px;
        justify-content: center;
    }

    .company-logo img {
        height: auto;
        max-width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .footer-section-title {
        text-align: center;
    }

    .contact-item {
        justify-content: left;
    }

    .company-info {
        text-align: center;
        align-items: center;
    }

    .company-description {
        max-width: none;
    }

    .contact-section {
        padding: 100px 0 60px;
    }

    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-form .form-group input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .contact-form .btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}
