@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #132943;
    --navy-2: #1c3c5b;
    --blue: #2b577c;
    --gold: #e8b967;
    --gold-dark: #c9943c;
    --ink: #15263b;
    --muted: #66778a;
    --line: #e1e8ef;
    --soft: #f4f7fa;
    --white: #fff;
    --green: #16845b;
    --red: #b54747;
    --shadow: 0 16px 45px rgba(15, 39, 63, .08);
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: #fff
}

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

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

button {
    cursor: pointer
}

h1, h2, h3, h4, strong, .brand, .portal-topbar {
    font-family: 'Manrope', 'DM Sans', sans-serif
}

p {
    line-height: 1.7
}

.container {
    width: min(1160px, calc(100% - 44px));
    margin: 0 auto
}

.site-header {
    height: 83px;
    background: #fff;
    border-bottom: 1px solid rgba(20, 45, 70, .08);
    position: relative;
    z-index: 10
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy)
}

.brand-logo {
    width: 43px;
    height: 43px;
    object-fit: contain
}

.brand > span {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.brand strong {
    font-size: 19px;
    letter-spacing: -.7px
}

.brand small {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #7b8898
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #475a6d;
    font-size: 13px;
    font-weight: 600
}

.main-nav a:hover, .nav-login:hover {
    color: var(--gold-dark)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: 13px;
    font-weight: 700
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 13px 19px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 13px;
    transition: transform .2s, background .2s, border-color .2s;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-small {
    padding: 10px 14px;
    font-size: 12px
}

.btn-primary, .btn-dark {
    background: var(--navy);
    color: #fff
}

.btn-primary:hover, .btn-dark:hover {
    background: #1d3d5c
}

.btn-gold {
    background: var(--gold);
    color: #182d42
}

.btn-gold:hover {
    background: #f1c979
}

.btn-outline {
    border-color: #cdd7e1;
    background: white;
    color: var(--navy)
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff
}

.hero {
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 85% 25%, rgba(58, 102, 139, .42), transparent 41%), linear-gradient(115deg, rgba(13, 32, 52, .0), rgba(9, 25, 43, .5));
    pointer-events: none
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none
}

.shape-one {
    width: 760px;
    height: 760px;
    right: -280px;
    top: -380px
}

.shape-two {
    width: 630px;
    height: 630px;
    right: -215px;
    top: -315px
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns:1.02fr .98fr;
    gap: 52px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 50px;
    min-height: 555px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: #64778b;
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.eyebrow-light {
    color: #c2d0dc
}

.eyebrow-line {
    display: inline-block;
    width: 27px;
    height: 2px;
    background: var(--gold-dark)
}

.hero h1 {
    font-size: clamp(40px, 5vw, 61px);
    line-height: 1.08;
    letter-spacing: -2.7px;
    max-width: 600px;
    margin: 24px 0 20px;
    font-weight: 800;
    white-space: pre-line
}

.hero-copy > p {
    max-width: 515px;
    color: #c0ccd8;
    font-size: 16px;
    line-height: 1.8;
    margin: 0
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 31px
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 38px
}

.trust-avatars {
    display: flex;
    padding-left: 0
}

.trust-avatars span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: #dce5eb;
    color: var(--navy);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 11px;
    margin-right: -7px
}

.trust-avatars span:nth-child(2) {
    background: #d9b97f
}

.trust-avatars span:nth-child(3) {
    background: #496b87;
    color: white
}

.hero-trust p {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 3px;
    font-size: 11px
}

.hero-trust small {
    color: #a9bbc9;
    font-size: 10px
}

.hero-visual {
    background: linear-gradient(155deg, #e9eef2, #d3dfe7);
    border-radius: 17px;
    min-height: 365px;
    position: relative;
    overflow: visible;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    color: var(--navy);
    margin: 10px 2px 12px 0
}

.visual-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 23px 24px 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #5e7283
}

.visual-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2c9e76;
    box-shadow: 0 0 0 4px rgba(44, 158, 118, .12)
}

.vehicle-art {
    height: 260px;
    display: flex;
    align-items: center;
    position: relative
}

.vehicle-art svg {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 20px;
    filter: drop-shadow(0 12px 6px rgba(19, 41, 67, .15))
}

.art-glow {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%)
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 17px 17px;
    padding: 17px 23px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.visual-caption > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.visual-caption small {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #8291a0;
    font-weight: 800
}

