/* =========================================================
   GATEWAY TRUCKS & REFRIGERATION
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f7f9;
    color: #17202a;
    line-height: 1.6;
}


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


button,
input,
select,
textarea {
    font: inherit;
}


button {
    cursor: pointer;
}


.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(9, 18, 28, .97);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(15px);
}


.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: white;
}


.logo-mark {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f28c28;
    color: #101820;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 900;
}


.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}


.logo-text strong {
    font-size: 15px;
}


.logo-text small {
    margin-top: 4px;

    color: #aeb9c4;

    font-size: 10px;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.main-nav {
    display: flex;
    gap: 34px;
}


.main-nav a {
    color: #d8e0e7;

    font-size: 14px;
    font-weight: 600;

    padding: 8px 0;
}


.main-nav a:hover {
    color: #f28c28;
}


.mobile-menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    width: 42px;
    height: 42px;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}


.mobile-menu-toggle span {
    width: 24px;
    height: 2px;

    background: white;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #07131e,
            #112c3e
        );

    color: white;
}


.hero-background-text {
    position: absolute;

    right: -30px;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(-90deg);

    color: rgba(255,255,255,.025);

    font-size: 150px;
    font-weight: 900;

    letter-spacing: 10px;
}


.hero-content {
    position: relative;
    z-index: 2;
}


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


.eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: #f28c28;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


.hero h1 {
    margin-bottom: 25px;

    font-size:
        clamp(45px, 7vw, 78px);

    line-height: 1;

    letter-spacing: -3px;
}


.hero h1 span {
    display: block;

    color: #f28c28;
}


.hero p {
    max-width: 650px;

    margin-bottom: 35px;

    color: #c4d0d9;

    font-size: 18px;
}


.hero-actions,
.careers-content,
.success-actions {
    display: flex;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


.primary-button,
.secondary-button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 800;
}


.primary-button {
    background: #f28c28;
    color: #101820;
}


.primary-button:hover {
    background: #ff9d3d;
}


.secondary-button {
    border:
        1px solid rgba(255,255,255,.25);

    color: white;
}


.secondary-button:hover {
    border-color: #f28c28;
    color: #f28c28;
}


.secondary-button.dark {
    border-color: #cbd4da;
    color: #26343f;
}


.secondary-button.dark:hover {
    border-color: #f28c28;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    background: white;

    border-bottom:
        1px solid #e5eaee;
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.stat {
    padding: 32px 20px;

    text-align: center;

    border-right:
        1px solid #e5eaee;
}


.stat:last-child {
    border-right: 0;
}


.stat strong {
    display: block;

    margin-bottom: 4px;

    color: #17202a;

    font-size: 21px;
}


.stat span {
    color: #7b8790;

    font-size: 12px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.content-section {
    padding: 100px 0;
}


.two-column {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;
}


.content-section h2,
.section-heading h2,
.careers-section h2 {
    color: #17202a;

    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -1px;
}


.section-text {
    color: #63717c;

    font-size: 16px;
}


.section-text p + p {
    margin-top: 18px;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 100px 0;

    background: #eef2f5;
}


.section-heading {
    max-width: 700px;

    margin-bottom: 50px;
}


.section-heading p {
    margin-top: 15px;

    color: #6d7b85;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.service-card {
    padding: 35px;

    background: white;

    border:
        1px solid #e0e6ea;

    border-radius: 14px;
}


.service-number {
    margin-bottom: 40px;

    color: #f28c28;

    font-size: 12px;
    font-weight: 900;
}


.service-card h3 {
    margin-bottom: 12px;

    color: #17202a;

    font-size: 22px;
}


.service-card p {
    color: #6b7881;

    font-size: 14px;
}


/* =========================================================
   CAREERS
========================================================= */

.careers-section {
    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            #0b1824,
            #17394e
        );

    color: white;
}


.careers-content {
    justify-content: space-between;
}


.careers-section h2 {
    margin-bottom: 15px;

    color: white;
}


.careers-section p {
    max-width: 650px;

    color: #bdcbd4;
}


/* =========================================================
   APPLICATION HERO
========================================================= */

