:root {
    --cassiopeia-font-family-body: 'Montserrat', sans-serif;
    --cassiopeia-font-family-headings: 'Montserrat', sans-serif;
    --cassiopeia-font-weight-normal: 400;
    --cassiopeia-font-weight-headings: 700;
    --body-font-family: 'Montserrat', sans-serif;
    --font-sans-serif: 'Montserrat', sans-serif;
    --bs-body-font-family: 'Montserrat', sans-serif;
    --bs-font-sans-serif: 'Montserrat', sans-serif;
}

body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
button, input, select, textarea,
.btn, .form-control, .form-select, .mod-menu {
    font-family: 'Montserrat', sans-serif;
}

/* Native Joomla sign-in, presented as the mockup's Astara access card. */
body:has(.fleet-login-screen) {
    background: #1e1932;
}

body:has(.fleet-login-screen) .container-header {
    display: none;
}

body:has(.fleet-login-screen) .site-grid {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

body:has(.fleet-login-screen) .container-component {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body:has(.fleet-login-screen) #system-message-container {
    max-width: 448px;
    margin: 16px auto 0;
}

.fleet-login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 120px);
    padding: 20px;
}

.fleet-login-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 448px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px #00000040;
}

.fleet-login-logo {
    display: block;
    width: 172px;
    height: 30px;
    object-fit: contain;
}

.fleet-login-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 16px;
}

.fleet-login-languages {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
}

.fleet-login-languages a {
    color: #64748b;
    padding-inline: 8px;
    text-decoration: none;
}

.fleet-login-languages a + a {
    border-inline-start: 1px solid #cbd5e1;
}

.fleet-login-languages a[aria-current="page"] {
    color: #1e1932;
    font-weight: 700;
}

.fleet-login-languages a:hover,
.fleet-login-languages a:focus-visible {
    color: #ff5a00;
}

.fleet-login-card h1 {
    margin: 40px 0 0;
    color: #1e1932;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.fleet-login-description {
    margin: 12px 0 24px;
    color: #475569;
    font-size: 14px;
    line-height: 1.625;
}

.fleet-login-card .com-users-login__form,
.fleet-login-card fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.fleet-login-card .control-group {
    display: block;
    margin-bottom: 16px;
}

.fleet-login-card .control-label {
    width: auto;
    margin-bottom: 6px;
    color: #1e1932;
    font-size: 14px;
}

.fleet-login-card .controls {
    min-width: 0;
    margin: 0;
}

.fleet-login-card .form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
}

.fleet-login-card .form-control:focus {
    border-color: #ff5a00;
    box-shadow: 0 0 0 2px #ff5a0040;
}

.fleet-login-card .password-group .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.fleet-login-card .input-group .form-control {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    border-radius: 12px 0 0 12px;
}

.fleet-login-card .input-password-toggle {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    margin-block: 0;
    border-radius: 0 12px 12px 0;
}

.fleet-login-card .com-users-login__remember {
    margin-block: 16px;
    font-size: 14px;
}

.fleet-login-card .com-users-login__submit .btn-primary {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #1e1932;
    border-radius: 12px;
    background: #1e1932;
    color: #fff;
    font-weight: 600;
}

.fleet-login-card .com-users-login__submit .btn-primary:hover {
    background: #32294f;
}

.fleet-login-card .com-users-login__options {
    gap: 8px;
    margin-top: 20px;
}

.fleet-login-card .com-users-login__options a {
    padding: 0;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    text-decoration: none;
}

.fleet-login-card .com-users-login__options a:hover {
    color: #ff5a00;
    text-decoration: underline;
}

@media (min-width: 640px) {
    .fleet-login-card { padding: 36px; }
}

/* Intro typography matching the mockup's responsive Tailwind values. */
.com-content-article__body > div[style*="text-align: center"] {
    box-sizing: border-box;
    max-width: 896px;
    margin-inline: auto;
    padding-inline: 16px;
    padding-block: 49px 64px;
}