.visual-caption strong {
    font-size: 13px
}

.caption-icon {
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center
}

.floating-card {
    position: absolute;
    bottom: 82px;
    right: -23px;
    background: white;
    padding: 13px 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 3
}

.floating-icon {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: #e0f2e9;
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 800
}

.floating-card > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.floating-card strong {
    font-size: 11px
}

.floating-card small {
    font-size: 10px;
    color: var(--muted)
}

.hero-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #b0c0ce;
    font-size: 10px;
    letter-spacing: 1px
}

.hero-bottom > span {
    font-weight: 800;
    color: #8298ab;
    font-size: 9px
}

.hero-bottom-items {
    display: flex;
    align-items: center;
    gap: 17px;
    letter-spacing: 0;
    font-size: 11px
}

.hero-bottom-items i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold)
}

.section {
    padding: 88px 0
}

.section-soft {
    background: var(--soft)
}

.section-intro {
    padding: 76px 0 78px
}

.intro-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 75px;
    align-items: start
}

.section h2, .corporate-band h2, .cta-section h2 {
    font-size: clamp(30px, 3.3vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.6px;
    color: var(--navy);
    margin: 16px 0 0
}

.intro-grid h2 {
    max-width: 460px
}

.large-copy {
    font-size: 16px;
    line-height: 1.85;
    color: #5e6f80;
    margin: 0 0 22px
}

.text-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    display: inline-flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #ccd6df;
    padding-bottom: 7px
}

.text-link span {
    font-size: 16px;
    color: var(--gold-dark)
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: end;
    margin-bottom: 36px
}

.section-heading h2 {
    margin-bottom: 0
}

.service-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 15px
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 22px;
    min-height: 248px;
    position: relative;
    transition: box-shadow .2s, transform .2s
}

.service-card:hover, .fleet-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow)
}

.service-icon {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: #eef3f7;
    color: #244969;
    display: grid;
    place-items: center;
    font-size: 24px
}

.card-index {
    position: absolute;
    right: 20px;
    top: 27px;
    font-size: 10px;
    color: #a3afba;
    font-weight: 800;
    letter-spacing: 1px
}

.service-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 22px 0 9px;
    color: var(--navy)
}

.service-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 22px
}

.card-link {
    font-size: 11px;
    color: var(--navy);
    font-weight: 800;
    display: flex;
    justify-content: space-between
}

.card-link b {
    color: var(--gold-dark);
    font-size: 16px
}

.fleet-preview {
    display: grid;
    grid-template-columns:.83fr 1.17fr;
    gap: 62px;
    align-items: center
}

.fleet-copy h2 {
    max-width: 400px
}

.fleet-copy > p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 430px;
    margin: 20px 0 24px
}

.fleet-mini-stats {
    display: flex;
    gap: 42px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.fleet-mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.fleet-mini-stats strong {
    color: var(--navy);
    font-size: 22px
}

.fleet-mini-stats sup {
    font-size: 12px;
    color: var(--gold-dark)
}

.fleet-mini-stats span {
    font-size: 10px;
    color: var(--muted)
}

.fleet-tiles {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 13px
}

.fleet-tile {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s
}

.fleet-tile-art {
    height: 125px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #eff3f6, #dce6ec);
    position: relative;
    overflow: hidden
}

.fleet-tile-art:before {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(35, 68, 95, .1)
}

.vehicle-symbol {
    font-size: 65px;
    color: #6f8799;
    position: relative;
    z-index: 1;
    text-shadow: 0 6px 0 rgba(19, 41, 67, .08)
}

.fleet-tile:nth-child(2) .fleet-tile-art {
    background: linear-gradient(140deg, #f4efe7, #e5dac8)
}

.fleet-tile:nth-child(3) .fleet-tile-art {
    background: linear-gradient(140deg, #ecf2ef, #d5e5dd)
}

.fleet-tile:nth-child(4) .fleet-tile-art {
    background: linear-gradient(140deg, #f2eff7, #ddd7eb)
}

.fleet-tile-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px
}

.fleet-tile-foot h3 {
    font-size: 13px;
    margin: 0 0 4px
}

.fleet-tile-foot p {
    font-size: 10px;
    color: var(--muted);
    margin: 0
}

.fleet-tile-foot > span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold-dark)
}

.corporate-band {
    background: #142d47;
    color: white;
    padding: 83px 0;
    position: relative;
    overflow: hidden
}

.corporate-band:after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
    right: -100px;
    top: -230px;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .015), 0 0 0 140px rgba(255, 255, 255, .012)
}