.application-hero {
    padding: 95px 0;

    background:
        linear-gradient(
            135deg,
            #08131e,
            #183b51
        );

    color: white;
}


.application-hero-content {
    max-width: 760px;
}


.application-hero h1 {
    margin-bottom: 20px;

    font-size:
        clamp(40px, 6vw, 65px);

    line-height: 1.02;

    letter-spacing: -2px;
}


.application-hero p {
    color: #c6d1da;

    font-size: 18px;
}


/* =========================================================
   APPLICATION LAYOUT
========================================================= */

.application-section {
    padding: 85px 0;
}


.application-layout {
    display: grid;

    grid-template-columns:
        310px
        minmax(0, 1fr);

    gap: 55px;

    align-items: start;
}


.application-sidebar {
    position: sticky;
    top: 105px;
}


.sidebar-card {
    margin-bottom: 20px;

    padding: 30px;

    background: white;

    border:
        1px solid #e4e9ed;

    border-radius: 14px;

    box-shadow:
        0 10px 35px rgba(12,27,39,.06);
}


.sidebar-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #fff0e1;
    color: #e67918;

    border-radius: 10px;

    font-weight: 900;
}


.sidebar-card h2 {
    margin-bottom: 12px;

    font-size: 21px;
}


.sidebar-card p {
    margin-bottom: 20px;

    color: #64717c;

    font-size: 14px;
}


.benefit-list {
    list-style: none;
}


.benefit-list li {
    display: flex;

    gap: 10px;

    margin-bottom: 13px;

    color: #394651;

    font-size: 13px;
}


.benefit-list span {
    color: #f28c28;
}


.contact-card {
    background:
        linear-gradient(
            145deg,
            #102331,
            #172f40
        );

    color: white;
}


.contact-card h2 {
    color: white;
}


.contact-card p {
    color: #bdc9d2;
}


.email-link {
    color: #f7a04e;

    font-size: 13px;
    font-weight: 700;

    word-break: break-word;
}


/* =========================================================
   FORM
========================================================= */

.form-heading {
    margin-bottom: 42px;
}


.form-heading h2 {
    margin-bottom: 10px;

    font-size:
        clamp(30px, 4vw, 42px);

    line-height: 1.1;
}


.form-heading p {
    color: #687681;
}


.form-section {
    margin-bottom: 38px;

    padding-bottom: 38px;

    border-bottom:
        1px solid #e0e6ea;
}


.form-section-title {
    display: flex;

    gap: 15px;

    margin-bottom: 25px;
}


.section-number {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #102331;
    color: white;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 800;
}


.form-section-title h3 {
    margin-bottom: 3px;

    font-size: 20px;
}


.form-section-title p {
    color: #75828c;

    font-size: 13px;
}


.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 21px;
}


.form-group {
    min-width: 0;

    margin-bottom: 20px;
}


.full-width {
    grid-column: 1 / -1;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #26343f;

    font-size: 13px;
    font-weight: 700;
}


.form-group label span {
    color: #e77918;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid #d6dee4;

    border-radius: 8px;

    background: white;

    color: #1d2933;

    outline: none;
}


.form-group input,
.form-group select {
    min-height: 50px;

    padding: 0 14px;
}


.form-group textarea {
    min-height: 130px;

    padding: 14px;

    resize: vertical;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f28c28;

    box-shadow:
        0 0 0 3px rgba(242,140,40,.11);
}


/* =========================================================
   FILE
========================================================= */

.file-upload {
    position: relative;
}


.file-upload input[type="file"] {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.file-upload-label {
    min-height: 145px;

    display: flex !important;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 25px;

    border:
        1.5px dashed #c5d0d8;

    border-radius: 10px;

    background: #fbfcfd;

    cursor: pointer;

    text-align: center;
}


.file-upload-label:hover {
    border-color: #f28c28;

    background: #fffaf5;
}


.upload-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff0e1;
    color: #e67918;

    border-radius: 50%;

    font-weight: 900;
}


.file-upload-label strong {
    color: #273641;

    font-size: 14px;
}


.file-upload-label small {
    color: #8a969e;

    font-size: 12px;
}