.com-content-article__body h1 {
    margin: 0;
    color: #1e1932;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.com-content-article__body h4 {
    margin: 24px 0 0;
    color: #475569;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: normal;
}

.com-content-article__body p {
    margin: 20px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: normal;
}

@media (min-width: 640px) {
    .com-content-article__body > div[style*="text-align: center"] {
        padding-inline: 24px;
        padding-block: 65px 80px;
    }

    .com-content-article__body h1 {
        font-size: 48px;
    }

    .com-content-article__body h4 {
        font-size: 18px;
    }

    .com-content-article__body p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .com-content-article__body > div[style*="text-align: center"] {
        padding-inline: 32px;
    }
}

.container-header .mod-menu > li:has(> .fleet-contact-link) {
    margin-inline-start: auto;
}

.container-header .mod-menu a.fleet-contact-link,
.container-header .mod-menu a.fleet-logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1e1932;
    font-size: 0;
    transition: background-color .15s, color .15s;
}

.fleet-contact-link::before,
.fleet-logout-link::before,
.fleet-contact__icon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m3 7 9 6 9-6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fleet-logout-link::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4m7-14 5 7-5 7m-7-7h12' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.container-header .mod-menu a.fleet-contact-link:hover,
.container-header .mod-menu a.fleet-contact-link:focus-visible,
.container-header .mod-menu a.fleet-logout-link:hover,
.container-header .mod-menu a.fleet-logout-link:focus-visible {
    background: #1e1932;
    color: #fff;
}

.fleet-contact__intro {
    padding-block: 56px;
    border-bottom: 1px solid #e2e8f0;
}

.fleet-contact .fleet-contact__back {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fleet-contact__intro h1 {
    margin: 40px 0 0;
    color: #1e1932;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.025em;
}

.fleet-contact .fleet-contact__intro > p {
    max-width: 672px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.625;
}

.fleet-contact__details {
    display: grid;
    align-items: start;
    gap: 40px;
    padding-block: 56px;
}

.fleet-contact__details > * {
    min-width: 0;
}

.fleet-contact__method joomla-hidden-mail {
    display: block;
    max-width: 100%;
    margin-top: 12px;
    color: #ff5a00;
    font-size: 18px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fleet-contact__method joomla-hidden-mail a {
    margin-top: 0;
}

.fleet-contact h2 {
    margin: 0;
    color: #1e1932;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.fleet-contact .fleet-contact__details p {
    margin: 16px 0 0;
    color: #475569;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.625;
}

.fleet-contact__methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    margin-top: 36px;
}

.fleet-contact__method {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px #0000000d;
}

.fleet-contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff7ed;
    color: #ff5a00;
}

.fleet-contact__icon::before {
    width: 24px;
    height: 24px;
}

.fleet-contact__icon--phone::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5C3 14 10 21 18.5 21h1.25A1.75 1.75 0 0 0 21.5 19.25v-2.1a1.75 1.75 0 0 0-1.25-1.68l-2.66-.8a1.75 1.75 0 0 0-1.85.58l-.68.86a13.5 13.5 0 0 1-5.66-5.66l.86-.68a1.75 1.75 0 0 0 .58-1.85l-.8-2.66A1.75 1.75 0 0 0 8.85 4H4.75A1.75 1.75 0 0 0 3 5.5Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
}