.corporate-grid {
    display: grid;
    grid-template-columns:1fr .82fr;
    gap: 90px;
    align-items: center;
    position: relative;
    z-index: 1
}

.corporate-band h2 {
    color: white;
    max-width: 550px
}

.corporate-band p {
    color: #b9c7d3;
    font-size: 13px;
    line-height: 1.85;
    max-width: 490px;
    margin: 18px 0 25px
}

.corporate-points {
    border-top: 1px solid rgba(255, 255, 255, .17)
}

.corporate-points > div {
    display: flex;
    gap: 20px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .17)
}

.corporate-points > div > span {
    font-size: 11px;
    color: var(--gold);
    font-weight: 800;
    padding-top: 2px
}

.corporate-points strong {
    font-size: 13px
}

.corporate-points p {
    margin: 5px 0 0;
    font-size: 11px
}

.client-section {
    padding: 70px 0
}

.client-heading {
    text-align: center
}

.client-heading h2 {
    font-size: 32px;
    margin-top: 14px
}

.client-heading p {
    font-size: 13px;
    color: var(--muted)
}

.client-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px
}

.client-mark {
    min-height: 70px;
    padding: 17px 25px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    color: #576a7e;
    font-weight: 800;
    font-size: 12px
}

.client-mark img {
    max-width: 120px;
    max-height: 38px;
    object-fit: contain
}

.heading-note {
    font-size: 12px;
    color: var(--muted);
    max-width: 270px;
    margin-bottom: 0
}

.review-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 15px
}

.review-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: 10px
}

.stars {
    letter-spacing: 3px;
    color: #d49a38;
    font-size: 13px
}

.review-card blockquote {
    padding: 0;
    margin: 18px 0 23px;
    color: #52657a;
    font-size: 13px;
    line-height: 1.8;
    min-height: 80px
}

.review-by {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #edf0f3;
    padding-top: 16px
}

.review-avatar {
    width: 34px;
    height: 34px;
    background: #e9eff4;
    color: #284c6b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800
}

.review-by > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.review-by strong {
    font-size: 11px
}

.review-by small {
    font-size: 10px;
    color: var(--muted)
}

.cta-section {
    background: var(--navy);
    color: #fff;
    padding: 60px 0
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px
}

.cta-section h2 {
    color: #fff;
    font-size: 36px;
    margin-top: 14px
}

.cta-section p {
    font-size: 12px;
    color: #c1cfda;
    margin-bottom: 0
}

.cta-actions {
    display: flex;
    gap: 12px
}

.site-footer {
    background: #0d2034;
    color: #b8c5d0;
    padding: 45px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns:1.5fr .8fr 1fr;
    gap: 70px;
    padding-bottom: 35px
}

.footer-brand {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 800
}

.footer-grid p {
    font-size: 11px;
    line-height: 1.8;
    color: #91a5b6;
    max-width: 330px
}

.footer-grid h4 {
    font-size: 12px;
    color: #fff;
    margin: 4px 0 15px
}

.footer-grid a:not(.footer-brand) {
    display: block;
    font-size: 11px;
    color: #a8b8c6;
    margin: 10px 0
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 10px;
    color: #7f95a7
}

.empty-state {
    color: var(--muted);
    border: 1px dashed #c9d5df;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    font-size: 13px;
    grid-column: 1/-1
}

/* Public content, auth and input styles */
.content-hero {
    background: var(--navy);
    color: #fff;
    padding: 60px 0
}

.content-hero h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
    margin: 12px 0
}

.content-hero p {
    color: #c5d0da;
    max-width: 700px
}

.content-body {
    padding: 55px 0 85px;
    min-height: 350px
}

.content-body h2 {
    font-size: 25px
}

.content-body p {
    line-height: 1.9;
    color: #586b7e;
    white-space: pre-line
}

.content-body .vehicle-list {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 15px
}

.vehicle-detail {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 25px
}

.vehicle-detail h3 {
    margin-top: 0
}

.auth-wrap {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    background: var(--soft);
    padding: 40px 20px
}

.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 35px;
    border-radius: 14px;
    width: min(440px, 100%)
}

