:root {
    --green: #197056;
    --green-dark: #004e2f;
    --green-deep: #073f31;
    --green-light: #eaf3ef;
    --gold: #d3ac63;
    --ink: #22312c;
    --muted: #77827d;
    --line: #e5ebe8;
    --paper: #fff;
    --canvas: #f7f9f7;
    --danger: #b94137;
    font-family: "Roboto", Arial, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--canvas);
}

a { color: inherit; }

.site-header {
    min-height: 92px;
    padding: 8px max(6.5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 78, 47, .07);
}

.brand { display: inline-flex; flex: 0 0 76px; align-items: center; }
.brand img { display: block; width: 76px; height: 76px; object-fit: contain; }
.header-link {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.header-link span { padding-left: 5px; color: var(--green); }

.hero {
    min-height: 370px;
    padding: 68px max(10vw, 28px) 64px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    background:
        radial-gradient(ellipse at 86% 20%, rgba(84, 145, 104, .28), transparent 34%),
        linear-gradient(112deg, #073e30 0%, #07513b 56%, #17664d 100%);
}

.hero-copy { position: relative; z-index: 1; width: min(820px, 100%); }
.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d7e9dd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 {
    margin: 22px 0 18px;
    font-family: "Oswald", sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.12;
}
.hero h1 em { color: #e1c98d; font-style: normal; }
.hero-copy > p { max-width: 570px; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.85; }
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    color: #e4eee8;
    font-size: 14px;
}
.note-icon { color: var(--gold); font-size: 17px; }

.application-wrap {
    width: min(1040px, calc(100% - 40px));
    margin: 30px auto 64px;
    padding: 0 0 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e8eeea;
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 16px 48px rgba(27, 62, 45, .07);
}
.form-intro {
    padding: 42px 52px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.section-kicker { color: var(--green); font-size: 10px; }
.form-intro h2 {
    margin: 6px 0 5px;
    color: var(--green-deep);
    font-family: "Oswald", sans-serif;
    font-size: 33px;
    font-weight: 500;
}
.form-intro p { margin: 0; color: #697770; font-size: 14px; line-height: 1.7; }
.required-mark, .field label b { color: var(--danger); }
.step-badge { display: flex; align-items: center; gap: 10px; color: #84918b; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.step-badge span:first-child { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--green-dark); background: var(--green-light); font-size: 12px; }

form { padding: 0 52px; background: var(--paper); }
.form-section { min-width: 0; margin: 0; padding: 35px 0 39px; border: 0; border-bottom: 1px solid var(--line); }
.form-section legend { position: relative; top: 18px; width: 100%; margin-bottom: 18px; padding: 0; display: flex; align-items: center; gap: 15px; color: var(--green-deep); }
.section-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid #d6e5dd; border-radius: 50%; color: var(--green); font-size: 12px; font-weight: 700; }
.form-section legend strong { display: block; font-size: 22px; font-weight: 700; line-height: 1.3; }
.form-section legend small { display: block; margin-top: 5px; color: #697770; font-size: 13px; font-weight: 400; line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; padding-top: 29px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .conditional-field > label { display: block; margin-bottom: 10px; color: #34443d; font-size: 14px; font-weight: 600; line-height: 1.6; }
.field label .hint, .conditional-field label .hint { color: #77847d; font-size: 12px; font-weight: 400; }
.field-help { display: block; margin-top: 7px; color: #77847d; font-size: 12px; line-height: 1.6; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .conditional-field input {
    width: 100%;
    min-height: 49px;
    padding: 13px 15px;
    border: 1px solid #dce5e0;
    border-radius: 7px;
    outline: none;
    color: #293a33;
    background: #fff;
    font: 400 14px "Roboto", Arial, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 102px; resize: vertical; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder, .conditional-field input::placeholder { color: #a0aaa5; }
.field input:focus, .field select:focus, .field textarea:focus, .conditional-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(25,112,86,.1); }
.field input[readonly] { color: #77827d; background: #f6f8f6; }
.iti { width: 100%; }
.iti input[type="tel"] { width: 100%; }
.iti__country-list { z-index: 20; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; top: 50%; left: 13px; z-index: 1; color: #829089; font-size: 12px; transform: translateY(-50%); }
.input-prefix input { padding-left: 28px !important; }
.choice-row, .choice-grid { display: flex; flex-wrap: wrap; gap: 13px 23px; }
.choice-grid { gap: 14px 22px; }
.choice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #51615a;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.65;
}
.choice input { width: 17px; height: 17px; margin: 0; accent-color: var(--green); }
.conditional-field { display: none; max-width: 560px; margin-top: 19px; }
.conditional-field.is-visible { display: block; }
.upload-box {
    min-height: 126px;
    margin-top: 27px;
    padding: 23px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px dashed #b8cdc1;
    border-radius: 7px;
    background: #f8fbf8;
}
.upload-symbol { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e7f1eb; font-size: 23px; }
.upload-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; color: #697770; font-size: 13px; line-height: 1.55; }
.upload-copy strong { color: #34443d; font-size: 15px; }
.upload-copy .file-name { color: var(--green); font-weight: 600; }
.upload-button { padding: 12px 17px; border: 1px solid #cfddd5; border-radius: 6px; color: var(--green-dark); background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
#resume { position: absolute; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.captcha-wrap { padding: 26px 0 0; }
.captcha-wrap .alert { margin: 0; }
.form-footer { padding: 30px 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-footer p { margin: 0; color: #697770; font-size: 13px; line-height: 1.6; }
.privacy-lock { margin-right: 5px; color: var(--green); font-size: 10px; }
.submit-button {
    min-width: 198px;
    padding: 15px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: var(--green);
    cursor: pointer;
    font: 600 14px "Roboto", Arial, sans-serif;
    transition: background .18s ease, transform .18s ease;
}
.submit-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.submit-button:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.submit-button span:last-child { font-size: 18px; }
.alert { margin: 22px 52px 0; padding: 17px 20px; border-radius: 7px; font-size: 14px; line-height: 1.7; }
.alert ul { margin: 8px 0 0; padding-left: 21px; }
.alert-success { color: #175f43; background: #eaf5ee; border: 1px solid #cfe7d7; }
.alert-error { color: #883b35; background: #fff2f0; border: 1px solid #f0d2cf; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.site-footer {
    min-height: 74px;
    padding: 20px max(10vw, 28px);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #e8eeea;
    color: #87918c;
    background: #fff;
    font-size: 12px;
}

@media (max-width: 760px) {
    .site-header { min-height: 82px; padding: 6px 22px; }
    .brand { flex-basis: 68px; }
    .brand img { width: 68px; height: 68px; }
    .hero { min-height: 350px; padding: 54px 26px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: clamp(39px, 10vw, 54px); }
    .application-wrap { width: min(100% - 24px, 700px); margin: 20px auto 36px; border-radius: 10px; }
    .form-intro { padding: 32px 28px 26px; }
    form { padding: 0 28px; }
    .alert { margin-right: 28px; margin-left: 28px; }
}

@media (max-width: 520px) {
    .header-link { font-size: 11px; }
    .hero { min-height: 340px; padding: 45px 23px; }
    .hero-copy > p { font-size: 15px; line-height: 1.8; }
    .form-intro { align-items: flex-start; }
    .step-badge { padding-top: 2px; font-size: 0; }
    .step-badge span:first-child { font-size: 11px; }
    .form-intro h2 { font-size: 28px; }
    .form-intro p { font-size: 13px; }
    .form-section legend { top: 14px; margin-bottom: 14px; gap: 12px; }
    .section-icon { width: 40px; height: 40px; flex-basis: 40px; }
    .form-section legend strong { font-size: 19px; }
    .form-section { padding: 28px 0 31px; }
    .form-section legend small { font-size: 12px; }
    .field-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; }
    .field.full { grid-column: auto; }
    .field > label, .conditional-field > label { font-size: 14px; }
    .choice-row, .choice-grid { gap: 14px 18px; }
    .upload-box { align-items: flex-start; flex-wrap: wrap; }
    .upload-copy { min-width: calc(100% - 60px); }
    .upload-button { margin-left: 58px; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .submit-button { width: 100%; }
    .site-footer { flex-direction: column; gap: 8px; padding: 18px 24px; }
}
