:root {
    --ink: #071117;
    --muted: #5d6b78;
    --navy: #071b36;
    --navy-2: #092340;
    --green-900: #003b32;
    --green-800: #004d3f;
    --green-700: #007a4d;
    --green-600: #0b9352;
    --green-500: #34a853;
    --lime: #c0d62f;
    --line: #e5e9ed;
    --surface: #ffffff;
    --soft: #f5f8f6;
    --shadow: 0 14px 34px rgba(7, 27, 54, .1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1280px, calc(100% - 72px));
    margin-inline: auto;
}

.topbar {
    color: #fff;
    background: linear-gradient(90deg, #071f3d, #06162d);
    font-size: 13px;
    font-weight: 700;
}

.topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.topbar a,
.topbar span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.topbar svg {
    width: 14px;
    height: 14px;
    color: #fff;
}

.topbar .whatsapp-icon {
    width: 16px;
    height: 16px;
    color: #25d366;
    fill: currentColor;
}

.topbar .whatsapp-link {
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 211, 102, .16);
    box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .28);
}

.topbar__right {
    margin-left: auto;
    display: flex;
    gap: 34px;
}

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #eef1f4;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.header__inner {
    height: 105px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 240px;
}

.brand img {
    width: 182px;
    height: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    font-weight: 600;
}

.nav a {
    color: var(--navy);
    font-size: 14px;
    white-space: nowrap;
}

.nav a:hover,
.nav .is-active {
    color: var(--green-700);
}

.student-button,
.contractor-button,
.button,
.search-box button,
.form-panel button,
.newsletter button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #0a8e59, #078a55);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 100, 68, .18);
}

.student-button {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contractor-button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    color: var(--green-800);
    background: #fff;
    border: 1px solid #9bcfbd;
    box-shadow: none;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    width: 44px;
    height: 44px;
}

.hero {
    position: relative;
    overflow: hidden;
    background: #f7f9f8;
}

.hero__content {
    min-height: 345px;
    display: grid;
    grid-template-columns: minmax(560px, .9fr) minmax(650px, 1.1fr);
    align-items: center;
    gap: 14px;
}

.hero__copy {
    position: relative;
    z-index: 2;
    padding: 44px 0 34px;
}

.hero h1 {
    margin: 0;
    max-width: 520px;
    color: var(--navy);
    font-size: clamp(39px, 3.5vw, 54px);
    line-height: 1.03;
    letter-spacing: 0;
}

.hero h1 span {
    display: block;
    color: #108f5b;
}

.hero p {
    max-width: 475px;
    margin: 16px 0 0;
    color: #43505c;
    font-size: 18px;
    line-height: 1.45;
}

.search-box {
    width: min(660px, 100%);
    margin-top: 24px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1.25fr .95fr .9fr 112px;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.search-box label {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
}

.search-box svg {
    width: 17px;
    color: var(--green-700);
}

.search-box select,
.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #34424e;
    font: inherit;
    font-size: 13px;
    min-width: 0;
}

.search-box button {
    min-height: 36px;
    font-size: 13px;
    background: var(--navy);
}

.hero__stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.05fr;
    gap: 26px;
    max-width: 720px;
    color: #243348;
    font-size: 13px;
}

.hero__stats div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hero__stats span,
.quick-card span,
.newsletter span {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #008555, #005846);
    color: #fff;
}

.hero__stats span {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}

.hero__stats p {
    margin: 0;
    line-height: 1.28;
    text-wrap: balance;
}

.hero__stats strong {
    display: inline;
    color: #0a1821;
}

.hero__visual {
    position: relative;
    height: 345px;
    align-self: end;
    margin-right: calc((1280px - 100vw) / 2);
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.92);
    border-top-left-radius: 0;
}

.hero__ribbon {
    display: none;
}

.hero__badge {
    position: absolute;
    right: 42px;
    bottom: 36px;
    width: 240px;
    min-height: 118px;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #092340, #071b36);
    border-radius: 6px;
    box-shadow: 0 18px 34px rgba(7, 27, 54, .22);
}

.hero__badge svg {
    width: 44px;
    height: 44px;
    color: #0fb06b;
}

.hero__badge p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.hero__badge strong {
    color: #0fb06b;
}

.home-actions {
    width: calc(100% - 36px);
    max-width: none;
    margin-left: 36px;
    margin-right: 0;
    position: relative;
    padding: 20px 0 8px;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: none;
    margin-right: 0;
}

.opportunities {
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid #dfe6ec;
}

.quick-card {
    min-height: 104px;
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 22px;
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 8px;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 27, 54, .07);
}

.quick-card span {
    width: 44px;
    height: 44px;
    grid-row: span 2;
    color: #0a8e59;
    background: transparent;
    border-radius: 0;
}

.quick-card span svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.8;
}

.quick-card strong {
    grid-column: 2;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.15;
}

.quick-card p {
    grid-column: 2;
    margin: 0;
    color: #1d2b35;
    font-size: 12px;
    line-height: 1.45;
}

