* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Candara", sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.4
}

:root {
    --green: #968916;
    --green-light: #e8f5ee;
    --green-mid: #2d9b5a;
    --green-dark: #0f4526;
    --gold: #c8860a;
    --gold-light: #fdf4e0;
    --cream: #faf8f4;
    --text: #1c2b1e;
    --muted: #4a6355;
    --border: #d4e6da;
    --white: #fff;
}

.hero-banner {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;

    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 248, 245, 0.88),
            rgba(245, 248, 255, 0.88));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    font-family: "Candara", sans-serif;

}

.hero-subtitle {
    color: #7BA5E3;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: sentence-case;
    margin-bottom: 10px;
    font-family: "Candara", sans-serif;

}

.hero-title {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    color: #173B7A;
    font-family: "Candara", sans-serif;

    margin-bottom: 15px;
}

.hero-title span {
    color: #F28C72;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #5F6368;
    max-width: 600px;

    margin: 0 auto 40px auto;

    font-family: "Candara", sans-serif;
}

@media(max-width:768px) {

    .hero-banner {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

.page {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px 60px
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 36px 0 18px
}

.section-label span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: sentence-case;
    color: var(--green)
}

.section-label::before,
.section-label::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--border)
}

.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-bottom: 22px;
    overflow: hidden
}

.job-header {
    padding: 22px 22px 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap
}

.job-badge {
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: sentence-case;
    padding: 4px 11px;
    border-radius: 18px;
    border: 1px solid rgba(26, 107, 60, 0.2);
    white-space: nowrap;
    margin-top: 4px
}

.job-badge.senior {
    background: var(--gold-light);
    color: var(--gold);
    border-color: rgba(200, 134, 10, 0.2)
}

.job-title {
    font-family: "Candara", sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    flex: 1;
    min-width: 180px
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 8px 22px 14px;
    border-bottom: 1px solid var(--border)
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted)
}

.meta-chip i {
    font-size: 16px;
    color: var(--green)
}

.job-body {
    padding: 18px 22px
}

.job-section h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: sentence-case;
    color: var(--green);
    margin-bottom: 8px
}

.job-section p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px
}

.resp-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 5px;
    margin-bottom: 4px
}

.resp-list li {
    font-size: 15px;
    color: var(--muted);
    padding: 5px 10px 5px 24px;
    background: var(--green-light);
    border-radius: 18px;
    position: relative;
    line-height: 1.5
}

.ctc-bar {
    background: var(--green-light);
    border-top: 1px solid var(--border);
    padding: 14px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.ctc-main {
    font-size: 28px;
    font-weight: 600;
    color: var(--green-dark);
    font-family: "Candara", sans-serif;
}

.ctc-sub {
    font-size: 15px;
    color: var(--muted)
}

.perks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px 22px 16px
}

.perk {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--muted);
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 18px
}

.perk i {
    font-size: 15px;
    color: var(--gold)
}

.apply-btn {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: "Candara", sans-serif;
    transition: background .15s
}

.apply-btn:hover {
    background: var(--green-dark)
}

.apply-btn.ghost {
    background: #fff;
    color: var(--green-dark);
    border: 1.5px solid var(--green)
}

.apply-btn.ghost:hover {
    background: var(--green-light)
}

.zones-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 28px
}

.zones-header {
    background: var(--green-dark);
    color: #fff;
    padding: 18px 22px
}

.zones-header h3 {
    font-family: "Candara", sans-serif;
    font-size: 26px;
    margin-bottom: 3px
}

.zones-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7)
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr))
}

.zone-card {
    padding: 16px 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.zone-name {
    font-weight: 600;
    font-size: 19px;
    color: var(--green-dark);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px
}

.zone-states ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zone-states li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.zone-dot {
    width: 7px;
    height: 7px;
    background: var(--green-mid);
    border-radius: 50%;
    flex-shrink: 0;
}


/* ── MODAL ── */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100%;
    background: rgba(15, 69, 38, 0.55);
    z-index: 100;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px
}

.modal-backdrop.open {
    display: flex
}

.modal {
    background: var(--white);
    border-radius: 18px;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    border: 1px solid var(--border)
}

.modal-top {
    background: var(--green-dark);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}



.modal-pretitle {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: sentence-case;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 4px
}

.modal-title {
    font-family: "Candara", sans-serif;
    font-size: 19px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    max-width: 400px
}

.modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
    margin-top: 2px
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.22)
}

.modal-body {
    padding: 22px
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px
}

.field-row.full {
    grid-template-columns: 1fr
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px
}

.field-label span {
    color: #c0392b;
    margin-left: 2px
}

.field-group input,
.field-group select,
.field-group textarea {
    font-family: "Candara", sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 8px 11px;
    outline: none;
    width: 100%;
    transition: border .15s
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    border-color: var(--green);
    background: #fff
}

.field-group textarea {
    resize: vertical;
    min-height: 72px
}

.field-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a6355' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px
}

.upload-box {
    border: 1px dashed var(--green-mid);
    border-radius: 18px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    background: var(--green-light)
}

.upload-box:hover {
    background: #ddf0e6
}

.upload-box i {
    font-size: 25px;
    color: var(--green-mid);
    display: block;
    margin-bottom: 4px
}

.upload-box p {
    font-size: 14px;
    color: var(--muted)
}

.upload-box input {
    display: none
}

.upload-name {
    font-size: 14px;
    color: var(--green);
    margin-top: 5px;
    font-weight: 500
}