.file-name {
    display: none;

    margin-top: 10px;

    padding: 9px 12px;

    background: #eef6f1;

    color: #2b6945;

    border-radius: 7px;

    font-size: 12px;
}


.file-name.visible {
    display: block;
}


/* =========================================================
   ERRORS
========================================================= */

.field-error {
    margin-top: 6px;

    color: #b13737;

    font-size: 12px;
}


.form-message {
    margin-bottom: 20px;

    padding: 15px;

    border-radius: 8px;

    font-size: 14px;
}


.form-message.error {
    background: #fff0f0;

    color: #a13636;

    border:
        1px solid #efc2c2;
}


/* =========================================================
   SUBMIT
========================================================= */

.submit-button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 0 24px;

    border: 0;

    border-radius: 8px;

    background: #f28c28;
    color: #101820;

    font-weight: 800;
}


.submit-button:hover {
    background: #ff9d3d;
}


.submit-button:disabled {
    opacity: .7;

    cursor: wait;
}


.button-spinner {
    display: none;

    width: 16px;
    height: 16px;

    border:
        2px solid rgba(16,24,32,.25);

    border-top-color: #101820;

    border-radius: 50%;

    animation:
        spin .7s linear infinite;
}


.submit-button.loading .button-spinner {
    display: block;
}


.submit-button.loading .button-arrow {
    display: none;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.privacy-note {
    max-width: 600px;

    margin-top: 15px;

    color: #87929a;

    font-size: 11px;
}


/* =========================================================
   SUCCESS
========================================================= */

.success-section {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 0;
}


.success-card {
    max-width: 720px;

    margin: 0 auto;

    padding: 60px 40px;

    background: white;

    border:
        1px solid #e2e8ec;

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(12,27,39,.08);
}


.success-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto 25px;

    background: #eaf7ef;
    color: #2b6945;

    border-radius: 50%;

    font-size: 30px;
    font-weight: 900;
}


.success-card h1 {
    margin-bottom: 15px;

    font-size:
        clamp(32px, 5vw, 48px);

    line-height: 1.1;
}


.success-card p {
    max-width: 550px;

    margin:
        0 auto 30px;

    color: #687681;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 50px;

    background: #08131e;

    color: white;
}


.footer-content {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.5fr;

    gap: 40px;

    padding-bottom: 40px;
}


.footer-brand p {
    margin-top: 15px;

    color: #84929d;

    font-size: 13px;
}


.footer-links {
    display: flex;
    flex-direction: column;

    gap: 11px;
}


.footer-links a {
    color: #aab6bf;

    font-size: 13px;
}


.footer-links a:hover {
    color: #f28c28;
}


.footer-contact {
    text-align: right;
}


.footer-contact a {
    color: #f29a49;

    font-size: 13px;
}


.footer-bottom {
    padding: 20px 0;

    border-top:
        1px solid rgba(255,255,255,.08);
}


.footer-bottom p {
    color: #71808b;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .application-layout {
        grid-template-columns: 1fr;
    }


    .application-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }


    .two-column {
        gap: 40px;
    }

}


@media (max-width: 700px) {

    .mobile-menu-toggle {
        display: flex;
    }


    .main-nav {
        position: absolute;

        top: 78px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        gap: 0;

        padding:
            10px 5% 18px;

        background: #09121c;
    }


    .main-nav.open {
        display: flex;
    }


    .main-nav a {
        padding: 14px 0;
    }


    .hero {
        min-height: 600px;
    }


    .hero h1 {
        letter-spacing: -1px;
    }


    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .stat {
        border-bottom:
            1px solid #e5eaee;
    }


    .two-column,
    .services-grid {
        grid-template-columns: 1fr;
    }


    .application-sidebar {
        grid-template-columns: 1fr;
    }


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


    .full-width {
        grid-column: auto;
    }


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


    .footer-contact {
        text-align: left;
    }

}


@media (max-width: 480px) {

    .container {
        width: 90%;
    }


    .hero h1 {
        font-size: 43px;
    }


    .hero p {
        font-size: 16px;
    }


    .application-hero h1 {
        font-size: 40px;
    }


    .success-card {
        padding: 45px 22px;
    }


    .submit-button {
        width: 100%;
    }

}