.auth-card h1 {
    font-size: 27px;
    letter-spacing: -1px;
    margin: 0 0 8px
}

.auth-card > p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px
}

.auth-foot {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 22px;
    font-size: 12px;
    color: var(--muted)
}

.auth-foot a {
    color: var(--blue);
    font-weight: 800
}

.form-stack {
    display: grid;
    gap: 15px
}

.form-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 15px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0
}

.form-group label, .field-label {
    font-weight: 700;
    font-size: 12px;
    color: #3a4e63
}

.form-control {
    width: 100%;
    border: 1px solid #d7e0e8;
    border-radius: 7px;
    padding: 12px 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
    font-size: 13px;
    min-height: 43px
}

.form-control:focus {
    border-color: #6f91ad;
    box-shadow: 0 0 0 3px rgba(55, 103, 143, .1)
}

textarea.form-control {
    resize: vertical;
    min-height: 100px
}

.form-help {
    font-size: 11px;
    color: var(--muted)
}

.field-error {
    color: #ad3838;
    font-size: 11px
}

.alert {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 18px;
    font-size: 13px
}

.alert-success {
    background: #e9f7ef;
    border: 1px solid #c8ebd6;
    color: #176b44
}

.alert-error {
    background: #fff0ef;
    border: 1px solid #f1d2ce;
    color: #9d3631
}

.alert-info {
    background: #eff6fb;
    border: 1px solid #d5e8f5;
    color: #2a577b
}

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

.form-actions .btn {
    min-height: 42px
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--muted)
}

/* Dashboard/CRM layout */
.portal-body {
    background: #f3f6f9;
    color: var(--ink);
    min-height: 100vh
}

.portal-shell {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 246px;
    background: #10263e;
    color: #e1e9ef;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 100vh;
    padding: 22px 13px 15px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold);
    color: #172a3e;
    font-size: 19px;
    font-weight: 900
}

.sidebar-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.sidebar-brand strong {
    font-size: 15px;
    color: #fff
}

.sidebar-brand small {
    font-size: 9px;
    letter-spacing: .9px;
    color: #8fa5b8;
    text-transform: uppercase
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 8px
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2c4c69;
    color: #f4c979;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800
}

.sidebar-user > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0
}

.sidebar-user strong {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    color: #fff
}

.sidebar-user small {
    font-size: 10px;
    color: #8fa5b8
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1
}

.nav-section {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #718aa0;
    padding: 18px 12px 7px
}

.side-nav > a {
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 7px;
    color: #b9c8d5;
    font-size: 12px;
    font-weight: 600
}

.side-nav > a:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.side-nav > a.active {
    background: #243f5a;
    color: #fff;
    box-shadow: inset 3px 0 var(--gold)
}

.side-nav > a:first-letter {
    color: #edc16f
}

.logout-form {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 12px;
    margin-top: 20px
}

.logout-form button {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    padding: 12px;
    color: #aabccb;
    font-size: 12px;
    text-align: left
}

.logout-form button:hover {
    background: rgba(255, 255, 255, .07);
    color: white
}

.portal-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column
}

.portal-topbar {
    height: 78px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    gap: 16px
}

.portal-topbar > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.top-eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #8293a3;
    font-weight: 800
}

.portal-topbar strong {
    font-size: 18px;
    letter-spacing: -.4px;
    color: var(--navy)
}

.top-right {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 11px
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #26a269
}

.portal-content {
    padding: 30px 34px;
    flex: 1;
    min-width: 0
}

.portal-footer {
    padding: 17px 34px;
    border-top: 1px solid #e2e8ee;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #8293a3
}

.page-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: start;
    margin-bottom: 23px
}

.page-head h1 {
    font-size: 26px;
    letter-spacing: -1px;
    margin: 0 0 7px;
    color: var(--navy)
}

.page-head p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6
}

.page-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.stat-grid {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px
}

.stat-card {
    padding: 19px;
    background: white;
    border: 1px solid #e1e8ee;
    border-radius: 10px;
    min-width: 0
}

.stat-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}

.stat-top span:first-child {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600
}

.stat-icon {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    background: #edf3f8;
    color: #315c7d;
    display: grid;
    place-items: center;
    font-weight: 900
}

.stat-value {
    font-size: 27px;
    letter-spacing: -1px;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Manrope', sans-serif;
    margin: 13px 0 5px;
    overflow-wrap: anywhere
}