.fleet-contact__method h3 {
    margin: 20px 0 0;
    color: #1e1932;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.fleet-contact__method a {
    display: inline-block;
    margin-top: 12px;
    color: #ff5a00;
    font-size: 18px;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.fleet-contact a:hover {
    text-decoration: underline;
}

.fleet-contact__location {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 2px #0000000d;
}

.fleet-contact__location img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.fleet-contact__location figcaption {
    padding: 20px 24px;
}

.fleet-contact__location h3 {
    margin: 0;
    color: #1e1932;
    font-size: 16px;
    font-weight: 700;
}

.fleet-contact .fleet-contact__location p {
    margin-top: 4px;
    font-size: 14px;
}

.fleet-contact .fleet-contact__location .fleet-contact__credit {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.fleet-contact__credit a { color: inherit; }

@media (min-width: 640px) {
    .fleet-contact__intro, .fleet-contact__details { padding-block: 80px; }
    .fleet-contact__intro h1 { font-size: 48px; }
    .fleet-contact__location img { height: 320px; }
}

@media (min-width: 1024px) {
    .fleet-contact__details {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
        gap: 64px;
    }
}

.fleet-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin-inline: auto;
    padding: 48px 16px;
}

.fleet-brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid rgb(226 232 240 / 80%);
    border-radius: 16px;
    transition: box-shadow .3s;
}

.fleet-brand-card:hover {
    box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
}

.fleet-brand-card__heading {
    margin-bottom: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.fleet-brand-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    margin-bottom: 12px;
}

.fleet-brand-card__logo img {
    width: 100%;
    max-width: 180px;
    max-height: 96px;
    object-fit: contain;
}

.fleet-brand-card h2 {
    margin: 0;
    color: #1e1932;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.fleet-cards .fleet-brand-card p {
    margin: 0 0 24px;
    color: #475569;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.625;
}

.fleet-brand-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.fleet-brand-card__actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.fleet-brand-card__actions a::after {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: #94a3b8;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .15s;
}

.fleet-brand-card__actions a:hover,
.fleet-brand-card__actions a:focus-visible {
    color: #ea580c;
}

.fleet-brand-card__actions a:hover::after {
    transform: translateX(2px);
}

.fleet-brand-card__actions a.fleet-brand-card__website {
    padding-top: 8px;
    color: #ea580c;
    font-weight: 600;
}

.fleet-brand-card__actions a.fleet-brand-card__website::after {
    background: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-4M14 4h6m0 0v6m0-6L10 14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (min-width: 640px) {
    .fleet-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-inline: 24px;
    }
}

@media (min-width: 1024px) {
    .fleet-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-inline: 32px;
    }
}

.container-footer.footer {
    background: #fff;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

.container-footer.footer > .grid-child {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    max-width: 1280px;
    padding: 32px;
    font-size: 14px;
    font-weight: 300;
}

.container-footer.footer .mod-custom p {
    margin: 0;
}

.container-footer.footer .mod-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.container-footer.footer .mod-menu a {
    text-decoration: none;
}

.container-footer.footer a:not(.btn):hover,
.container-footer.footer a:not(.btn):focus-visible {
    color: #1e1932;
}

@media (max-width: 639.98px) {
    .container-footer.footer > .grid-child {
        flex-direction: column;
        padding-inline: 16px;
        text-align: center;
    }
}

.main-bottom.card {
    border: 0;
}

.fleet-about {
    display: grid;
    align-items: center;
    gap: 40px;
    padding-block: 64px;
}

.com-content-article__body .fleet-about p {
    margin: 16px 0 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.625;
}

.fleet-about .fleet-about__text .fleet-about__eyebrow {
    margin: 0 0 16px;
    color: #ff5a00;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.fleet-about h2 {
    margin: 0;
    color: #1e1932;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.com-content-article__body .fleet-about h2 + p {
    margin-top: 24px;
}

.fleet-about figure {
    margin: 0;
}

.fleet-about img {
    width: 100%;
    height: 288px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
}

.fleet-about figcaption {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
    text-align: right;
}

.fleet-about figcaption a {
    color: inherit;
}

@media (min-width: 640px) {
    .fleet-about { padding-block: 80px; }
    .fleet-about h2 { font-size: 36px; }
    .fleet-about img { height: 384px; }
}

@media (min-width: 1024px) {
    .fleet-about {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
    }
}

/* Astara header: white background and dark navigation, as in the mockup. */
.container-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 2rem;
    min-height: 80px;
    padding: 1rem max(1.25rem, calc((100% - 1216px) / 2));
    background: #fff;
    color: #1e1932;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
}

