:root {
    --bg: #000;
    --fg: #f3f3f3;
    --muted: #b9c0cb;
    --card: #0e0f12;
    --accent: #32A0E5;
    --accent2: #2aa3ff;
    --glass: rgba(255, 255, 255, .06);
    --stroke: rgba(255, 255, 255, .12);
    --shadow: 0 15px 50px rgba(0, 0, 0, .5);
    --success: #00ff99;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    background: linear-gradient(135deg, #32A0E522, transparent), #000;
    color: var(--fg);
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth
}

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

/* FULLSCREEN HERO */
.block1 {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 44px) 0;
}

.inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    padding: 0 clamp(16px, 4vw, 40px)
}

.grid {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.grid > div {
    width: calc(50% - 12.5px);
}

.kicker {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
    color: var(--muted)
}

h1 {
    margin: 0 0 10px;
    font-weight: 900;
    letter-spacing: .01em;
    text-transform: uppercase;
    line-height: .92;
    font-size: 72px
}

.ghost {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .26)
}

.sub {
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.5;
    color: #dfe6ef;
    max-width: 60ch
}

.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 14px
}

.badge {
    background: #0d1117;
    border: 1px solid var(--stroke);
    color: #d9e2ef;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 12px 34px rgba(30, 144, 255, .35);
    transition: transform .15s ease, box-shadow .2s ease;
    margin-top: 15px;
    color: #ffffff;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 46px rgba(30, 144, 255, .45)
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;    
    background: #00ff99;
    box-shadow: 0 0 8px #00ff99, 0 0 15px rgba(0, 255, 153, .5);
}

/* Right column (no inner scroll; auto trim by JS) */
.vacancy-wrap {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--glass);
    border-radius: 22px;
    padding: clamp(12px, 2vw, 18px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    overflow: hidden; /* ensure no scrollbars */
}

.vacancy-list {
    display: grid;
    gap: 12px
}

.card {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform .15s ease, border-color .2s ease, background .2s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 163, 255, .55);
    background: #12141a
}

.card-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    flex: 1;
    overflow: hidden
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: rotate(45deg);
    opacity: 0.2;
    filter: blur(5px);
}

.background img {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 60%;
}

.card-title {
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.card-sub {
    color: #bfc8d8;
    font-size: 14px;
    white-space: nowrap
}

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

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    border: 1px solid var(--stroke);
    box-shadow: 0 12px 34px rgba(30, 144, 255, .35);
    color: #ffffff;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px)
}

.credits {
    margin-top: 28px;
    color: #7f8da3;
    font-size: 12px;
    text-align: center
}

.bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff99;
    box-shadow: 0 0 8px #00ff99, 0 0 15px rgba(0, 255, 153, .5);
    flex-shrink: 0;
    position: relative;
}

.bullet:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00ff99;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff99, 0 0 15px rgba(0, 255, 153, .5);
    animation: 2s infinite bullet;
    content: "";
}

.popup-form {
    --bg: #0b0f11;
    --panel: #0f1416;
    --muted: #98a0a6;
    --radius: 26px;

    font-family: "Poppins", system-ui, Segoe UI, Roboto, Arial;
    color: #e8eef2;
}

.popup-form .overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(2, 6, 8, 0.66), rgba(2, 6, 8, 0.78));
    backdrop-filter: blur(3px);
    z-index: 999;
    padding: 40px;
}

.popup-form .overlay.show {
    display: flex;
}

.popup-form .modal {
    width: min(720px, 96vw);
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid var(--stroke);
    backdrop-filter: blur(8px);
}

.popup-form .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}

.popup-form .modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.popup-form .modal-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.popup-form .close {
    background: transparent;
    border: 0;
    color: #d9e6ea;
    font-weight: 900;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 18px;
}

.popup-form .modal-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.popup-form .form-card {
    background: var(--panel);
    border-radius: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.popup-form .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.popup-form label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.popup-form input[type="text"],
.popup-form input[type="tel"] {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    border-radius: 12px;
    color: #f0f6f7;
    outline: none;
    font-size: 15px;
}

.popup-form input::placeholder {
    color: #65707a;
}

.popup-form input:focus {
    border-color: rgba(42, 163, 255, .55);
    background: #12141a
}

.popup-form .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.popup-form .submit-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 34px rgba(30, 144, 255, .35);
    transition: transform .15s ease, box-shadow .2s ease;
    margin-top: 15px;
    font-size: 16px;
    border: none
}

.popup-form input[disabled] {
    color: #aaa
}

.popup-form .submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 46px rgba(30, 144, 255, .45)
}

.popup-form .hint {
    color: var(--muted);
    font-size: 13px;
}

.popup-form .error {
    color: #ff6b6b;
    font-size: 13px;
    display: none;
    margin-top: 6px;
}

@keyframes bullet {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}
/* Responsive */
@media (max-width: 1260px) {
    h1 {
        font-size: 64px;
    }
}
@media (max-width: 1100px) {
    .grid {
        grid-template-columns:1fr
    }

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

    .badges {
        justify-content: center
    }

    .sub {
        text-wrap: balance;
        max-width: unset
    }

    .grid > div {
        width: 100%;
    }
}
@media (max-width: 767px) {
    h1 {
        font-size: 36px;
    }
    .block1 {
        padding: 60px 0
    }
    .grid {
        gap: 40px
    }
    .cta {
        display: none;
    }
    .vacancy-wrap {
        border-radius: 15px;
    }
    .card {
        flex-wrap: wrap;
        gap: 10px
    }
    .card-left {
        width: 100%;
        justify-content: center;
    }
    .card-right {
        width: 100%;
        justify-content: center;
    }
    .card-title {
        width: 100%;
        text-align: center;
    }
    .card-sub {
        width: 100%;
        text-align: center;
    }
    .vacancy-list {
        padding: 10px
    }
    .kicker {
        text-align: center;
    }
    h1 {
        text-align: center;
    }
    .sub {
        text-align: center;
    }
    .popup-form .modal-header {
        padding: 10px
    }
    .popup-form .modal-body {
        padding: 10px
    }
    .popup-form .overlay {
        padding: 20px
    }
    .popup-form .submit-btn {
        margin-top: 0
    }
    .popup-form .actions {
        margin-top: 25px
    }
    .popup-form .close {
        top: 5px;
        right: 5px
    }
}