.quick-card__arrow {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    width: 23px;
    height: 23px;
    padding: 4px;
    border-radius: 50%;
    color: #0a8e59;
    background: #e5f4ee;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 12px;
}

.section-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: 25px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 8px;
    background: var(--green-600);
}

.section-title a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a8e59;
    font-size: 13px;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.opportunity-list,
.newsletter,
.job-card,
.form-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.opportunity-row {
    min-height: 62px;
    display: grid;
    grid-template-columns: 72px 1.4fr .8fr 150px 135px 24px;
    gap: 18px;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid var(--line);
}

.opportunity-row:last-child {
    border-bottom: 0;
}

.org-seal {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #007a4d, #c0d62f);
}

.opportunity-row h3 {
    margin: 0 0 5px;
    color: var(--navy);
    font-size: 15px;
}

.opportunity-row p,
.row-meta {
    margin: 0;
    color: #44536a;
    font-size: 13px;
}

.row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.row-meta svg {
    width: 17px;
    color: #52616e;
}

.status {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    min-height: 28px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status--open {
    color: #116814;
    background: #dff0d9;
}

.status--progress {
    color: #bd6500;
    background: #fff0d5;
}

.row-action {
    color: #1d3140;
}

.newsletter {
    position: absolute;
    top: 20px;
    right: 0;
    width: 292px;
    min-height: 104px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(145deg, #092340, #071b36);
}

.newsletter span {
    width: 44px;
    height: 44px;
    border: 1px solid #0fb06b;
    background: transparent;
}

.newsletter h2 {
    margin: 12px 0 6px;
    font-size: 20px;
}

.newsletter p {
    color: #ecf5ef;
    line-height: 1.35;
    font-size: 13px;
}

.newsletter input,
.form-panel input,
.form-panel select,
.form-panel textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    font: inherit;
}

.newsletter input {
    margin-top: 16px;
}

.newsletter button,
.form-panel button,
.button {
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    background: linear-gradient(135deg, #0a8e59, #078a55);
}

.page {
    background: linear-gradient(180deg, #f7faf8, #fff 260px);
}

.page-hero,
.student-layout,
.contact-layout,
.login-layout {
    padding: 58px 0;
}

.page-hero span,
.student-copy span,
.contact-layout span,
.login-panel span {
    color: var(--green-700);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.page-hero h1,
.student-copy h1,
.contact-layout h1,
.login-panel h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
}

.search-box--page {
    grid-template-columns: 1fr 120px;
    margin-top: 28px;
}

.jobs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 58px;
}

.job-card {
    padding: 24px;
}

.job-card h2 {
    margin: 14px 0 8px;
}

.job-card p {
    color: var(--muted);
}

.job-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    color: #34424e;
}

.job-card li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.button--outline {
    color: var(--green-800);
    background: #fff;
    border: 1px solid #9bcfbd;
    box-shadow: none;
}

.student-layout,
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 46px;
    align-items: start;
}

.contractor-layout {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 42px;
    align-items: start;
    padding: 58px 0;
}

.contractor-copy span,
.contractor-panel span {
    color: var(--green-700);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.contractor-copy h1 {
    max-width: 760px;
    margin: 10px 0 18px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
}

.contractor-copy > p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.contractor-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.contractor-features article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}

.contractor-features svg {
    width: 32px;
    height: 32px;
    color: var(--green-700);
}

.contractor-features strong {
    display: block;
    margin-top: 14px;
    color: var(--navy);
}

.contractor-features p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.panel-link {
    display: block;
    margin-top: 14px;
    color: var(--green-700);
    font-weight: 800;
    text-align: center;
}

.student-copy p,
.contact-layout p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.feature-list p,
.contact-cards p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.feature-list svg,
.contact-cards svg {
    color: var(--green-700);
}

.form-panel {
    padding: 28px;
}

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

.form-panel label {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: #2d3a44;
    font-weight: 700;
}

.form-panel textarea {
    padding-top: 12px;
    resize: vertical;
}

.alert {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 7px;
    color: #0f5f2e;
    background: #e2f4e7;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.login-layout {
    display: grid;
    place-items: center;
}

.login-panel {
    width: 100%;
}

.login-card {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(7, 27, 54, .12);
}

.login-intro {
    padding: 42px;
    color: var(--navy);
    background: linear-gradient(135deg, #f7faf8, #edf3f1);
    border-right: 1px solid var(--line);
}

.login-intro span,
.login-panel span {
    color: var(--green-700);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
}

.login-intro h1 {
    margin: 12px 0 4px;
    max-width: 360px;
    color: var(--navy);
    font-size: clamp(34px, 3.6vw, 46px);
    line-height: 1;
}

.login-intro > strong {
    display: block;
    margin-bottom: 18px;
    color: var(--green-700);
    font-size: 20px;
}

.login-intro > p {
    margin: 0;
    color: #44536a;
    font-size: 17px;
    line-height: 1.55;
}

.login-benefits {
    display: grid;
    gap: 14px;
    margin-top: 32px;
}

.login-benefits p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.login-benefits svg {
    width: 20px;
    color: var(--green-700);
}

.login-card .form-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 42px;
}