.stat-foot {
    font-size: 10px;
    color: #8292a1
}

.dashboard-grid {
    display: grid;
    grid-template-columns:1.3fr .7fr;
    gap: 18px
}

.panel {
    background: #fff;
    border: 1px solid #e1e8ee;
    border-radius: 10px;
    overflow: hidden;
    min-width: 0
}

.panel-head {
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.panel-head h2, .panel-head h3 {
    font-size: 14px;
    color: var(--navy);
    margin: 0
}

.panel-head p {
    font-size: 10px;
    color: var(--muted);
    margin: 5px 0 0
}

.panel-body {
    padding: 20px
}

.quick-links {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.quick-link {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy)
}

.quick-link:hover {
    border-color: #9bb4c9;
    background: #f7fafc
}

.quick-link span {
    width: 28px;
    height: 28px;
    background: #edf3f8;
    border-radius: 7px;
    display: grid;
    place-items: center
}

.table-wrap {
    width: 100%;
    overflow-x: auto
}

table.data-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    min-width: 650px
}

table.data-table th {
    text-align: left;
    color: #7b8d9d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    background: #f9fbfc;
    border-bottom: 1px solid #e7edf2;
    padding: 12px 15px;
    white-space: nowrap
}

table.data-table td {
    border-bottom: 1px solid #edf1f4;
    padding: 13px 15px;
    color: #405469;
    vertical-align: middle
}

table.data-table tr:last-child td {
    border-bottom: 0
}

table.data-table td strong {
    color: #20374e;
    font-size: 12px
}

table.data-table td small {
    display: block;
    color: #8292a1;
    font-size: 10px;
    margin-top: 4px
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2px;
    background: #eef2f6;
    color: #5a6c7d;
    white-space: nowrap
}

.badge-success {
    background: #e7f6ed;
    color: #167144
}

.badge-warning {
    background: #fff4d9;
    color: #956500
}

.badge-danger {
    background: #ffeded;
    color: #a43a3a
}

.badge-info {
    background: #eaf3fb;
    color: #2d5e84
}

.badge-dark {
    background: #e6e9ed;
    color: #334c63
}

.pagination {
    padding: 14px 18px;
    border-top: 1px solid #edf1f4;
    font-size: 12px
}

.pagination nav {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.pagination a, .pagination button {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff
}

.empty-row {
    text-align: center;
    padding: 30px;
    color: var(--muted)
}

.content-stack {
    display: grid;
    gap: 18px
}

.two-col {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start
}

.panel-form {
    padding: 20px
}

.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f4
}

.table-controls .form-control {
    max-width: 260px
}

.review-admin-card {
    padding: 20px;
    border-bottom: 1px solid #edf1f4
}

.review-admin-card:last-child {
    border-bottom: 0
}

.review-admin-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px
}

.review-admin-card blockquote {
    margin: 13px 0;
    color: #4f6275;
    font-size: 13px;
    line-height: 1.7
}

.button-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 13px
}

.btn-xs {
    font-size: 10px;
    padding: 7px 10px;
    border-radius: 5px
}

.btn-success {
    background: #e4f5eb;
    color: #176f43;
    border: 1px solid #c1e8d1
}

.btn-danger {
    background: #ffeded;
    color: #a43a3a;
    border: 1px solid #f1cece
}

.muted {
    color: var(--muted)
}

.text-right {
    text-align: right
}

.mb-0 {
    margin-bottom: 0
}

.mt-12 {
    margin-top: 12px
}

.w-full {
    width: 100%
}

.stars-control {
    display: flex;
    gap: 8px;
    align-items: center
}

.stars-control button {
    border: 0;
    background: transparent;
    color: #d69c3b;
    font-size: 23px;
    padding: 0
}

.money {
    font-variant-numeric: tabular-nums;
    white-space: nowrap
}

.review-stars {
    color: #d49a38;
    letter-spacing: 2px
}

.review-pending {
    padding: 20px;
    background: #fffaef;
    border: 1px solid #f4e5be;
    border-radius: 9px;
    font-size: 12px;
    color: #8c6a18
}

.report-bars {
    display: grid;
    gap: 13px
}

.report-bar-row {
    display: grid;
    grid-template-columns:140px 1fr 70px;
    gap: 12px;
    align-items: center;
    font-size: 11px
}