.container-header > .grid-child {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.container-header > .container-topbar,
.container-header > .container-below-top {
    flex-basis: 100%;
}

.container-header .navbar-brand {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.container-header .brand-logo {
    display: inline-flex;
    align-items: center;
}

.container-header .brand-logo img {
    display: block;
    height: 25px;
    width: auto;
}

.container-header .container-nav {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
}

.container-header .container-nav nav {
    margin: 0;
}

.container-header .mod-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1.5rem;
    color: #1e1932;
    font-size: .875rem;
    font-weight: 500;
}

.container-header .mod-menu > li + li {
    margin-inline-start: 0;
}

.container-header .navbar-brand a,
.container-header .site-description,
.container-header .mod-menu .mod-menu__sub a,
.container-header .mod-menu .mod-menu__sub span {
    color: #1e1932;
}

.container-header .mod-menu > li.active > a {
    font-weight: 700;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus-visible {
    color: #ff5a00;
}

.container-header .mod-menu > li.active::after,
.container-header .mod-menu > li:hover::after {
    background: #ff5a00;
}

.fleet-mobile-menu {
    display: block;
    flex: 0 0 auto;
}

.fleet-header-primary {
    flex: 1 1 auto;
    min-width: 0;
}

.fleet-mobile-menu__panel {
    display: flex;
    align-items: center;
    gap: 24px;
}

.fleet-mobile-menu__checkbox,
.fleet-mobile-menu__toggle {
    display: none;
}

@media (max-width: 767.98px) {
    .container-header .container-nav {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .fleet-mobile-menu {
        display: block;
        position: relative;
        flex: 0 0 auto;
        margin-inline-start: auto;
    }

    .fleet-mobile-menu__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #1e1932;
        cursor: pointer;
        list-style: none;
    }

    .fleet-mobile-menu__checkbox {
        display: block;
    }

    .fleet-mobile-menu__checkbox:focus-visible + .fleet-mobile-menu__toggle {
        outline: 2px solid #ff5a00;
        outline-offset: 3px;
    }

    .fleet-mobile-menu__checkbox:checked ~ .fleet-mobile-menu__panel {
        display: block;
    }

    .fleet-mobile-menu__toggle::-webkit-details-marker {
        display: none;
    }

    .fleet-mobile-menu__toggle:focus-visible {
        outline: 2px solid #ff5a00;
        outline-offset: 3px;
    }

    .fleet-mobile-menu__bars {
        width: 18px;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -6px currentColor, 0 6px currentColor;
    }

    .fleet-mobile-menu__panel {
        display: none;
        position: absolute;
        z-index: 100;
        inset-inline-end: 0;
        top: calc(100% + 12px);
        width: min(250px, calc(100vw - 32px));
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 32px #1e193226;
    }

    .container-header .fleet-mobile-menu .mod-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .container-header .fleet-mobile-menu .mod-menu > li {
        margin: 0;
    }

    .container-header .fleet-mobile-menu .mod-menu > li::after {
        display: none;
    }

    .container-header .fleet-mobile-menu a.fleet-contact-link,
    .container-header .fleet-mobile-menu a.fleet-logout-link {
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
    }

    .fleet-mobile-menu .mod-languages {
        margin-top: 12px;
        padding: 12px 8px 4px;
        border-top: 1px solid #e2e8f0;
    }

    .fleet-mobile-menu .mod-languages__list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    .fleet-mobile-menu .mod-languages a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding-inline: 8px;
        color: #1e1932;
    }
}

@media (max-width: 575.98px) {
    .container-header .brand-logo img {
        height: 12.5px;
    }

    .container-header {
        gap: 0 1rem;
        padding-inline: 1rem;
    }

    .container-header .mod-menu {
        gap: .5rem .75rem;
    }
}