.login-panel h2 {
    margin: 10px 0 24px;
    color: var(--navy);
    font-size: 28px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 13px;
}

.login-options a {
    color: var(--green-700);
    font-weight: 800;
}

.remember-option {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.remember-option input {
    width: auto;
    min-height: auto;
}

.about-band {
    margin-top: 46px;
    padding: 42px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--green-900), #001a20);
}

.about-band__inner {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
}

.about-band h2 {
    margin: 0 0 8px;
}

.about-band p {
    margin: 0;
    color: #dceee7;
}

.about-band .button {
    width: auto;
    min-width: 170px;
    padding: 0 22px;
    margin: 0;
}

.footer {
    padding: 26px 0;
    color: #d7e3df;
    background: #061215;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.footer p {
    margin: 0;
}

.footer a {
    margin-left: 18px;
}

@media (max-width: 1120px) {
    .header__inner {
        height: auto;
        min-height: 92px;
        flex-wrap: wrap;
        padding-block: 16px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav {
        display: none;
        width: 100%;
        order: 4;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 16px 0;
    }

    .nav--open {
        display: flex;
    }

    .student-button {
        margin-left: auto;
    }

    .header-actions {
        order: 3;
        margin-left: auto;
    }

    .student-layout,
    .contact-layout,
    .contractor-layout {
        grid-template-columns: 1fr;
    }

    .hero__content {
        min-height: 430px;
        grid-template-columns: minmax(0, 1fr);
        position: relative;
    }

    .hero__copy {
        max-width: 72%;
    }

    .hero h1 {
        font-size: clamp(36px, 5.3vw, 54px);
    }

    .hero__visual {
        position: absolute;
        inset: 0 0 0 auto;
        width: 43%;
        height: 100%;
        margin: 0;
        opacity: .42;
    }

    .hero__visual img {
        border-top-left-radius: 110px;
    }

    .hero__badge {
        display: none;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        margin-right: 0;
    }

    .home-actions {
        width: min(1370px, calc(100% - 56px));
        margin-inline: auto;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .newsletter {
        position: static;
        width: auto;
        margin-top: 0;
    }

    .opportunity-row {
        grid-template-columns: 62px 1fr;
    }

    .row-meta,
    .status,
    .row-action {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1360px);
    }

    .topbar__inner {
        flex-wrap: wrap;
        gap: 10px 18px;
        padding: 10px 0;
    }

    .topbar__right {
        width: 100%;
        margin-left: 0;
        gap: 18px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 160px;
    }

    .student-button {
        width: 100%;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .contractor-button,
    .student-button {
        width: 100%;
    }

    .hero__content {
        min-height: auto;
    }

    .hero__copy {
        max-width: none;
        padding: 32px 0 24px;
    }

    .hero h1 {
        max-width: 640px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero p {
        max-width: 610px;
        font-size: 17px;
    }

    .hero__visual {
        position: relative;
        width: 100%;
        height: 230px;
        opacity: 1;
        margin-top: 0;
    }

    .hero__visual img {
        border-top-left-radius: 0;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 12px;
    }

    .hero__stats,
    .jobs {
        grid-template-columns: 1fr;
    }

    .hero__badge {
        display: flex;
        left: 16px;
        right: 16px;
        bottom: 18px;
        width: auto;
    }

    .quick-card {
        grid-template-columns: 48px minmax(0, 1fr) 24px;
        min-height: auto;
        padding: 18px;
    }

    .quick-card__arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .home-actions {
        width: min(100% - 28px, 1360px);
        margin-inline: auto;
        padding: 16px 0 8px;
    }

    .quick-links {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-right: 0;
    }

    .newsletter {
        position: static;
        width: auto;
        margin-top: 12px;
        min-height: auto;
    }

    .section-title,
    .about-band__inner,
    .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer a {
        display: inline-block;
        margin: 8px 16px 0 0;
    }

    .opportunities {
        width: min(100% - 28px, 1360px);
        padding-top: 18px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .opportunity-row {
        grid-template-columns: 52px 1fr;
        gap: 10px 14px;
        padding: 16px;
    }

    .opportunity-row h3 {
        font-size: 15px;
    }

    .row-meta,
    .status,
    .row-action {
        grid-column: 2;
    }

    .row-action {
        justify-self: start;
    }

    .contractor-layout {
        padding: 40px 0;
    }

    .contractor-features {
        grid-template-columns: 1fr;
    }

    .login-card {
        grid-template-columns: 1fr;
    }

    .login-intro,
    .login-card .form-panel {
        padding: 28px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .search-box button {
        grid-column: span 2;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 600px) {
    .search-box,
    .search-box--page {
        grid-template-columns: 1fr;
    }

    .search-box button {
        grid-column: auto;
    }
}
