/**
 * Лендинг «Работа для ветеринаров» — стили изолированы под .job-landing
 */
.job-landing [id] {
    scroll-margin-top: 100px;
}

.job-landing {
    --jl-radius: 22px;
    --jl-radius-lg: 24px;
    --jl-blue: var(--m-blue, #2b93f4);
    --jl-blue-soft: rgba(43, 147, 244, 0.12);
    --jl-blue-muted: #e8f4fc;
    --jl-surface: #f4f8fb;
    --jl-surface-2: #eef4f9;
    --jl-text: var(--m-black, #262626);
    --jl-text-soft: #5c6d7a;
    --jl-shadow: 0 10px 40px rgba(15, 60, 100, 0.08);
    --jl-shadow-hover: 0 16px 48px rgba(15, 60, 100, 0.12);
    --jl-line: rgba(43, 147, 244, 0.22);
    font-family: "Montserrat", sans-serif;
    color: var(--jl-text);
    overflow-x: hidden;
}

.job-landing__container {
    width: 100%;
    max-width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.job-landing__wrap {
    padding-bottom: 80px;
}

/* ---------- Reveal animation ---------- */
.job-landing__reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.job-landing__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .job-landing__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Hero ---------- */
.job-landing__hero {
    position: relative;
    margin-bottom: 64px;
    padding: 56px 0 72px;
    background: linear-gradient(145deg, #f8fbff 0%, #eef6fc 45%, #e4f0fb 100%);
    overflow: hidden;
}

.job-landing__hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(43, 147, 244, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.job-landing__hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    left: -100px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(40, 184, 143, 0.1) 0%, transparent 68%);
    pointer-events: none;
}

.job-landing__hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.job-landing__hero h1 {
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--jl-text);
}

.job-landing__hero-lead {
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.55;
    color: var(--jl-text-soft);
    margin: 0 0 28px;
    max-width: 540px;
}

.job-landing__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.job-landing__btn {
    border-radius: 14px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0.01em;
    min-height: 48px !important;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.job-landing__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 147, 244, 0.28);
}

.job-landing__btn--ghost {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(43, 147, 244, 0.35) !important;
    color: var(--jl-blue) !important;
    font-weight: 700 !important;
}

.job-landing__btn--ghost:hover {
    background: #fff !important;
    border-color: var(--jl-blue) !important;
    box-shadow: var(--jl-shadow) !important;
}

.job-landing__hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    font-size: 14px;
    color: var(--jl-text-soft);
}

.job-landing__hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-landing__hero-trust i {
    color: var(--jl-blue);
    font-size: 16px;
}

.job-landing__hero-visual {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-landing__hero-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 28px 26px;
    background: #fff;
    border-radius: var(--jl-radius-lg);
    box-shadow: var(--jl-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.job-landing__hero-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--jl-blue);
    margin-bottom: 14px;
}

.job-landing__hero-stat {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: var(--jl-text);
    letter-spacing: -0.03em;
}

.job-landing__hero-stat small {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--jl-text-soft);
    margin-top: 10px;
    letter-spacing: 0;
}

.job-landing__hero-card-row {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--s-stroke, #f0f0f0);
}

.job-landing__hero-pill {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: var(--jl-blue-muted);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--jl-text);
}

.job-landing__hero-pill em {
    display: block;
    font-style: normal;
    font-size: 20px;
    font-weight: 800;
    color: var(--jl-blue);
    margin-bottom: 4px;
}

.job-landing__hero-blob {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 147, 244, 0.25), rgba(40, 184, 143, 0.15));
    filter: blur(40px);
    right: 10%;
    top: 10%;
    z-index: -1;
}

/* ---------- Sections common ---------- */
.job-landing__section {
    margin-bottom: 72px;
}

.job-landing__section-head {
    margin-bottom: 36px;
    max-width: 720px;
}

.job-landing__section-head h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.job-landing__section-head p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--jl-text-soft);
    margin: 0;
}

.job-landing__prose {
    font-size: 17px;
    line-height: 1.7;
    color: var(--jl-text-soft);
}

.job-landing__prose p {
    margin: 0 0 18px;
}

.job-landing__prose p:last-child {
    margin-bottom: 0;
}

.job-landing__prose strong {
    color: var(--jl-text);
    font-weight: 600;
}

