@import url("//cdn.web-fonts.ge/fonts/bpg-arial/css/bpg-arial.min.css");
:root {
    --ink: #101828;
    --muted: #667085;
    --line: #d0d5dd;
    --paper: #ffffff;
    --soft: #f6f7f9;
    --accent: #e63946;
    --accent-dark: #bf1f2c;
    --focus: rgba(230, 57, 70, 0.18);
    --shadow: 0 20px 70px rgba(16, 24, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: "BPG Arial", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(208, 213, 221, 0.8);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-weight: 700;
}

.brand img {
    width: 128px;
    max-height: 42px;
    object-fit: contain;
}

.topbar-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(40px, 6vw, 76px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #fff0f1 100%);
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-size: clamp(1.3rem, 4.5vw, 4rem);
}

h2 {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--accent);
}

.button.primary:hover {
    background: var(--accent-dark);
}

.button.secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
}

.button.full {
    width: 100%;
}

.quick-info {
    display: grid;
    gap: 6px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.quick-info span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.86rem;
}

.quick-info span:first-child {
    margin-top: 0;
}

.quick-info strong {
    font-size: 1.08rem;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(42px, 7vw, 84px) 0;
}

.job-content {
    min-width: 0;
}

.job-content h2:first-child {
    margin-top: 0;
}

.job-content p {
    margin: 0 0 16px;
    color: #344054;
}

.job-content ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #344054;
}

.apply-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.apply-panel h2 {
    margin-top: 0;
}

.apply-panel p {
    margin: 0 0 18px;
    color: var(--muted);
}

form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 0.92rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-weight: 400;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid var(--focus);
    border-color: var(--accent);
}

.notice {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice.success {
    color: #027a48;
    background: #ecfdf3;
}

.notice.error {
    color: #b42318;
    background: #fef3f2;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

@media (max-width: 900px) {
    .hero,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .quick-info,
    .apply-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .topbar {
        min-height: 64px;
        padding-inline: 16px;
    }

    .brand span {
        display: none;
    }

    .brand img {
        width: 112px;
    }

    .hero {
        padding-inline: 18px;
    }

    .content-grid {
        width: calc(100% - 32px);
    }

    .button {
        width: 100%;
    }
}
