/* =========================================================
   FREIGHTEXCEL — CLEAN MASTER STYLESHEET
   ========================================================= */


/* =========================================================
   1. GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1d2b3a;
    background: #ffffff;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   2. COLOR SYSTEM
   ========================================================= */

:root {
    --navy: #002147;
    --navy-dark: #001a38;
    --red: #BF0A30;
    --red-dark: #a90829;

    --blue: #0067A5;
    --gold: #C58A00;

    --text: #1d2b3a;
    --muted: #52677b;
    --light-text: #71829a;

    --background: #f5f7fa;
    --border: #e1e7ee;
    --white: #ffffff;
}


/* =========================================================
   3. GLOBAL HEADER
   ========================================================= */

header,
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 2px 8px rgba(0, 33, 71, 0.05);
    position: relative;
    z-index: 20;
}

header .container,
.site-header .header-container {
    width: 90%;
    max-width: 1200px;
    min-height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   4. LOGO
   ========================================================= */

header .logo,
.site-header .logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

header .logo img,
.site-header .logo-link img {
    display: block;
    height: 36px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
}


/* =========================================================
   5. MAIN NAVIGATION
   ========================================================= */

header nav,
.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}

header nav a,
.site-header nav a {
    text-decoration: none;
}


/* =========================================================
   6. MC/DOT NAV BUTTON
   ========================================================= */

header nav .nav-lookup {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 46px;
    padding: 0 20px;

    color: var(--navy);
    background: transparent;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

header nav .nav-lookup.active {
    background: var(--red);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(191, 10, 48, 0.18);
}

header nav .nav-lookup:not(.active):hover {
    color: var(--red);
    background: #f7f9fb;
    transform: translateY(-1px);
}


/* =========================================================
   7. OUR SERVICES NAV BUTTON
   ========================================================= */

header nav .nav-services {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 46px;
    padding: 0 20px;

    color: var(--navy);
    background: transparent;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

header nav .nav-services.active {
    background: var(--red);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(191, 10, 48, 0.18);
}

header nav .nav-services:not(.active):hover {
    color: var(--red);
    background: #f7f9fb;
    transform: translateY(-1px);
}


/* =========================================================
   8. NAVIGATION ICONS
   ========================================================= */

header nav .nav-icon {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    flex-shrink: 0;
}

header nav .nav-lookup.active .nav-icon,
header nav .nav-services.active .nav-icon {
    stroke: #ffffff;
}

header nav .nav-lookup:not(.active) .nav-icon,
header nav .nav-services:not(.active) .nav-icon {
    stroke: var(--navy);
}


/* =========================================================
   9. GET IN TOUCH
   ========================================================= */

header nav .header-contact {
    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 52px;
    padding: 6px 17px;

    background: #f4f7fa;
    border: 1px solid #e4eaf0;
    border-radius: 13px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

header nav .header-contact:hover {
    background: #eef3f7;
    border-color: #d7e0e8;
    transform: translateY(-1px);
}

header nav .contact-icon {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: var(--navy);
    stroke-width: 1.8;

    flex-shrink: 0;
}

header nav .contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

header nav .contact-label {
    color: #5b6875;
    font-size: 11px;
    font-weight: 500;
}

header nav .contact-email {
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   10. OLD / RESULTS HEADER SUPPORT
   ========================================================= */

.site-header nav > a:not(.nav-lookup):not(.nav-services) {
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 12px;
}

.site-header nav > a:not(.nav-lookup):not(.nav-services):hover {
    color: var(--red);
}


/* =========================================================
   11. HOMEPAGE HERO
   ========================================================= */

.hero {
    min-height: 560px;

    background-image:
        linear-gradient(
            rgba(0, 35, 80, 0.35),
            rgba(0, 35, 80, 0.35)
        ),
        url("/static/FreightExcel-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;

    color: #ffffff;
}

.hero-overlay {
    min-height: 560px;

    display: flex;
    align-items: center;

    text-align: center;
}

.hero h1 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    max-width: 700px;

    margin: 0 auto 35px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.5;
}


/* =========================================================
   12. LOOKUP BOX
   ========================================================= */

.lookup-box {
    max-width: 740px;

    margin: 0 auto;

    background: rgba(255, 255, 255, 0.97);

    border-radius: 10px;

    color: #222;

    text-align: left;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.20);

    overflow: hidden;
}


/* =========================================================
   13. LOOKUP TABS
   ========================================================= */

.lookup-tabs {
    display: flex;

    border-bottom: 1px solid #d9e0e8;
}

.lookup-tabs button {
    background: transparent !important;
    color: var(--navy) !important;

    border: none !important;

    cursor: pointer;

    padding: 14px 24px;

    font-size: 14px;
    font-weight: 600;
}

.lookup-tabs button.active {
    background: var(--navy) !important;
    color: #ffffff !important;

    border-radius: 5px 5px 0 0;
}


/* =========================================================
   14. LOOKUP FORM
   ========================================================= */

.lookup-form {
    display: flex;
    align-items: flex-end;

    gap: 12px;

    padding: 20px 18px 10px;
}

.lookup-input {
    flex: 1;
}

.lookup-input label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 15px;
    font-weight: 700;
}

.lookup-input input {
    width: 100%;

    padding: 12px;

    border: 1px solid #ccd3dc;
    border-radius: 5px;

    font-size: 14px;

    outline: none;
}

.lookup-input input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.08);
}