.job-landing__prose a {
    color: var(--jl-blue);
    text-decoration: underline;
}

.job-landing__prose a:hover {
    text-decoration: none;
}

/* ---------- Benefits ---------- */
.job-landing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.job-landing__benefit-card {
    background: #fff;
    border-radius: var(--jl-radius);
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(15, 60, 100, 0.06);
    border: 1px solid rgba(230, 238, 245, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-landing__benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jl-shadow-hover);
    border-color: rgba(43, 147, 244, 0.25);
}

.job-landing__benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--jl-blue-soft);
    color: var(--jl-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.job-landing__benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.job-landing__benefit-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--jl-text-soft);
    margin: 0;
}

/* ---------- Timeline ---------- */
.job-landing__timeline {
    position: relative;
    display: grid;
    gap: 0;
}

.job-landing__timeline::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background: linear-gradient(180deg, var(--jl-blue), rgba(43, 147, 244, 0.2));
    border-radius: 3px;
}

.job-landing__timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 22px 0 22px 0;
}

.job-landing__timeline-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--jl-blue);
    color: var(--jl-blue);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(43, 147, 244, 0.15);
}

.job-landing__timeline-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.job-landing__timeline-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--jl-text-soft);
    margin: 0;
}

/* ---------- Money section (accent) ---------- */
.job-landing__money {
    margin: 88px 0 72px;
    padding: 48px 40px 52px;
    background: linear-gradient(160deg, #fff 0%, var(--jl-surface) 50%, #e8f2fa 100%);
    border-radius: var(--jl-radius-lg);
    border: 1px solid var(--jl-line);
    box-shadow: var(--jl-shadow);
}

.job-landing__money-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.job-landing__money-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.job-landing__money-head p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--jl-text-soft);
    margin: 0;
}

.job-landing__money-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--jl-blue);
    margin-bottom: 20px;
    border: 1px solid var(--jl-line);
}

.job-landing__flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.job-landing__flow-step {
    background: #fff;
    border-radius: var(--jl-radius);
    padding: 20px 18px 22px;
    border: 1px solid rgba(230, 238, 245, 1);
    box-shadow: 0 4px 20px rgba(15, 60, 100, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.job-landing__flow-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--jl-shadow-hover);
}

.job-landing__flow-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--jl-blue);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.job-landing__flow-step h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--jl-text);
}

.job-landing__limits {
    display: block;
    background: #fff;
    border-radius: var(--jl-radius);
    padding: 28px 32px;
    border: 1px dashed rgba(43, 147, 244, 0.35);
}

.job-landing__limits h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--jl-blue);
    margin: 0 0 16px;
}

.job-landing__limits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex: 1;
}

.job-landing__limit-item {
    text-align: center;
    padding: 16px 12px;
    background: var(--jl-surface-2);
    border-radius: 16px;
}

.job-landing__limit-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--jl-text);
    margin-bottom: 4px;
}

.job-landing__limit-label {
    font-size: 13px;
    color: var(--jl-text-soft);
    line-height: 1.35;
}

.job-landing__limits-note {
    font-size: 14px;
    line-height: 1.55;
    color: var(--jl-text-soft);
    margin: 20px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--s-stroke, #f0f0f0);
}