.bar-track {
    background: #edf2f6;
    border-radius: 99px;
    height: 8px;
    overflow: hidden
}

.bar-fill {
    height: 100%;
    background: #436f94;
    border-radius: 99px
}

.report-bar-row strong {
    text-align: right;
    font-variant-numeric: tabular-nums
}

.help-callout {
    padding: 12px 14px;
    background: #eff6fb;
    color: #47677f;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.6
}

.pill-list {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.pill {
    display: inline-flex;
    background: #f0f4f7;
    border-radius: 5px;
    padding: 6px 8px;
    font-size: 10px;
    color: #53687b
}

.mobile-sidebar-title {
    display: none
}

@media (max-width: 1050px) {
    .main-nav {
        gap: 14px
    }

    .hero-grid {
        gap: 32px
    }

    .hero h1 {
        font-size: 48px
    }

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

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

    .corporate-grid {
        gap: 45px
    }

    .sidebar {
        width: 220px
    }

    .portal-content {
        padding: 25px 22px
    }

    .portal-topbar {
        padding: 0 22px
    }

    .fleet-preview {
        gap: 35px
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, 600px)
    }

    .site-header {
        height: auto;
        min-height: 75px
    }

    .nav-wrap {
        flex-wrap: wrap;
        padding: 15px 0;
        gap: 12px
    }

    .brand strong {
        font-size: 16px
    }

    .brand small {
        font-size: 8px
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 0 1px;
        gap: 18px;
        white-space: nowrap
    }

    .main-nav a {
        font-size: 11px
    }

    .nav-actions {
        margin-left: auto;
        gap: 10px
    }

    .nav-login {
        display: none
    }

    .hero-grid {
        grid-template-columns:1fr;
        padding-top: 50px;
        padding-bottom: 35px;
        gap: 27px
    }

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

    .hero-copy > p {
        font-size: 14px
    }

    .hero-visual {
        min-height: 300px;
        margin-right: 9px
    }

    .vehicle-art {
        height: 220px
    }

    .vehicle-art svg {
        margin-top: 20px
    }

    .floating-card {
        right: -10px
    }

    .hero-bottom {
        align-items: start;
        flex-direction: column;
        gap: 12px
    }

    .hero-bottom-items {
        flex-wrap: wrap;
        gap: 10px
    }

    .section {
        padding: 60px 0
    }

    .section-intro {
        padding: 58px 0
    }

    .intro-grid, .fleet-preview, .corporate-grid {
        grid-template-columns:1fr;
        gap: 24px
    }

    .intro-grid {
        gap: 20px
    }

    .section h2, .corporate-band h2 {
        font-size: 33px
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        margin-bottom: 25px
    }

    .service-grid {
        gap: 10px
    }

    .service-card {
        padding: 18px;
        min-height: 235px
    }

    .service-card h3 {
        font-size: 14px
    }

    .service-card p {
        font-size: 11px
    }

    .fleet-tiles {
        gap: 9px
    }

    .fleet-tile-art {
        height: 105px
    }

    .fleet-tile-foot {
        padding: 11px
    }

    .fleet-tile-foot h3 {
        font-size: 11px
    }

    .fleet-mini-stats {
        gap: 25px
    }

    .corporate-band {
        padding: 60px 0
    }

    .client-strip {
        gap: 8px
    }

    .client-mark {
        min-width: calc(50% - 8px);
        padding: 12px
    }

    .review-grid {
        grid-template-columns:1fr
    }

    .review-card blockquote {
        min-height: 0
    }

    .cta-inner {
        align-items: start;
        flex-direction: column
    }

    .cta-section h2 {
        font-size: 31px
    }

    .cta-actions {
        flex-wrap: wrap
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap: 25px
    }

    .footer-grid > div:first-child {
        grid-column: 1/-1
    }

    .footer-bottom {
        flex-direction: column
    }

    .content-hero {
        padding: 45px 0
    }

    .content-hero h1 {
        font-size: 33px
    }

    .content-body .vehicle-list {
        grid-template-columns:1fr
    }

    .portal-shell {
        display: block
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        min-height: unset;
        padding: 12px;
        overflow: visible
    }

    .sidebar-brand {
        padding-bottom: 12px
    }

    .sidebar-user {
        padding: 12px 8px
    }

    .side-nav {
        display: grid;
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 3px
    }

    .nav-section {
        grid-column: 1/-1;
        padding: 12px 8px 5px
    }

    .side-nav > a {
        padding: 10px 8px;
        font-size: 10px;
        gap: 7px
    }

    .logout-form {
        margin-top: 9px
    }

    .portal-topbar {
        height: auto;
        padding: 15px;
        align-items: start
    }

    .portal-topbar strong {
        font-size: 15px
    }

    .top-right > span:not(.status-dot) {
        display: none
    }

    .top-right .btn {
        display: none
    }

    .portal-content {
        padding: 20px 13px
    }

    .portal-footer {
        padding: 13px;
        gap: 10px;
        flex-wrap: wrap
    }

    .page-head {
        flex-direction: column
    }

    .page-head h1 {
        font-size: 23px
    }

    .stat-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 9px
    }

    .stat-card {
        padding: 14px
    }

    .stat-value {
        font-size: 23px
    }

    .stat-top span:first-child {
        font-size: 10px
    }

    .dashboard-grid, .two-col {
        grid-template-columns:1fr
    }

    .quick-links {
        grid-template-columns:1fr 1fr
    }

    .panel-head {
        padding: 15px
    }

    .report-bar-row {
        grid-template-columns:100px 1fr 54px
    }

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

    .panel-form {
        padding: 15px
    }

    .auth-card {
        padding: 25px
    }

    .review-admin-head {
        flex-direction: column
    }

    .table-controls {
        align-items: start;
        flex-direction: column
    }

    .table-controls .form-control {
        max-width: 100%
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 37px
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch
    }

    .service-grid {
        grid-template-columns:1fr
    }

    .service-card {
        min-height: unset
    }

    .quick-links {
        grid-template-columns:1fr
    }

    .stat-grid {
        grid-template-columns:1fr 1fr
    }

    .hero-visual {
        min-height: 275px
    }

    .vehicle-art {
        height: 195px
    }
}

