/* ===== CSS Variables ===== */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #2D3047;
    --accent: #FFB627;
    --telegram: #0088cc;
    --telegram-dark: #006699;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
    --bg-light: #FFF9F5;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-muted: #6B7280;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

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

h1,
h2,
h3 {
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-telegram {
    background: var(--telegram);
    color: white;
}

.btn-telegram:hover {
    background: var(--telegram-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-large {
    padding: 20px 48px;
    font-size: 20px;
}

.btn-vacancy {
    width: 100%;
    background: var(--primary);
    color: white;
    margin-top: auto;
}

.btn-vacancy:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-phone {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-phone a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== Advantages Section ===== */
.advantages {
    padding: 80px 0;
    background: var(--bg-white);
}

.advantages h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--secondary);
}

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

.advantage-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.advantage-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ===== Vacancies Section ===== */
.vacancies {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.vacancies h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--secondary);
}

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

.vacancy-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vacancy-card.featured {
    border: 2px solid var(--primary);
}

.vacancy-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.vacancy-badge.hot {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.vacancy-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.vacancy-salary {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.vacancy-details {
    margin-bottom: 20px;
}

.vacancy-details li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}

.vacancy-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--whatsapp);
    font-weight: 700;
}

.vacancy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--secondary);
    color: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 50px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    opacity: 0.85;
    font-size: 1rem;
}

.step-arrow {
    font-size: 2rem;
    opacity: 0.5;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-contacts {
    margin-bottom: 16px;
}

.footer-contacts p {
    margin: 8px 0;
}

.footer-contacts a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.telegram {
    background: var(--telegram);
}

.floating-btn.telegram:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.floating-btn.whatsapp {
    background: var(--whatsapp);
}

.floating-btn.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .step-arrow {
        display: none;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }

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

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        width: 54px;
        height: 54px;
    }

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

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .vacancy-card {
        padding: 24px 20px;
    }

    .advantage-card {
        padding: 24px;
    }
}