/* ---------- Distribution ---------- */
.job-landing__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.job-landing__split-card {
    border-radius: var(--jl-radius);
    padding: 32px 28px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.job-landing__split-card--fee {
    background: linear-gradient(145deg, #5a6570 0%, #3d4650 100%);
}

.job-landing__split-card--pool {
    background: linear-gradient(145deg, var(--jl-blue) 0%, #1a7fd4 100%);
}

.job-landing__split-card .job-landing__split-percent {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.job-landing__split-card p {
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
    opacity: 0.95;
}

.job-landing__rule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.job-landing__rule-card {
    background: #fff;
    border-radius: var(--jl-radius);
    padding: 22px 22px 24px;
    border: 1px solid rgba(230, 238, 245, 1);
    box-shadow: 0 4px 20px rgba(15, 60, 100, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-landing__rule-card:hover {
    border-color: rgba(43, 147, 244, 0.3);
    box-shadow: var(--jl-shadow);
}

.job-landing__rule-card i {
    color: var(--jl-blue);
    font-size: 20px;
    margin-bottom: 12px;
    display: block;
}

.job-landing__rule-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.job-landing__rule-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--jl-text-soft);
    margin: 0;
}

/* ---------- Audience cards ---------- */
.job-landing__audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.job-landing__audience-card {
    background: var(--jl-surface);
    border-radius: var(--jl-radius);
    padding: 26px 24px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.job-landing__audience-card:hover {
    background: #fff;
    border-color: var(--jl-line);
    transform: translateY(-2px);
    box-shadow: var(--jl-shadow);
}

.job-landing__audience-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-landing__audience-card h4 i {
    color: var(--jl-blue);
}

.job-landing__audience-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--jl-text-soft);
    margin: 0;
}

/* ---------- Notice / legal tone ---------- */
.job-landing__notice-box {
    background: #fff;
    border-radius: var(--jl-radius);
    padding: 32px 32px 28px;
    border-left: 5px solid var(--jl-blue);
    box-shadow: var(--jl-shadow);
}

.job-landing__notice-box ul {
    margin: 0;
    padding: 0 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--jl-text-soft);
}

.job-landing__notice-box li {
    margin-bottom: 12px;
}

.job-landing__notice-box li:last-child {
    margin-bottom: 0;
}

/* ---------- CTA strip ---------- */
.job-landing__cta-inline {
    margin: 48px 0 56px;
    padding: 36px 40px;
    background: linear-gradient(90deg, var(--jl-blue) 0%, #1e8fe8 100%);
    border-radius: var(--jl-radius-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 16px 48px rgba(43, 147, 244, 0.35);
}

.job-landing__cta-inline h2 {
    color: #fff;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    margin: 0;
    max-width: 520px;
    line-height: 1.3;
}

.job-landing__cta-inline .btn {
    background: #fff !important;
    color: var(--jl-blue) !important;
    border-color: #fff !important;
    flex-shrink: 0;
}

.job-landing__cta-inline .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.job-landing__cta-bottom {
    text-align: center;
    padding: 56px 32px 48px;
    background: var(--jl-surface);
    border-radius: var(--jl-radius-lg);
    border: 1px solid var(--jl-line);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.job-landing__cta-bottom h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 12px;
}

.job-landing__cta-bottom > p {
    font-size: 17px;
    color: var(--jl-text-soft);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.55;
}

.job-landing__cta-links {
    font-size: 15px;
    color: var(--jl-text-soft);
    margin-top: 24px;
}

.job-landing__cta-links a {
    color: var(--jl-blue);
    text-decoration: underline;
}

/* ---------- Mid CTA after intro ---------- */
.job-landing__mini-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--jl-blue-muted);
    border-radius: var(--jl-radius);
    border: 1px solid var(--jl-line);
}

.job-landing__mini-cta p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 15px;
    font-weight: 600;
    color: var(--jl-text);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .job-landing__hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .job-landing__hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .job-landing__hero-cta {
        justify-content: center;
    }

    .job-landing__hero-trust {
        justify-content: center;
    }

    .job-landing__hero-visual {
        order: -1;
        min-height: 200px;
    }

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

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

    .job-landing__limits-grid {
        grid-template-columns: 1fr;
    }

    .job-landing__split {
        grid-template-columns: 1fr;
    }

    .job-landing__rule-grid {
        grid-template-columns: 1fr;
    }

    .job-landing__audience-grid {
        grid-template-columns: 1fr;
    }

    .job-landing__cta-inline {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .job-landing__hero {
        padding: 40px 0 48px;
        margin-bottom: 40px;
    }

    .job-landing__section {
        margin-bottom: 52px;
    }

    .job-landing__grid {
        grid-template-columns: 1fr;
    }

    .job-landing__flow {
        grid-template-columns: 1fr;
    }

    .job-landing__money {
        padding: 32px 20px 36px;
        margin: 56px 0 48px;
    }

    .job-landing__timeline::before {
        left: 19px;
    }

    .job-landing__timeline-step {
        grid-template-columns: 40px 1fr;
        gap: 16px;
    }

    .job-landing__timeline-num {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .job-landing__btn {
        width: 100%;
        justify-content: center;
    }

    .job-landing__hero-cta {
        flex-direction: column;
    }

    .job-landing__container {
        max-width: 100%;
        padding: 0 16px;
    }
}