.search-button {
    padding: 12px 30px;

    border: none;
    border-radius: 5px;

    background: var(--navy);
    color: #ffffff;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;
}

.search-button:hover {
    background: #00345f;
}

.lookup-note {
    padding: 0 18px 16px;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   15. HOMEPAGE FEATURES
   ========================================================= */

.features {
    padding: 80px 0;

    text-align: center;
}

.features h2 {
    margin-bottom: 50px;

    color: var(--navy);

    font-size: 36px;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}

.feature {
    padding: 35px 25px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #ffffff;
}

.feature h3 {
    color: var(--navy);
    font-size: 22px;
}

.feature p {
    color: #555;

    line-height: 1.6;
}


/* =========================================================
   16. HOW IT WORKS
   ========================================================= */

.how-it-works {
    background: #ffffff;

    padding: 42px 0 0;

    text-align: center;
}

.section-eyebrow {
    margin-bottom: 6px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.how-it-works h2 {
    margin: 0 0 8px;

    color: var(--navy);

    font-size: 30px;
    line-height: 1.2;
}

.section-subtitle {
    margin: 0 auto 30px;

    color: #4f6480;

    font-size: 15px;
}


/* =========================================================
   17. HOW IT WORKS STEPS
   ========================================================= */

.steps {
    max-width: 850px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.step {
    width: 210px;
}

.step-icon-wrapper {
    position: relative;

    width: 84px;
    height: 84px;

    margin: 0 auto 14px;
}

.step-icon {
    width: 84px;
    height: 84px;

    border-radius: 50%;

    background: #eaf3ff;

    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 40px;
    height: 40px;

    fill: none;

    stroke: var(--navy);
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-number {
    position: absolute;

    top: -2px;
    left: -5px;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: var(--navy);
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;

    z-index: 2;
}

.step h3 {
    margin: 0 0 7px;

    color: var(--navy);

    font-size: 15px;
}

.step p {
    margin: 0;

    color: #4f6480;

    font-size: 15px;
    line-height: 1.5;
}

.step-arrow {
    margin: 0 18px;

    padding-bottom: 45px;

    color: #a8bdd8;

    font-size: 27px;
}


/* =========================================================
   18. TRUST BAR
   ========================================================= */

.trust-bar {
    max-width: 1000px;

    margin: 34px auto 0;

    padding: 18px 0 22px;

    border-top: 1px solid #dce5ef;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    text-align: left;
}

.trust-item {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;
}

.trust-item + .trust-item {
    border-left: 1px solid #dce5ef;
}

.trust-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #eaf3ff;

    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: var(--navy);
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-item h3 {
    margin: 0 0 4px;

    color: var(--navy);

    font-size: 15px;
}

.trust-item p {
    margin: 0;

    color: #4f6480;

    font-size: 14px;
    line-height: 1.4;
}


/* =========================================================
   19. SERVICES HERO
   ========================================================= */

.services-hero {
    position: relative;

    min-height: 300px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 33, 71, 0.97) 0%,
            rgba(0, 33, 71, 0.88) 38%,
            rgba(0, 33, 71, 0.50) 72%,
            rgba(0, 33, 71, 0.25) 100%
        ),
        url("/static/FreightExcel-services-bg.png");

    background-size: cover;
    background-position: center;

    color: #ffffff;
}

.services-hero-overlay {
    width: 100%;
    min-height: 300px;

    display: flex;
    align-items: center;
}

.services-hero-content {
    width: 1200px;
    max-width: calc(100% - 40px);

    margin: 0 auto;

    padding: 45px 20px;
}

.services-eyebrow {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.services-hero h1 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;

    font-weight: 700;
}

.services-hero p {
    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.92);

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   20. SERVICES HERO BENEFITS
   ========================================================= */

.hero-benefits {
    display: flex;
    align-items: center;

    margin-top: 28px;

    gap: 22px;
}

.hero-benefit {
    display: flex;
    align-items: center;

    gap: 10px;
}

.hero-benefit strong {
    display: block;

    max-width: 130px;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.3;
}

.hero-benefit-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;
}

.hero-benefit-icon svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: #ffffff;
    stroke-width: 1.8;
}

