:root {
    color-scheme: light;
    --red: #e31837;
    --red-dark: #b81229;
    --dark: #111827;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #eef0f4;
    --light: #f6f7fb;
    --white: #ffffff;
    --green: #20a95a;
    --blue: #2f7ee6;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--light);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
    font-size: 16px;
}

button,
a {
    touch-action: manipulation;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(17, 24, 39, .08);
    backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand span span,
.footer-brand span span {
    color: var(--red);
}

.brand-logo,
.footer-logo {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(17, 24, 39, .12));
}

.footer-logo {
    width: 36px;
    height: 36px;
}

.header-action {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 15px;
    background: rgba(227, 24, 55, .1);
    color: var(--red);
    font-weight: 850;
}

.hero-dark {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 88px 20px 44px;
    background: var(--dark);
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 35%;
    opacity: .42;
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(17,24,39,.22) 0%, rgba(17,24,39,.82) 54%, #111827 100%),
        radial-gradient(circle at 70% 22%, rgba(227,24,55,.32), transparent 36%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin: 0 auto;
    animation: fadeInUp .72s ease-out both;
}

.hero-badge {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    margin-top: 17px;
    color: #fff;
    font-size: 43px;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-content p {
    margin-top: 14px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.hero-primary,
.hero-secondary,
.messenger,
.job-body button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.hero-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 18px 38px rgba(227, 24, 55, .34);
}

.hero-secondary {
    background: #fff;
    color: var(--dark);
}

.pulse {
    animation: buttonPulse 1.8s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 18px 38px rgba(227, 24, 55, .30);
    }
    50% {
        transform: scale(1.018);
        box-shadow: 0 22px 48px rgba(227, 24, 55, .46);
    }
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.trust-row div {
    text-align: center;
}

.trust-row b,
.trust-row span {
    display: block;
}

.trust-row b {
    color: #fff;
    font-size: 23px;
}

.trust-row span {
    margin-top: 4px;
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

.section {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 44px 20px;
}

.section.white {
    background: #fff;
}

.section.muted {
    background: var(--light);
}

.section-head {
    margin-bottom: 24px;
    text-align: center;
}

.section-head h2,
.final-content h2,
.modal-panel h2 {
    color: var(--dark);
    font-size: 27px;
    line-height: 1.12;
}

.section-head p,
.final-content p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f9fafb;
}

.benefit-icon {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 999px;
    font-size: 21px;
}

.benefit-icon.blue {
    background: #dbeafe;
}

.benefit-icon.green {
    background: #dcfce7;
}

.benefit-icon.violet {
    background: #ede9fe;
}

.benefit-card h3 {
    color: var(--dark);
    font-size: 18px;
}

.benefit-card p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.vacancy-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 2px 20px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.vacancy-scroll::-webkit-scrollbar {
    display: none;
}

.job-card {
    flex: 0 0 280px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17,24,39,.06);
    scroll-snap-align: center;
}

.job-visual {
    display: grid;
    height: 145px;
    place-items: center;
    color: #fff;
    font-size: 58px;
}

.job-visual.construction {
    background: linear-gradient(135deg, #374151, #9ca3af);
}

.job-visual.logistics {
    background: linear-gradient(135deg, #1d4ed8, #93c5fd);
}

.job-visual.farm {
    background: linear-gradient(135deg, #15803d, #86efac);
}

.job-body {
    padding: 18px;
}

.job-tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 850;
}

.job-body h3 {
    margin-top: 12px;
    color: var(--dark);
    font-size: 20px;
}

.job-body p {
    margin-top: 7px;
    min-height: 60px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.job-body button {
    min-height: 46px;
    margin-top: 14px;
    background: #f3f4f6;
    color: var(--dark);
    font-size: 15px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 24px;
    margin-left: 15px;
    padding: 4px 0 4px 18px;
    border-left: 2px solid #eef0f4;
}

.timeline-item {
    position: relative;
}

.timeline-item > span {
    position: absolute;
    left: -35px;
    top: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(227, 24, 55, .24);
}

.timeline-item h3 {
    color: var(--dark);
    font-size: 18px;
}

.timeline-item p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 48px 20px;
    background: var(--dark);
}

.final-content {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    margin: 0 auto;
}

.final-content h2 {
    color: #fff;
    font-size: 32px;
}

.final-content p {
    color: rgba(255,255,255,.62);
}

.leaf-bg {
    position: absolute;
    top: -50px;
    right: -34px;
    color: rgba(255,255,255,.05);
    font-size: 170px;
    transform: rotate(-16deg);
}

.site-footer {
    padding: 34px 20px 24px;
    background: #0b1020;
    text-align: center;
}

.footer-brand {
    justify-content: center;
    color: #fff;
}

.site-footer p {
    width: min(100%, 440px);
    margin: 12px auto 0;
    color: rgba(255,255,255,.48);
    font-size: 13px;
    line-height: 1.45;
}

.site-footer a {
    color: rgba(255,255,255,.78);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    align-items: end;
    padding: 12px;
    background: rgba(17, 24, 39, .62);
}

.modal.hidden,
.hidden {
    display: none;
}

.modal-panel {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 -16px 54px rgba(17, 24, 39, .28);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1f2937;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.step-label {
    margin-bottom: 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.step-copy {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.phone-label {
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 850;
}

.iti {
    width: 100%;
}

.iti input,
.iti__search-input,
input[type="tel"],
input[type="text"] {
    width: 100%;
    min-height: 58px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 16px !important;
    color: var(--dark);
    background: #fff;
}

.iti input:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
    outline: 3px solid rgba(227, 24, 55, .16);
    border-color: var(--red);
}

.iti__country-list {
    max-width: calc(100vw - 24px);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .18);
}

.modal-submit {
    margin-top: 16px;
}

.hint,
.privacy {
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.38;
}

.privacy a {
    color: var(--red-dark);
    font-weight: 850;
}

.success {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #e9f8ef;
    color: #13763d;
    font-size: 13px;
    font-weight: 950;
}

#managerText {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.42;
}

.messenger {
    margin-top: 14px;
    color: #fff;
}

.whatsapp {
    background: var(--green);
}

.telegram {
    background: var(--blue);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 700px) {
    .modal {
        align-items: center;
    }

    .hero-content {
        text-align: left;
    }
}