/* Public journey calculator */
.fare-calculator-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow)
}

.fare-form-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr))
}

.fare-result {
    display: grid;
    grid-template-columns:1.1fr .9fr;
    gap: 30px;
    border-top: 1px solid var(--line);
    margin-top: 25px;
    padding-top: 26px
}

.fare-result-copy h3 {
    font-size: 24px;
    letter-spacing: -.7px;
    color: var(--navy);
    margin: 13px 0 8px
}

.fare-result-copy h3 span {
    color: var(--gold-dark);
    padding: 0 5px
}

.fare-result-copy p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 12px
}

.fare-total {
    font-family: 'Manrope', sans-serif;
    color: var(--navy);
    font-size: 35px;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin: 12px 0
}

.fare-result-copy > small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    max-width: 450px
}

.fare-breakdown {
    background: #f7f9fb;
    border: 1px solid #e6edf2;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    gap: 14px;
    align-content: start
}

.fare-breakdown > div:not(.fare-actions) {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
    color: var(--muted)
}

.fare-breakdown strong {
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    text-align: right
}

.fare-breakdown .fare-breakdown-total {
    border-top: 1px solid #dce5ec;
    padding-top: 13px;
    font-weight: 800
}

.fare-breakdown .fare-breakdown-total span {
    color: var(--navy)
}

.fare-actions {
    display: grid;
    gap: 12px;
    margin-top: 4px
}

.fare-actions .text-link {
    font-size: 12px
}

.fare-disclaimer {
    font-size: 10px;
    color: #7c8b99;
    line-height: 1.6;
    margin: 19px 0 0
}

.fare-result .eyebrow {
    color: #738599
}

@media (max-width: 760px) {
    .fare-calculator-panel {
        padding: 17px
    }

    .fare-form-grid, .fare-result {
        grid-template-columns:1fr
    }

    .fare-result {
        gap: 17px
    }

    .fare-total {
        font-size: 30px
    }
}

.permission-list {
    display: grid;
    grid-template-columns:1fr;
    gap: 9px;
    max-height: 650px;
    overflow: auto
}

.permission-option {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer
}

.permission-option input {
    margin-top: 3px;
    accent-color: var(--navy)
}

.permission-option span {
    display: grid;
    gap: 4px
}

.permission-option strong {
    font-size: 12px;
    color: var(--navy)
}

.permission-option small {
    font-size: 10px;
    color: var(--muted)
}