.hero-benefit-divider {
    width: 1px;
    height: 34px;

    background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   21. SERVICES INTRO
   ========================================================= */

.services-intro {
    background: #f7f9fb;

    padding: 58px 20px 60px;
}

.services-intro-heading {
    max-width: 850px;

    margin: 0 auto 35px;

    text-align: center;
}

.services-intro-heading > span {
    display: block;

    margin-bottom: 7px;

    color: #68788a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.services-intro-heading h2 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 34px;
    line-height: 1.2;
}

.services-intro-heading p {
    max-width: 760px;

    margin: 0 auto;

    color: #667789;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   22. SERVICES GRID
   ========================================================= */

.services-grid-modern {
    width: 1200px;
    max-width: 100%;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   23. SERVICE CARDS
   ========================================================= */

.service-card-modern {
    position: relative;

    height: 285px;
    min-height: 285px;

    overflow: hidden;

    padding: 24px 23px;

    background: #ffffff;

    border: 1px solid #e2e8ef;

    border-radius: 13px;

    box-shadow:
        0 5px 18px rgba(0, 33, 71, 0.06);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card-modern:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(0, 33, 71, 0.11);
}

.service-card-top {
    position: relative;

    min-height: 52px;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    flex-shrink: 0;
}


/* =========================================================
   24. SERVICE ICONS
   ========================================================= */

.service-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.service-icon svg {
    width: 25px;
    height: 25px;

    fill: none;

    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* RED — LOOKUP */

.service-icon-red {
    background: #ffe5eb;
}

.service-icon-red svg {
    stroke: var(--red);
}


/* BLUE — AUDITING */

.service-icon-blue {
    background: #e3f1ff;
}

.service-icon-blue svg {
    stroke: var(--blue);
}


/* GOLD — COLLECTIONS */

.service-icon-green {
    background: #fff4d8;
}

.service-icon-green svg {
    stroke: var(--gold);
}


/* NAVY — CARRIER */

.service-icon-purple {
    background: #e6edf5;
}

.service-icon-purple svg {
    stroke: var(--navy);
}


/* =========================================================
   25. SERVICE CARD TEXT
   ========================================================= */

.service-card-modern h3 {
    position: relative;

    margin: 17px 0 9px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.25;
}

.service-card-modern p {
    position: relative;

    max-width: 290px;

    margin: 0;

    color: #52677b;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   26. SERVICE CARD BUTTONS
   ========================================================= */

.service-primary-button,
.service-email-button {
    position: relative;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    align-self: flex-start;

    margin-top: auto;

    padding: 10px 15px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.service-primary-button {
    gap: 9px;

    background: var(--red);

    color: #ffffff;
}

.service-primary-button:hover {
    background: var(--red-dark);

    color: #ffffff;

    transform: translateY(-1px);
}

.service-primary-button span {
    font-size: 16px;
}

.service-email-button {
    background: #fff0f3;

    color: var(--red);
}

.service-email-button:hover {
    background: #ffe1e7;

    color: var(--red-dark);
}


/* =========================================================
   27. SERVICE CARD COLORS
   ========================================================= */

.service-card-red {
    border-top: 3px solid var(--red);

    box-shadow:
        0 7px 22px rgba(191, 10, 48, 0.08);
}

.service-card-blue {
    border-top: 3px solid var(--blue);
}

.service-card-green {
    border-top: 3px solid var(--gold);
}

.service-card-purple {
    border-top: 3px solid var(--navy);
}


/* =========================================================
   28. SERVICE CARD WATERMARKS
   ========================================================= */

.service-card-decoration {
    position: absolute;

    right: -5px;
    bottom: -12px;

    width: 125px;
    height: 125px;

    opacity: 0.12;

    pointer-events: none;

    z-index: 1;
}

.service-card-decoration svg {
    width: 100%;
    height: 100%;

    fill: none;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-red .service-card-decoration,
.service-card-red .service-card-decoration svg {
    color: var(--red);
    stroke: var(--red);
}

.service-card-blue .service-card-decoration,
.service-card-blue .service-card-decoration svg {
    color: var(--blue);
    stroke: var(--blue);
}

.service-card-green .service-card-decoration,
.service-card-green .service-card-decoration svg {
    color: var(--gold);
    stroke: var(--gold);
}

.service-card-purple .service-card-decoration,
.service-card-purple .service-card-decoration svg {
    color: var(--navy);
    stroke: var(--navy);
}


/* =========================================================
   29. COMING SOON BADGE
   ========================================================= */

.coming-badge,
.service-status.upcoming {
    display: inline-flex;

    padding: 5px 9px;

    background: #edf5ff;

    border: 1px solid #d7e7f8;

    border-radius: 6px;

    color: #1c6099;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   30. SERVICES CTA
   ========================================================= */

.services-cta {
    width: 1200px;
    max-width: calc(100% - 40px);

    margin: 0 auto 65px;

    padding: 0 20px;
}

.services-cta-content {
    position: relative;

    min-height: 150px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 30px 38px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 33, 71, 0.96),
            rgba(0, 33, 71, 0.82)
        ),
        url("/static/FreightExcel-services-bg.png");

    background-size: cover;
    background-position: center;

    border-radius: 9px;

    box-shadow:
        0 8px 24px rgba(0, 33, 71, 0.13);

    color: #ffffff;
}

.services-cta-content::after {
    content: "";

    position: absolute;

    right: -50px;
    bottom: -80px;

    width: 330px;
    height: 220px;

    background:
        url("/static/FreightExcel-services-bg.png");

    background-size: cover;
    background-position: center;

    opacity: 0.20;

    pointer-events: none;
}

.services-cta-content > div:first-child {
    position: relative;

    z-index: 2;

    max-width: 650px;
}

.services-cta-eyebrow {
    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.services-cta h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 28px;
}

.services-cta p {
    max-width: 620px;

    margin: 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   31. CTA BENEFITS
   ========================================================= */

.cta-benefits {
    position: relative;

    z-index: 2;

    display: flex;

    gap: 28px;

    flex-shrink: 0;
}

.cta-benefit {
    display: flex;

    align-items: center;

    gap: 9px;
}

.cta-benefit-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    color: #ffffff;

    font-size: 18px;
}

.cta-benefit span {
    color: #ffffff;

    font-size: 11px;
    line-height: 1.3;
}


/* =========================================================
   32. RESULTS PAGE
   ========================================================= */

.results-page {
    background: #f5f7fa;

    padding: 65px 20px 80px;

    min-height: calc(100vh - 120px);
}

.results-page .container {
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   33. RESULTS TOP
   ========================================================= */

.results-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;

    margin-bottom: 35px;
}

.results-top h1 {
    margin: 8px 0 10px;

    color: var(--navy);

    font-size: 38px;
    line-height: 1.2;
}

.results-top p {
    margin: 0;

    color: #4f6480;

    font-size: 15px;
}

.result-eyebrow {
    margin-bottom: 8px;

    color: var(--red);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


/* =========================================================
   34. RESULT CARDS
   ========================================================= */

.result-card {
    background: #ffffff;

    border: 1px solid #e1e7ee;

    border-radius: 10px;

    padding: 32px;

    margin-bottom: 24px;

    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.05);
}

.result-card-header {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 28px;

    border-bottom: 1px solid #e5eaf0;
}

.result-label,
.result-item span,
.stat-card span,
.detail-list span,
.safety-card span,
.inspection-card span,
.crash-grid span {
    display: block;

    margin-bottom: 7px;

    color: #71829a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.7px;
}

.result-card h2 {
    margin: 0;

    color: var(--navy);

    font-size: 24px;
}

.result-dba {
    margin: 7px 0 0;

    color: #4f6480;
}


/* =========================================================
   35. OPERATING STATUS
   ========================================================= */

.operating-status {
    min-width: 190px;

    padding: 16px 20px;

    background: #eaf3ff;

    border-radius: 8px;

    align-self: flex-start;
}

.operating-status span {
    display: block;

    margin-bottom: 6px;

    color: #71829a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.6px;
}

.operating-status strong {
    display: block;

    color: var(--navy);

    font-size: 14px;

    line-height: 1.4;
}


/* =========================================================
   36. RESULT GRID
   ========================================================= */

.result-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px 35px;

    padding-top: 28px;
}

.result-item strong,
.detail-list strong,
.stat-card strong,
.safety-card strong,
.inspection-card strong,
.crash-grid strong {
    display: block;

    color: #1d2b3a;

    font-size: 14px;
    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   37. RESULT SECTION HEADINGS
   ========================================================= */

.result-section-title,
.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 0 0 7px;

    color: var(--navy);

    font-size: 23px;
}

.section-heading p {
    margin: 0;

    color: #71829a;

    font-size: 13px;
}


/* =========================================================
   38. OPERATIONS
   ========================================================= */

.stat-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.stat-card {
    background: #f5f7fa;

    border: 1px solid #e1e7ee;

    border-radius: 8px;

    padding: 22px;
}

.stat-card strong {
    color: var(--navy);

    font-size: 30px;
}

.detail-list {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-top: 24px;
}

.detail-list > div {
    padding-bottom: 18px;

    border-bottom: 1px solid #edf0f4;
}

.detail-list > div:last-child {
    padding-bottom: 0;

    border-bottom: none;
}


/* =========================================================
   39. SAFETY
   ========================================================= */

.safety-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.safety-card {
    background: #f5f7fa;

    border: 1px solid #e1e7ee;

    border-radius: 8px;

    padding: 20px;
}

.safety-card strong {
    color: var(--navy);

    font-size: 15px;
}


/* =========================================================
   40. INSPECTIONS
   ========================================================= */

.inspection-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.inspection-card {
    background: #f5f7fa;

    border: 1px solid #e1e7ee;

    border-radius: 8px;

    padding: 22px;
}

.inspection-card h3 {
    margin: 0 0 18px;

    color: var(--navy);

    font-size: 18px;
}

.inspection-card > div {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 9px 0;

    border-bottom: 1px solid #e3e8ee;
}

.inspection-card > div:last-child {
    border-bottom: none;
}

.inspection-card strong {
    font-size: 13px;
}


/* =========================================================
   41. CRASHES
   ========================================================= */

.crash-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.crash-grid > div {
    background: #f5f7fa;

    border: 1px solid #e1e7ee;

    border-radius: 8px;

    padding: 20px;
}

.crash-grid strong {
    color: var(--navy);

    font-size: 25px;
}


/* =========================================================
   42. ADDITIONAL CARRIER DATA
   ========================================================= */

.additional-data {
    display: flex;

    flex-direction: column;
}

.additional-item {
    padding: 18px 0;

    border-bottom: 1px solid #edf0f4;
}

.additional-item:last-child {
    border-bottom: none;
}

.additional-item > span {
    display: block;

    margin-bottom: 8px;

    color: #71829a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.7px;
}

.additional-item > strong {
    display: block;

    color: #1d2b3a;

    font-size: 14px;
    line-height: 1.6;
}

.nested-data {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.nested-field {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    padding: 8px 0;

    border-bottom: 1px solid #e7ecf1;
}

.nested-field:last-child {
    border-bottom: none;
}

.nested-label {
    min-width: 45%;

    color: #526171;

    font-size: 12px;
    font-weight: 600;
}

.nested-value {
    color: var(--navy);

    font-size: 13px;
    font-weight: 600;

    text-align: right;

    word-break: break-word;
}

.nested-data > div {
    background: #f5f7fa;

    border: 1px solid #e1e7ee;

    border-radius: 6px;

    padding: 13px;
}

.nested-data small {
    display: block;

    margin-bottom: 5px;

    color: #71829a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.nested-data strong {
    color: #1d2b3a;

    font-size: 13px;

    line-height: 1.5;

    word-break: break-word;
}

.nested-list {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.nested-list-item {
    background: #f8fafc;

    border: 1px solid #e3e9ef;

    border-radius: 6px;

    padding: 10px;
}


/* =========================================================
   43. PDF / RESULTS BUTTONS
   ========================================================= */

.pdf-button,
.search-again-button {
    display: inline-block;

    padding: 13px 20px;

    border-radius: 6px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.pdf-button {
    background: var(--red);
}

.pdf-button:hover {
    background: var(--red-dark);
}

.search-again-button {
    background: var(--navy);
}

.search-again-button:hover {
    background: #00345f;
}

.results-bottom-actions {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 35px;
}

.results-disclaimer {
    max-width: 800px;

    margin: 30px auto 0;

    text-align: center;

    color: #7a899c;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   44. LOOKUP ERROR POPUP
   ========================================================= */

.lookup-popup-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 20, 45, 0.55);
}

.lookup-popup {
    position: relative;

    width: 100%;
    max-width: 440px;

    padding: 35px 32px;

    background: #ffffff;

    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 20px 50px rgba(0, 33, 71, 0.20);
}

.lookup-popup-close {
    position: absolute;

    top: 12px;
    right: 15px;

    border: none;

    background: transparent;

    color: #7a8794;

    font-size: 26px;

    line-height: 1;

    cursor: pointer;
}

.lookup-popup-close:hover {
    color: var(--navy);
}

.lookup-popup-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff1f3;

    color: var(--red);

    font-size: 24px;
    font-weight: 700;
}

.lookup-popup h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 22px;
}

.lookup-popup p {
    max-width: 340px;

    margin: 0 auto 24px;

    color: #5b6875;

    font-size: 14px;

    line-height: 1.6;
}

.lookup-popup-button {
    border: none;

    background: var(--red);

    color: #ffffff;

    padding: 12px 25px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.2s ease;
}

.lookup-popup-button:hover {
    background: var(--red-dark);
}


/* =========================================================
   45. FOOTER
   ========================================================= */

footer {
    width: 100%;

    background: var(--navy);

    color: #ffffff;

    padding: 20px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    color: var(--red);

    font-size: 20px;
    font-weight: 700;
}

.footer-logo span {
    color: #ffffff;
}

.footer-brand p {
    margin: 4px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;
}

.footer-center {
    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;

    text-align: center;
}

.footer-links {
    flex: 1;

    display: flex;

    justify-content: flex-end;

    gap: 18px;

    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);

    font-size: 11px;

    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}


/* =========================================================
   46. OLD SERVICES CTA SUPPORT
   ========================================================= */

.services-cta .container {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.cta-button {
    display: inline-block;

    padding: 14px 30px;

    background: var(--red);

    color: #ffffff;

    text-decoration: none;

    border-radius: 5px;

    font-weight: 700;
}

.cta-button:hover {
    background: var(--red-dark);
}


/* =========================================================
   47. MOBILE — HEADER
   ========================================================= */

@media (max-width: 900px) {

    header .container,
    .site-header .header-container {
        min-height: auto;

        padding-top: 14px;
        padding-bottom: 14px;

        flex-wrap: wrap;
    }

    header nav,
    .site-header nav {
        width: 100%;

        justify-content: center;

        margin-left: 0;

        flex-wrap: wrap;

        gap: 10px;
    }
}


/* =========================================================
   48. MOBILE — HOMEPAGE
   ========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 30px);
    }

    header .logo img,
    .site-header .logo-link img {
        height: 34px;
    }

    header nav .nav-lookup,
    header nav .nav-services {
        min-height: 42px;

        padding: 0 15px;

        font-size: 13px;
    }

    header nav .header-contact {
        min-height: 48px;

        padding: 6px 13px;
    }

    .hero {
        min-height: auto;
    }

    .hero-overlay {
        min-height: auto;

        padding: 55px 20px;
    }

    .hero h1 {
        font-size: 30px;

        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;

        line-height: 1.5;
    }

    .lookup-box {
        width: 100%;

        max-width: 500px;

        margin: 25px auto 0;
    }

    .lookup-form {
        flex-direction: column;

        gap: 12px;
    }

    .lookup-input {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    .how-it-works {
        padding: 38px 20px 0;
    }

    .how-it-works h2 {
        font-size: 27px;
    }

    .section-subtitle {
        font-size: 13px;

        margin-bottom: 28px;
    }

    .steps {
        flex-direction: column;

        gap: 25px;
    }

    .step {
        width: 100%;

        max-width: 280px;
    }

    .step-arrow {
        transform: rotate(90deg);

        margin: 0;

        padding: 0;

        height: 20px;
    }

    .trust-bar {
        grid-template-columns: 1fr;

        margin-top: 30px;

        padding: 18px 0 22px;
    }

    .trust-item {
        justify-content: flex-start;

        padding: 15px 10px;
    }

    .trust-item + .trust-item {
        border-left: none;

        border-top: 1px solid #dce5ef;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .services-cta {
        width: 100%;

        max-width: none;

        padding: 0 15px;

        margin-bottom: 45px;
    }

    .services-cta-content {
        padding: 28px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .cta-benefits {
        width: 100%;

        flex-direction: column;

        gap: 15px;
    }
}


/* =========================================================
   49. MOBILE — SERVICES
   ========================================================= */

@media (max-width: 1050px) {

    .services-grid-modern {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .service-card-modern {
        min-height: 285px;
    }

    .services-cta-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-benefits {
        width: 100%;

        justify-content: flex-start;
    }
}

@media (max-width: 900px) {

    .services-hero {
        min-height: 350px;
    }

    .services-hero-overlay {
        min-height: 350px;
    }

    .hero-benefits {
        gap: 15px;
    }

    .hero-benefit-divider {
        display: none;
    }
}

@media (max-width: 700px) {

    .services-hero {
        min-height: 390px;

        background-position: 65% center;
    }

    .services-hero-overlay {
        min-height: 390px;
    }

    .services-hero-content {
        max-width: calc(100% - 25px);

        padding-top: 35px;
        padding-bottom: 35px;
    }

    .services-hero h1 {
        font-size: 42px;
    }

    .services-hero p {
        font-size: 15px;
    }

    .hero-benefits {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 22px;
    }

    .hero-benefit {
        width: 100%;
    }

    .services-intro {
        padding-top: 45px;
    }

    .services-intro-heading {
        padding-left: 14px;
        padding-right: 14px;
    }

    .services-intro-heading h2 {
        font-size: 27px;
    }

    .services-intro-heading p {
        font-size: 14px;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;

        width: 100%;
    }

    .service-card-modern {
        height: auto;

        min-height: 270px;
    }

    .services-cta {
        max-width: calc(100% - 28px);

        padding: 0;
    }

    .services-cta-content {
        padding: 28px 25px;
    }

    .services-cta h2 {
        font-size: 23px;
    }
}


/* =========================================================
   50. MOBILE — RESULTS
   ========================================================= */

@media (max-width: 768px) {

    .results-page {
        padding: 45px 15px 60px;
    }

    .results-top {
        flex-direction: column;

        align-items: flex-start;
    }

    .results-top h1 {
        font-size: 30px;
    }

    .results-top .pdf-button {
        width: 100%;

        text-align: center;
    }

    .result-card {
        padding: 22px;
    }

    .result-card-header {
        flex-direction: column;
    }

    .operating-status {
        width: 100%;

        min-width: 0;

        box-sizing: border-box;
    }

    .result-grid,
    .stat-grid,
    .safety-grid,
    .inspection-grid,
    .crash-grid {
        grid-template-columns: 1fr;
    }

    .nested-data {
        grid-template-columns: 1fr;
    }

    .nested-field {
        flex-direction: column;

        gap: 5px;
    }

    .nested-label {
        min-width: 0;
    }

    .nested-value {
        text-align: left;
    }

    .results-bottom-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .search-again-button,
    .results-bottom-actions .pdf-button {
        width: 100%;

        text-align: center;
    }
}


/* =========================================================
   51. SMALL MOBILE HEADER
   ========================================================= */

@media (max-width: 600px) {

    header .container,
    .site-header .header-container {
        flex-direction: column;

        align-items: center;

        gap: 10px;
    }

    header nav,
    .site-header nav {
        flex-direction: column;

        width: 100%;
    }

    header nav .nav-lookup,
    header nav .nav-services,
    header nav .header-contact {
        width: 100%;

        justify-content: center;
    }

    header nav .header-contact {
        max-width: 320px;
    }

    .site-header nav > a {
        width: auto;
    }


    /* Footer */

    footer {
        padding: 20px 15px;
    }

    .footer-container {
        flex-direction: column;

        text-align: center;

        gap: 12px;
    }

    .footer-brand,
    .footer-links {
        width: 100%;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-center {
        order: 3;
    }
}


/* =========================================================
   52. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 27px;
    }

    .services-hero h1 {
        font-size: 36px;
    }

    .service-card-modern {
        padding: 22px 20px;
    }

    .service-card-modern h3 {
        font-size: 19px;
    }

    .service-card-modern p {
        font-size: 13px;
    }

    .lookup-tabs button {
        padding: 13px 16px;

        font-size: 13px;
    }
}