/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a3764;
    --color-primary-dark: #0f2444;
    --color-accent: #c41e3a;
    --color-accent-hover: #a01830;
    --color-bg: #f5f7fa;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e4ea;
    --color-card-bg: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1200px;
    --header-height: 146px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 4px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.4);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header__logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.header__nav {
    display: flex;
    gap: 32px;
}

.header__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.header__link:hover::after {
    width: 100%;
}

.header__link:hover {
    color: var(--color-accent);
}

.header__link--active {
    color: var(--color-accent);
}

.header__link--active::after {
    width: 100%;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HEADER CONTACTS ROW ===== */
.header__contacts {
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header__contacts-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.header__recruiter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.header__recruiter-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.header__recruiter-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header__recruiter-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.header__recruiter-name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.header__recruiter-role {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.header__channels {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.header__channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-white);
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.header__channel:hover {
    transform: translateY(-1px);
}

.header__channel svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.header__channel--phone {
    color: #66bb6a;
    border-color: rgba(76, 175, 80, 0.3);
}

.header__channel--phone:hover {
    background: #66bb6a;
    color: #fff;
}

.header__channel--tg {
    color: #29b6f6;
    border-color: rgba(41, 182, 246, 0.3);
}

.header__channel--tg:hover {
    background: #29b6f6;
    color: #fff;
}

.header__channel--max {
    color: #ff7043;
    border-color: rgba(255, 87, 34, 0.3);
}

.header__channel--max:hover {
    background: #ff7043;
    color: #fff;
}

.header__channel--email {
    color: #ce93d8;
    border-color: rgba(171, 71, 188, 0.3);
}

.header__channel--email:hover {
    background: #ce93d8;
    color: #fff;
}

/* ===== HERO ===== */
.hero {
    margin-top: var(--header-height);
    position: relative;
    min-height: auto;
    height: calc(100vh - var(--header-height));
    max-height: 700px;
    display: flex;
    align-items: center;
    background: url('/static/img/hero-bg.jpg') center center / cover no-repeat;
    color: var(--color-white);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 26, 51, 0.92) 0%,
        rgba(10, 26, 51, 0.82) 40%,
        rgba(10, 26, 51, 0.45) 70%,
        rgba(10, 26, 51, 0.15) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 40px 0 50px;
}

.hero__text {
    max-width: 850px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(196, 30, 58, 0.25);
    border: 1px solid rgba(196, 30, 58, 0.4);
    border-radius: 50px;
    padding: 6px 18px;
    margin-bottom: 20px;
}

.hero__title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero__cards {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero__card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 20px 26px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    flex: 1;
    min-width: 160px;
}

.hero__card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero__card-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero__card-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.35;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn--outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 26px;
    font-size: 0.92rem;
}

.header__cta {
    white-space: nowrap;
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 70px 0;
    background: var(--color-white);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.advantage-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.advantage-card__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 55, 100, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.advantage-card__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.advantage-card__text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ===== STEPS ===== */
.steps {
    padding: 70px 0;
    background: var(--color-bg);
}

.steps__timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.steps__timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 36px;
    bottom: 36px;
    width: 2px;
    background: var(--color-border);
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.step-card__num {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(26, 55, 100, 0.3);
}

.step-card__content {
    padding-top: 8px;
}

.step-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.step-card__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ===== BENEFITS ===== */
.benefits {
    padding: 70px 0;
    background: var(--color-white);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.benefit-card__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
}

.benefit-card__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.benefit-card__text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
}
.faq {
    padding: 80px 0;
    background: var(--color-white);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: var(--color-primary);
}

.faq__item--open {
    border-color: var(--color-primary);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: var(--transition);
}

.faq__question:hover {
    background: var(--color-bg);
}

.faq__chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--color-text-light);
}

.faq__item--open .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__answer p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.faq__item--open .faq__answer {
    max-height: 300px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a1a33;
    padding: 22px 0;
}

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

.footer__left {}

.footer__logo {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.04em;
}

.footer__text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.footer__right {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .advantages__grid,
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: 2.6rem;
    }

    .hero {
        max-height: none;
        height: auto;
        min-height: 400px;
    }

    .header__channel span {
        display: none;
    }

    .header__channel {
        padding: 8px;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    :root { --header-height: 200px; }

    .header__nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
        z-index: 100;
    }

    .header__nav--open {
        display: flex;
    }

    .header__burger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .header__contacts-inner {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 14px 0;
        gap: 10px;
    }

    .header__recruiter {
        gap: 12px;
    }

    .header__recruiter-photo {
        width: 46px;
        height: 46px;
    }

    .header__recruiter-name {
        font-size: 1rem;
    }

    .header__recruiter-role {
        font-size: 0.72rem;
    }

    .header__channels {
        gap: 6px;
        flex-wrap: wrap;
    }

    .header__channel {
        padding: 8px 14px;
        font-size: 0.82rem;
        gap: 6px;
        border-radius: 50px;
    }

    .header__channel span {
        display: inline;
    }

    .header__channel svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        max-height: none;
        height: auto;
        min-height: 360px;
    }

    .hero__overlay {
        background: linear-gradient(
            0deg,
            rgba(10, 26, 51, 0.92) 0%,
            rgba(10, 26, 51, 0.8) 50%,
            rgba(10, 26, 51, 0.5) 100%
        );
    }

    .hero__content {
        padding: 30px 0 40px;
    }

    .hero__text {
        max-width: 100%;
    }

    .hero__badge {
        font-size: 0.72rem;
        padding: 5px 14px;
        margin-bottom: 14px;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__desc {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .hero__cards {
        flex-direction: column;
    }

    .hero__card {
        min-width: auto;
    }

    .hero__card-value {
        font-size: 1.3rem;
    }

    .advantages__grid,
    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .faq {
        padding: 50px 0;
    }

    .advantages,
    .benefits {
        padding: 50px 0;
    }

    .steps {
        padding: 50px 0;
    }

    .hero__actions .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .footer__inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root { --header-height: 210px; }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 28px;
    }

    .hero { max-height: none; height: auto; min-height: 320px; }
    .hero__title { font-size: 1.5rem; }
    .hero__badge { font-size: 0.65rem; padding: 4px 12px; }
    .hero__desc { font-size: 0.9rem; }
    .hero__card { padding: 14px 18px; }
    .hero__card-value { font-size: 1.15rem; }
    .hero__card-label { font-size: 0.78rem; }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .header__contacts-inner {
        padding: 10px 0;
        gap: 8px;
    }

    .header__recruiter-photo {
        width: 40px;
        height: 40px;
    }

    .header__recruiter-name {
        font-size: 0.92rem;
    }

    .header__recruiter-role {
        font-size: 0.65rem;
    }

    .header__channel {
        padding: 7px 12px;
        font-size: 0.78rem;
        border-radius: 50px;
    }

    .header__channel svg {
        width: 16px;
        height: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .step-card__num {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .steps__timeline::before {
        left: 22px;
    }
}