.modal-footer {
    padding: 14px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.success-panel {
    display: none;
    text-align: center;
    padding: 36px 22px
}

.success-panel i {
    font-size: 40px;
    color: var(--green-mid);
    display: block;
    margin-bottom: 14px
}

.success-panel h3 {
    font-family: "Candara", sans-serif;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 6px
}

.success-panel p {
    font-size: 22px;
    color: var(--muted)
}

.err {
    font-size: 11px;
    color: #c0392b;
    margin-top: 3px;
    display: none
}

.animate-fade-up {
    animation: fadeUp .8s ease forwards;
}

.animate-slide-in {
    opacity: 0;
    animation: slideIn .8s ease forwards;
    animation-delay: var(--delay);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   HERO
======================================== */

.hero-banner img {
    animation: zoomHero 15s linear infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* ========================================
   JOB CARD
======================================== */

.job-card {
    transition: all .35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

/* ========================================
   COLOR CHIPS
======================================== */

.chip-blue {
    background: #eef5ff;
    color: #2563eb;
}

.chip-purple {
    background: #f5efff;
    color: #7c3aed;
}

.chip-teal {
    background: #ebfffc;
    color: #0f766e;
}

.chip-orange {
    background: #fff3e8;
    color: #ea580c;
}

.meta-chip {
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
}

.meta-chip i {
    margin-right: 4px;
}

/* ========================================
   BADGES
======================================== */

.badge-leadership {
    background: #fff4d8;
    color: #b7791f;
}

.badge-field {
    background: #eefaf2;
    color: #2f855a;
}

/* ========================================
   RESPONSIBILITY ICONS
======================================== */

.resp-list li {
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid #edf2f7;
}

.resp-list li i {
    margin-right: 8px;
    color: #0f4526;
}

/* ========================================
   PERKS
======================================== */

.perks-note {
    padding: 0 22px 18px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.perk {
    padding: 8px 12px;
    border-radius: 18px;
    font-weight: 600;
}

.perk-pink {
    background: #fff1f2;
    color: #e11d48;
}

.perk-blue {
    background: #eff6ff;
    color: #2563eb;
}

.perk-yellow {
    background: #fffbeb;
    color: #ca8a04;
}

/* ========================================
   ZONES
======================================== */

.zone-card {
    transition: .3s ease;
}

.zone-card:hover {
    background: #fafafa;
}

.zone-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.zone-north .zone-icon {
    color: #2563eb;
}

.zone-east .zone-icon {
    color: #9333ea;
}

.zone-west .zone-icon {
    color: #ea580c;
}

.zone-south .zone-icon {
    color: #16a34a;
}

/* ========================================
   MODAL
======================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .35s ease;

    z-index: 9999;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    transform: translateY(40px) scale(.9);
    opacity: 0;

    transition: .35s ease;

    max-height: 90vh;
    overflow-y: auto;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.modal-backdrop.open .modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-top {
    background: linear-gradient(135deg,
            #0f4526,
            #2d9b5a);
}

.modal-close {
    transition: .3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* ========================================
   FORM
======================================== */

.field-icon {
    margin-right: 5px;
}

.icon-blue {
    color: #2563eb;
}

.icon-purple {
    color: #9333ea;
}

.icon-green {
    color: #16a34a;
}

.icon-orange {
    color: #ea580c;
}

.icon-teal {
    color: #0f766e;
}

.icon-indigo {
    color: #4f46e5;
}

.icon-pink {
    color: #db2777;
}

.icon-red {
    color: #dc2626;
}

.req {
    color: red;
}

.readonly-field {
    background: #f8fafc !important;
    font-weight: 600;
}

.field-group input,
.field-group textarea,
.field-group select {
    transition: .3s ease;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(45, 155, 90, .1);
}

/* ========================================
   UPLOAD
======================================== */

.upload-box {
    transition: .3s ease;
}

.upload-box:hover {
    transform: translateY(-3px);
}

.upload-icon {
    font-size: 32px !important;
    color: #2d9b5a;
}

/* ========================================
   BUTTONS
======================================== */

.btn-submit,
.apply-btn {
    background: linear-gradient(135deg,
            #968916,
            #c8860a);

    color: #fff;
    border: none;

    padding: 10px 22px;
    border-radius: 18px;

    font-weight: 600;
    cursor: pointer;

    transition: .3s ease;
}

.btn-submit:hover,
.apply-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 24px rgba(200, 134, 10, .35);
}

.btn-cancel {
    background: #f1f5f9;
    color: #475569;

    border: none;
    padding: 10px 22px;
    border-radius: 18px;

    cursor: pointer;

    transition: .3s ease;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

/* ========================================
   FOOTER BUTTONS
======================================== */

.modal-footer-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 22px;
    border-top: 1px solid #eee;
}

/* ========================================
   SUCCESS PANEL
======================================== */

.success-panel {
    display: none;
    text-align: center;
    padding: 40px 25px;
}

.success-panel.show {
    display: block;
    animation: successZoom .5s ease;
}

.success-icon-wrap {
    margin-bottom: 15px;
}

.success-icon {
    font-size: 70px;
    color: #16a34a;
}

@keyframes successZoom {
    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   MOBILE
======================================== */

@media(max-width:768px) {

    .field-row {
        grid-template-columns: 1fr;
    }

    .job-meta {
        gap: 8px;
    }

    .meta-chip {
        font-size: 11px;
    }

    .modal-footer-bar {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}