/* Lightweight Bootstrap fallbacks so the mock-up still renders if the CDN is blocked. */
.container-xl {
    width: 100%;
    margin-right: auto;
    margin-left: auto
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px
}

.row>* {
    padding-right: 8px;
    padding-left: 8px
}

.g-3 {
    row-gap: 10px
}

/* .col-md-4{width:33.333333%} */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer
}

.btn-primary {
    color: #fff;
    background: var(--n57-blue);
    border-color: var(--n57-blue);
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
    background: transparent
}

.form-control {
    display: block;
    width: 100%;
    background: #fff
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.align-middle td,
.align-middle th {
    vertical-align: middle
}

.mb-0 {
    margin-bottom: 0 !important
}

.d-none {
    display: none !important
}

@media (min-width:768px) {
    .d-md-inline {
        display: inline !important
    }
}

@media (max-width:767px) {
    .col-md-4 {
        width: 100%
    }
}


:root {
    --n57-blue: #2670cb;
    --n57-blue-dark: #0466e6;
    --n57-navy: #071f4d;
    --n57-text: #12234a;
    --n57-muted: #5f739f;
    --n57-border: #dce6f3;
    --n57-soft: #f7faff;
    --n57-bg: #ffffff;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--n57-text);
    /* font-family:Arial, Helvetica, sans-serif; */
    font-family: "Archivo", sans-serif;
    font-size: 16px;
    /* line-height:22px; */
}

.text-primary {
    color: var(--n57-blue) !important;
}

a {
    text-decoration: none
}

.n57-container {
    /* max-width:946px; */
    padding-left: 0;
    padding-right: 0;
}

.site-header {
    /* height:73px;  */
    height: 130px;
    /* height:190px; */
    background: #fff;
    border-bottom: 1px solid #e7eef7;
    /* position:fixed;
  width: 100%; */
    z-index: 100;
}

.header-grid {
    height: 73px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 112px;
    grid-template-rows: 25px 48px;
    column-gap: 20px;
    align-items: center;
}

.brand-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    height: 73px;
}

.brand-logo {
    /* width:228px; */
    /* width:185px; */
    width: 240px;
    height: 120px;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.header-contact {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding-top: 5px;
}

.contact-block {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #0d2a61;
}

.contact-block i {
    color: var(--n57-blue);
    font-size: 14px;
    line-height: 1;
    margin-top: 1px;
}

.contact-block strong {
    display: block;
    font-size: 10px;
    line-height: 1.05;
    white-space: nowrap;
}

.contact-block small {
    display: block;
    color: #7486ad;
    font-size: 8px;
    line-height: 1.05;
    margin-top: 2px;
    white-space: nowrap;
}

.desktop-nav {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    white-space: nowrap;
    align-self: center;
}

.desktop-nav a {
    display: block;
    color: #0a2250;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.desktop-nav a:hover {
    color: var(--n57-blue)
}

.desktop-quote {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
}

.quote-btn {
    min-width: 108px;
    margin: 0;
    padding: 9px 12px;
    font-size: 11px;
    line-height: 1;
    border-radius: 4px;
    background: var(--n57-blue);
    border-color: var(--n57-blue);
    box-shadow: none;
}

.mobile-toggle {
    display: none
}

.mobile-drawer {
    width: min(86vw, 340px)
}

.offcanvas-logo {
    width: 205px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.mobile-nav a {
    display: block;
    width: 100%;
    padding: 14px 2px;
    border-bottom: 1px solid #e5edf7;
    color: #0a2250;
    font-size: 15px;
    font-weight: 600;
}

.mobile-nav .mobile-quote {
    margin-top: 18px;
    border: 0;
    border-radius: 4px;
    background: var(--n57-blue);
    color: #fff;
    text-align: center;
    padding: 13px 16px;
}

/* Hero */
.hero-section {
    /* height:350px; */
    height: auto;
    background: #fff;
    overflow: hidden;
}

.hero-inner {
    height: auto;
    /* height:440px; */
    position: relative;
    overflow: hidden;
    display: block;
    background:
        linear-gradient(90deg,
            #fff 0%,
            #fff 43%,
            rgba(255, 255, 255, .99) 47%,
            rgba(255, 255, 255, .90) 51%,
            rgba(255, 255, 255, .62) 56%,
            rgba(255, 255, 255, .20) 63%,
            rgba(255, 255, 255, 0) 69%),
        url("../images/hero-engine.jpg") right center / 55% 100% no-repeat;
}

.hero-copy {
    /* position:relative; */
    z-index: 2;
    width: 53%;
    padding: 20px 0;
}

.hero-copy h1 {
    margin: 0 0 4px;
    color: #071f4d;
    font-size: 37px;
    font-weight: 800;
    line-height: 43px;
}

.hero-copy h1 span {
    color: var(--n57-blue)
}

.hero-sub {
    color: #0a2450;
    font-size: 16px;
    margin: 7px 0 13px;
    line-height: 22px;
}

.form-parent {
    padding: 5px;
    border: 2px solid;
    width: 509px;
    border-radius: 5px;
}

.hero-media {
    display: none
}

.reg-search {
    width: 495px;
    height: 55px;
    display: grid;
    grid-template-columns: 35px 1fr 190px;
    background: #fff;
    border: 1px solid #cfe0f5;
    box-shadow: 0 1px 3px rgba(16, 42, 86, .07);
    border-radius: 5px;
    overflow: hidden;
}

.plate-icon {
    /* background:#092a5f; */
    /* color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding:5px 6px 4px; */
    background-size: contain;
    /* background-position: center; */
    background-repeat: no-repeat;
    background-image: url(../images/gb.png);
}

.plate-icon img {
    display: none;
    /* width:24px;
  height:14px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.45); */
}

.plate-icon b {
    font-size: 9px;
    margin-top: 3px;
    font-weight: 700;
    display: none;
}

.reg-search .form-control {
    border: 0;
    border-radius: 0;
    font-size: 13px;
    color: #6b7fa4;
    padding: 0 13px;
    box-shadow: none;
}

.reg-search .form-control::placeholder {
    color: #8292af;
    opacity: 1
}

.reg-search .btn {
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    background: var(--n57-blue);
    border-color: var(--n57-blue);
    white-space: nowrap;
}

.specialist-note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: #0b2a5f;
    margin-top: 10px;
    margin-bottom: 10px;
}

.specialist-note i {
    color: var(--n57-blue);
    font-size: 17px
}

.hero-trust-row {
    margin-top: 17px;
    margin-top: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    width: 570px;
    border-top: 1px solid #e3ebf5;
    padding-top: 12px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 13px;
    border-right: 1px solid #dfe8f3;
}

.hero-trust:last-child {
    border-right: 0;
    margin-right: 0
}

.hero-trust i {
    font-size: 25px;
    color: var(--n57-blue)
}

.hero-trust b {
    display: block;
    font-size: 14px
}

.hero-trust small {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: #6b7da0;
    margin-top: 2px
}


/*=========== Cards strip ===========*/
/* .services-strip{padding:7px 0 5px}
.service-card{
  min-height:77px;
  padding:11px 12px;
  display:grid;
  grid-template-columns:47px 1fr 12px;
  align-items:start;
  gap:9px;
  color:inherit;
  border:1px solid var(--n57-border);
  border-radius:4px;
  background:#fff;
}
.service-icon{
  display:grid;
  place-items:center;
  color:var(--n57-blue);
  font-size:36px;
  height:46px;
}
.service-content h3{font-size:14px;margin:0 0 4px;font-weight:700;color:#0b2454}
.service-content p{font-size:10px;line-height:1.22;color:#5f739e;margin:0}
.service-arrow{align-self:center;color:var(--n57-blue);font-size:14px} */

/* ============== N57 SERVICES SECTION ============= */
.n57-services-section {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    background: #f6f9fd;
}

.n57-services-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -180px;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(8, 120, 249, 0.055);
}

.n57-services-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -170px;
    left: -165px;
    border-radius: 50%;
    background: rgba(9, 45, 101, 0.035);
    pointer-events: none;
}

.n57-services-container {
    z-index: 2;
    position: relative;
    max-width: 1220px;
}

.n57-services-heading {
    margin-bottom: 25px;
}

.n57-services-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #0878f9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.n57-services-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}

.n57-service-card {
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    align-items: center;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dce6f2;
    padding: 20px;
    text-decoration: none !important;
    box-shadow: 0 6px 22px rgba(9, 45, 101, 0.045);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.n57-service-card:hover {
    transform: translateY(-5px);
    border-color: #a8caf0;
    box-shadow: 0 15px 35px rgba(9, 45, 101, 0.11);
}

.service-top-line {
    position: absolute;
    top: 0;
    left: 20px;
    width: 45px;
    height: 4px;
    background: var(--n57-blue);
    border-radius: 0 0 5px 5px;
    transition: width .3s ease;
}

.n57-service-card:hover .service-top-line {
    width: 80px;
}

.service-icon-box {
    position: relative;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, #edf5ff 0%, #f7faff 100%);
    overflow: hidden;
}

/* .service-icon-box::before {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    top: -45px;
    right: -45px;
    border-radius: 50%;
    background: #0878f9;
    opacity: .06;
} */

/* .service-icon-box::after {
    content: "";
    position: absolute;
    width: 46px;
    height: 3px;
    left: -7px;
    bottom: 11px;
    background: #0878f9;
    transform: rotate(-48deg);
    border-radius: 5px;
} */

.service-icon {
    position: relative;
    z-index: 2;
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #ffffff;
    color: var(--n57-blue);
    font-size: 24px;
    box-shadow: 0 8px 18px rgba(9, 45, 101, .08);
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.n57-service-card:hover .service-icon {
    color: #ffffff;
    transform: scale(1.06);
    background: var(--n57-blue);
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content h3 {
    margin: 0 0 9px;
    color: #092d65;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.service-content p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

/* .service-arrow {
    position: absolute;
    right: 17px;
    bottom: 17px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3ff;
    color: #0878f9;
    font-size: 16px;
    transition:background .3s ease,color .3s ease,transform .3s ease;
}
.n57-service-card:hover .service-arrow {
    background: #0878f9;
    color: #ffffff;
    transform: translate(3px, -3px);
} */

.n57-no-services {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dce6f2;
    border-radius: 14px;
    color: #64748b;
}

@media (max-width: 1050px) {
    .n57-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    /* .n57-services-section {
        padding: 55px 15px 65px;
    } */
    .n57-services-heading {
        display: block;
        margin-bottom: 25px;
    }

    .n57-services-grid {
        grid-template-columns: 1fr !important;
    }

    .n57-services-heading h2 {
        font-size: 29px;
    }

    .n57-services-heading>p {
        margin-top: 12px;
        max-width: 680px;
        font-size: 14px;
    }

    .bmw-model-visual img {
        top: 0 !important;
    }

    .step-number {
        width: 38px !important;
        height: 38px !important;
    }

    .process-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 22px !important;
    }

    .process-top {
        margin-bottom: 20px;
    }

    .n57-jobs-view-all {
        padding: 8px 12px 8px 12px !important;
    }

    .cta-copy p {
        margin-bottom: 1rem !important;
    }

    .cta-actions {
        justify-content: center !important;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-bottom {
        text-align: center;
    }

    h2 {
        font-size: 25px !important;
        line-height: 31px !important;
    }

    .n57-why-content-heading h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .n57-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .n57-service-card {
        min-height: 130px;
        padding: 20px 48px 20px 17px;
    }

    .service-icon-box {
        flex: 0 0 74px;
        width: 74px;
        height: 74px;
        margin-right: 15px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p {
        font-size: 12.5px;
    }

    /* .service-arrow {
        width: 35px;
        height: 35px;
        right: 12px;
        bottom: 12px;
        font-size: 14px;
    } */
}

@media (max-width: 480px) {
    .n57-services-heading h2 {
        font-size: 26px;
    }

    .n57-services-label {
        font-size: 11px;
    }

    .n57-service-card {
        min-height: 145px;
        padding: 16px 43px 16px 13px;
        border-radius: 12px;
    }

    .service-icon-box {
        flex: 0 0 66px;
        width: 66px;
        height: 72px;
        margin-right: 13px;
        border-radius: 13px;
    }

    .service-icon {
        width: 43px;
        height: 43px;
        border-radius: 12px;
        font-size: 19px;
    }

    .service-content h3 {
        font-size: 15px;
        margin-bottom: 7px;
    }

    .service-content p {
        font-size: 11.5px;
        line-height: 1.5;
    }

    /* .service-arrow {
        width: 32px;
        height: 32px;
        right: 10px;
        bottom: 10px;
    } */
}

/*============= General sections =============*/
.content-section {
    padding: 4px 0
}

/* .section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:4px;
} */
/* .section-head h2,
.content-section> .n57-container > h2{
  margin:0;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.3px;
  color:#071f4d;
} */
.section-head p {
    margin: 0;
    color: #5e739b;
    font-size: 10px
}

.section-head a {
    color: var(--n57-blue);
    font-size: 10px;
    font-weight: 700;
    padding-bottom: 2px;
}

.section-head.compact {
    margin-bottom: 4px
}

/*=========== Table ============*/
/* .table-shell{
  border:1px solid var(--n57-border);
  border-radius:4px;
  overflow:hidden;
}
.engine-table{
  font-size:11px;
  color:#2f4e88;
}
.engine-table thead th{
  background:#092a5f;
  color:#fff;
  font-size:9px;
  padding:5px 13px;
  font-weight:600;
}
.engine-table tbody td{
  height:23px;
  padding:2px 13px;
  border-color:#dfe7f2;
  color:#2f4f8f;
}
.engine-table tbody td:first-child{
  font-weight:800;
  color:#0b2a63;
}
.engine-table th:nth-child(1), .engine-table td:nth-child(1){width:128px}
.engine-table th:nth-child(2), .engine-table td:nth-child(2){width:525px}
.engine-table th:nth-child(3), .engine-table td:nth-child(3){width:110px}
.engine-table th:nth-child(4), .engine-table td:nth-child(4){width:100px}
.engine-table th:last-child, .engine-table td:last-child{width:140px;text-align:center}
.table-btn{
  display:inline-block;
  min-width:105px;
  padding:3px 9px;
  font-size:9px;
  color:var(--n57-blue);
  border:2px solid #b8d6ff;
  border-radius:3px;
  background:#fff;
}
#table thead th{
  width: 0%;
  color: #fff;
  background-color: #092a5f;
} */

/* =============== Engine code table ============== */

.n57-spec-section {
    padding: 35px 0;
    /* background: #f4f7fc; */
    overflow: hidden;
}

.n57-spec-container {
    max-width: 1340px;
}

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

.n57-spec-heading-content {
    max-width: 760px;
}

.n57-spec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.n57-spec-eyebrow-line {
    width: 26px;
    height: 3px;
    border-radius: 5px;
    background: #0878f9;
}

/* .n57-spec-heading h2 {
    margin: 0 0 12px;
    color: #092d65;
    font-size: clamp(29px, 3.1vw, 40px);
    line-height: 1.2;
    font-weight: 800;
} */
.n57-spec-heading p {
    max-width: 710px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.n57-spec-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 15px 12px 18px;
    border: 1px solid #d8e4f2;
    border-radius: 8px;
    background: #ffffff;
    color: #092d65 !important;
    font-size: 13px;
    font-weight: 750;
    margin-top: 18px;
    text-decoration: none !important;
    transition: .25s ease;
}

.n57-spec-table th:nth-child(2),
.n57-spec-table td:nth-child(2) {
    width: 525px
}

.n57-engine-code-table th:nth-child(2),
.n57-engine-code-table td:nth-child(2) {
    width: 34%
}

.n57-spec-view-all i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 6px;
    background: var(--n57-blue);
    color: #ffffff;
    font-size: 16px;
}

.n57-spec-view-all:hover {
    border-color: #9dc5f4;
    box-shadow: 0 7px 20px rgba(9, 45, 101, .07);
}

.n57-spec-catalogue {
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(9, 45, 101, .055);
}

.n57-spec-catalogue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 25px;
    border-bottom: 1px solid #e5ecf5;
    background: #ffffff;
}

.n57-spec-catalogue-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.n57-spec-catalogue-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    border-radius: 11px;
    background: #092d65;
    color: #ffffff;
    font-size: 22px;
}

.n57-spec-catalogue-title h3 {
    margin: 0 0 5px;
    color: #092d65;
    font-size: 17px;
    font-weight: 800;
}

.n57-spec-catalogue-title p {
    margin: 0;
    color: #718198;
    font-size: 12px;
    line-height: 1.5;
}

.n57-spec-count {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid #dce8f8;
    border-radius: 8px;
    background: #f3f8ff;
}

.n57-spec-count strong {
    color: #0878f9;
    font-size: 21px;
    line-height: 1;
    font-weight: 850;
}

.n57-spec-count span {
    max-width: 75px;
    color: #536983;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
}

.n57-spec-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.n57-spec-table {
    width: 100%;
    min-width: 950px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    color: #34465e;
}

.n57-spec-table thead th {
    padding: 12px 15px;
    /* border: none; */
    border: 1px solid #dce7f5;
    background: #eef4fc;
    /* color: #536982; */
    text-align: left;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    /* white-space: nowrap; */
}

.n57-spec-table thead th:first-child {
    padding-left: 15px;
}

.n57-spec-table thead th:last-child {
    padding-right: 15px;
}

.n57-spec-table tbody td {
    padding: 15px;
    /* border: none; */
    border: 1px solid #edf1f7;
    background: #ffffff;
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.65;
    transition: background .2s ease;
}

.n57-spec-table tbody tr:last-child td {
    border-bottom: none;
}

.n57-spec-table tbody tr:hover td {
    background: #f7faff;
}

.n57-spec-table tbody td:first-child {
    padding-left: 15px;
}

.n57-spec-table tbody td:last-child {
    padding-right: 15px;
}

.n57-spec-engine-code {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 160px;
}

.n57-spec-code-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    border: 1px solid #d8e8fb;
    border-radius: 8px;
    background: #edf5ff;
    color: var(--n57-blue);
    font-size: 17px;
}

.n57-spec-engine-code strong {
    display: block;
    color: #092d65;
    font-size: 15px;
    line-height: 21px;
    font-weight: 800;
    white-space: nowrap;
}

.n57-spec-engine-code small {
    display: block;
    /* margin-top: 3px; */
    color: #8492a5;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .6px;
}

/* .n57-spec-model-cell {
    min-width: 280px;
    max-width: 470px;
} */
.n57-spec-models {
    color: #536780;
    font-size: 13px;
    line-height: 19px;
    overflow-wrap: anywhere;
}

.n57-spec-power {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #dce8f8;
    border-radius: 6px;
    background: #f1f7ff;
    color: #092d65;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.n57-spec-power i {
    color: var(--n57-blue);
    font-size: 14px;
}

.n57-spec-power small {
    color: #718198;
    font-size: 10px;
    font-weight: 700;
}

.n57-spec-years {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 5px;
    background: #f5f7fb;
    color: #4f627b;
    font-size: 13px;
    line-height: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.n57-spec-years i {
    color: var(--n57-blue);
    font-size: 13px;
}

.n57-spec-na {
    color: #98a5b6;
    font-size: 11px;
}

.n57-spec-action-cell {
    /* text-align: right; */
    white-space: nowrap;
}

.n57-spec-engine-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    min-width: 120px;
    padding: 6px 7px 6px 12px;
    border: 1px solid #d6e5f8;
    border-radius: 7px;
    background: #ffffff;
    color: var(--n57-blue) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: .25s ease;
}

.n57-spec-engine-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 5px;
    background: #eaf3ff;
    color: var(--n57-blue);
    font-size: 14px;
    transition: .25s ease;
}

.n57-spec-engine-link:hover {
    border-color: var(--n57-blue);
    background: var(--n57-blue);
    color: #ffffff !important;
}

.n57-spec-engine-link:hover i {
    background: #ffffff;
    color: #0878f9;
    /* transform: translate(2px, -2px); */
}

.n57-spec-empty {
    padding: 40px 20px;
    text-align: center;
}

.n57-spec-empty>i {
    display: block;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 30px;
}

.n57-spec-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #092d65;
    font-size: 16px;
}

.n57-spec-empty p {
    margin: 0;
    color: #718198;
    font-size: 12px;
}

.n57-spec-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 22px;
    border-top: 1px solid #e5ecf5;
    background: #f8faff;
}

.n57-spec-footer>i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #0878f9;
    font-size: 14px;
}

.n57-spec-footer p {
    margin: 0;
    color: #718198;
    font-size: 12px;
    line-height: 18px;
}

@media (max-width: 991px) {
    .n57-spec-section {
        padding: 60px 18px 70px;
    }

    .n57-spec-table {
        min-width: 900px;
    }
}

@media (max-width: 767px) {
    .n57-spec-section {
        padding: 48px 15px 55px;
    }

    .n57-spec-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 27px;
    }

    .n57-spec-heading h2 {
        font-size: 29px;
    }

    .n57-spec-heading p {
        font-size: 14px;
    }

    .n57-spec-catalogue {
        border-radius: 11px;
    }

    .n57-spec-catalogue-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
    }

    .n57-spec-catalogue-title h3 {
        font-size: 16px;
    }

    .n57-spec-count {
        align-self: flex-start;
    }

    .n57-spec-table {
        min-width: 860px;
    }

    .n57-spec-table thead th {
        padding: 14px 15px;
    }

    .n57-spec-table tbody td {
        padding: 14px 15px;
    }

    .n57-spec-table thead th:first-child,
    .n57-spec-table tbody td:first-child {
        padding-left: 17px;
    }

    .n57-spec-table thead th:last-child,
    .n57-spec-table tbody td:last-child {
        padding-right: 17px;
    }

    .n57-spec-footer {
        padding: 14px 16px;
    }
}

/*=========== Models ==========*/
.model-row {
    display: grid;
    gap: 20px;
}

.model-row-5 {
    grid-template-columns: repeat(5, 1fr)
}

.model-row-4 {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 9px;
}

.model-card {
    border: 1px solid var(--n57-border);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    color: var(--n57-text);
}

.model-card img {
    display: block;
    width: 100%;
    height: 69px;
    object-fit: cover;
}

.model-info {
    min-height: 43px;
    padding: 4px 9px 5px;
    position: relative;
}

.model-info strong {
    display: block;
    font-size: 11px;
    line-height: 1.1
}

.model-info span {
    display: inline-block;
    margin-top: 4px;
    font-size: 8px;
    color: #6a7da1;
    background: #f0f5fb;
    padding: 1px 3px;
}

.model-info i {
    position: absolute;
    right: 7px;
    bottom: 12px;
    color: var(--n57-blue);
    font-size: 13px;
}

/* =========================================
   BMW MODEL SHOWROOM
========================================= */

.models-section {
    position: relative;
    overflow: hidden;
    padding: 75px 20px 85px;
    background:
        radial-gradient(circle at 100% 0%,
            rgba(35, 119, 240, 0.08),
            transparent 32%),
        #f4f7fc;
}

.models-section .n57-container {
    max-width: 1320px;
}


/* =========================================
   SECTION HEADING
========================================= */

.bmw-model-header {
    gap: 30px;
    display: flex;
    margin-bottom: 25px;
    align-items: flex-end;
    justify-content: space-between;
}

.bmw-model-title {
    max-width: 700px;
}

.bmw-model-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.bmw-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0878f9;
    box-shadow: 0 0 0 4px rgba(8, 120, 249, 0.12);
}

.bmw-model-title p {
    margin: 0;
    color: #66758b;
    font-size: 15px;
    line-height: 1.7;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.fixed-top {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    animation-name: moveHeader;
    animation-duration: 2s;
}

@keyframes moveHeader {
    0% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

/* View all */

/* .bmw-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 13px 18px;
    border: 1px solid #d5e3f5;
    border-radius: 8px;
    background: #ffffff;
    color: #092d65 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .25s ease;
}

.bmw-view-all i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #0878f9;
    color: #ffffff;
    font-size: 15px;
    transition: transform .25s ease;
}

.bmw-view-all:hover {
    border-color: #0878f9;
    box-shadow: 0 8px 20px rgba(9, 45, 101, .08);
}

.bmw-view-all:hover i {
    transform: translate(2px, -2px);
}

.bmw-model-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.bmw-model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce5f1;
    border-radius: 13px;
    background: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 5px 18px rgba(9, 45, 101, .045);
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.bmw-model-card:hover {
    transform: translateY(-5px);
    border-color: #9bbff0;
    box-shadow: 0 16px 32px rgba(9, 45, 101, .13);
}
.bmw-model-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    padding: 12px;
    overflow: hidden;
    isolation: isolate;
    background:linear-gradient(145deg,#e2ebf7 0%,#f8fbff 55%,#dfeaf7 100%);
}
.bmw-visual-decoration {
    position: absolute;
    z-index: -1;
    width: 155px;
    height: 155px;
    right: -64px;
    top: -86px;
    border: 25px solid rgba(8, 120, 249, .08);
    border-radius: 50%;
    transition: transform .4s ease;
}
.bmw-model-card:hover .bmw-visual-decoration {
    transform: scale(1.25);
}
.bmw-model-visual img {
    display: block;
    object-position: center;
    transition: transform .4s ease;
}
.bmw-model-card:hover .bmw-model-visual img {
    transform: scale(1.06);
} */


/* Compatibility badge */
/* 
.bmw-compatibility-badge {
    position: absolute;
    left: 11px;
    top: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 5px;
    background: rgba(255,255,255,.94);
    color: #092d65;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
}

.bmw-compatibility-badge i {
    color: #0878f9;
    font-size: 11px;
} */


/* Image corner arrow */

/* .bmw-visual-arrow {
    position: absolute;
    right: 11px;
    top: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #0878f9;
    font-size: 14px;
    transition: all .3s ease;
} */

/* .bmw-model-card:hover .bmw-visual-arrow {
    background: #0878f9;
    color: #ffffff;
    transform: rotate(45deg);
} */


/* =========================================
   NAVY INFORMATION PANEL
========================================= */

/* .bmw-model-details {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 15px 12px;
    border-top: 3px solid #0878f9;
    background: #092d65;
    transition: background .3s ease;
}
.bmw-model-card:hover .bmw-model-details {
    background: #0c397b;
}
.bmw-model-kicker {
    margin-bottom: 7px;
    color: #8fc4ff;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.1px;
}
.bmw-model-details h3 {
    margin: 0 0 5px;
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 750;
}
.bmw-model-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.bmw-model-footer > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #d1e1f5;
    font-size: 11px;
    line-height: 1.4;
}
.bmw-model-link-icon {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0878f9;
    color: #ffffff;
    font-size: 14px;
    transition: transform .25s ease;
}
.bmw-model-card:hover .bmw-model-link-icon {
    transform: translateX(4px);
}
.bmw-model-empty {
    grid-column: 1 / -1;
    padding: 35px;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
}
.bmw-model-empty i {
    display: block;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 32px;
}
.bmw-model-empty p {
    margin: 0;
}
@media (max-width: 1199px) {
    .bmw-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .models-section {
        padding: 60px 18px;
    }
    .bmw-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 17px;
    }
    .bmw-model-visual {
        height: 145px;
    }
    .bmw-model-details {
        padding: 15px 13px 12px;
    }
    .bmw-model-details h3 {
        font-size: 15px;
    }
}
@media (max-width: 767px) {
    .models-section {
        padding: 48px 15px 55px;
    }
    .bmw-model-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }
    .bmw-model-title h2 {
        font-size: 30px;
    }
    .bmw-model-title p {
        font-size: 14px;
    }
    .bmw-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .bmw-model-visual {
        height: 125px;
        padding: 8px;
    }
    .bmw-model-details {
        padding: 13px 12px 11px;
    }
    .bmw-model-details h3 {
        min-height: 42px;
        font-size: 14px;
    }
    .bmw-compatibility-badge {
        left: 7px;
        top: 7px;
        padding: 5px 6px;
        font-size: 8px;
    }
}
@media (max-width: 420px) {
    .bmw-model-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bmw-model-card {
        display: grid;
        grid-template-columns: 42% 58%;
        min-height: 150px;
    }
    .bmw-model-visual {
        height: 100%;
        min-height: 150px;
    }
    .bmw-model-details {
        min-width: 0;
        padding: 14px 12px;
    }
    .bmw-model-details h3 {
        min-height: auto;
        font-size: 15px;
    }
    .bmw-model-footer > span:first-child {
        font-size: 10px;
    }
} */

/* ============= BMW MODEL SHOWROOM ============= */

.models-section {
    position: relative;
    padding: 70px 20px 80px;
    background: #f5f8fd;
    overflow: hidden;
}

.bmw-model-container {
    max-width: 1320px;
}

.bmw-model-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.bmw-model-title {
    max-width: 720px;
}

.bmw-model-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.bmw-model-eyebrow span {
    width: 25px;
    height: 3px;
    border-radius: 5px;
    background: #0878f9;
}

.bmw-model-title p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.bmw-view-all {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
    padding: 11px 12px 11px 17px;
    border: 1px solid #d8e4f2;
    border-radius: 8px;
    background: #fff;
    color: #092d65 !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
    transition: all .25s ease;
}

.bmw-view-all i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #0878f9;
    color: #fff;
    font-size: 16px;
    transition: transform .25s ease;
}

.bmw-view-all:hover {
    border-color: #91bdf3;
    box-shadow: 0 6px 18px rgba(9, 45, 101, .07);
}

.bmw-view-all:hover i {
    transform: translate(2px, -2px);
}

.bmw-model-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.bmw-model-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 12px;
    flex-direction: column;
    border: 1px solid #a3c6f3;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(9, 45, 101, .035);
    box-shadow: 0 15px 35px rgba(9, 45, 101, .11);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.bmw-model-card:hover {
    transform: translateY(-5px);
    border-color: #a3c6f3;
    /* box-shadow: 0 15px 35px rgba(9, 45, 101, .11); */
}

.bmw-model-visual {
    position: relative;
    height: 165px;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf0f8, #f8fbff);
}

.bmw-model-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--n57-blue) !important;
    transform: scaleX(0);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform .3s ease;
}

.bmw-model-card:hover .bmw-model-visual::after {
    transform: scaleX(1);
}

.bmw-model-visual img {
    top: 12%;
    width: 100%;
    display: block;
    /* height: 185px; */
    /* object-fit: cover; */
    position: absolute;
    transform: scaleX(1);
    object-position: center;
    transition: transform .45s ease;
}

/* .bmw-model-card:hover .bmw-model-visual img {
    transform: scale(1.06);
} */
.bmw-model-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 5px;
    background: rgba(255, 255, 255, .95);
    color: #092d65;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.bmw-model-status i {
    color: #0878f9;
    font-size: 12px;
}

/* Image action */

/* .bmw-model-image-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: #fff;
    color: #0878f9;
    font-size: 16px;
    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.bmw-model-card:hover .bmw-model-image-action {
    color: #fff;
    background: #0878f9;
    transform: rotate(45deg);
} */

.bmw-model-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 18px 15px;
}

.bmw-model-info-heading {
    flex: 1;
}

.bmw-model-category {
    display: block;
    margin-bottom: 8px;
    color: var(--n57-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bmw-model-info h3 {
    margin: 0;
    color: #092d65;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.bmw-model-info-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding-top: 13px;
    border-top: 1px solid #e8edf4;
}

.bmw-chassis-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 42px);
    padding: 6px 8px;
    border-radius: 5px;
    background: #f1f6fd;
    color: #536a85;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.bmw-chassis-badge i {
    flex-shrink: 0;
    color: var(--n57-blue);
    font-size: 13px;
}

.bmw-model-discover {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #edf5ff;
    color: var(--n57-blue);
    font-size: 16px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.bmw-model-card:hover .bmw-model-discover {
    background: var(--n57-blue);
    color: #fff;
    transform: translateX(3px);
}

.bmw-model-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    text-align: center;
}

.bmw-model-empty i {
    display: block;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 32px;
}

.bmw-model-empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

@media (min-width: 1400px) {
    .bmw-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .bmw-model-visual {
        height: 200px;
    }
}

@media (max-width: 1100px) {
    .bmw-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .bmw-model-visual {
        height: 160px;
    }

    .bmw-model-info {
        padding: 16px 14px 13px;
    }

    .bmw-model-info h3 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .models-section {
        padding: 50px 16px 60px;
    }

    .bmw-model-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .bmw-model-title h2 {
        font-size: 29px;
    }

    .bmw-model-title p {
        font-size: 14px;
    }

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

    .bmw-model-visual {
        height: 130px;
    }

    .bmw-model-status {
        top: 8px;
        left: 8px;
        padding: 5px 6px;
        font-size: 9px;
    }

    .bmw-model-image-action {
        right: 8px;
        bottom: 8px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .bmw-model-info {
        padding: 14px 12px 12px;
    }

    .bmw-model-info h3 {
        font-size: 15px;
    }

    .bmw-model-category {
        font-size: 9px;
    }

    .bmw-model-info-footer {
        gap: 7px;
        margin-top: 13px;
        padding-top: 10px;
    }

    .bmw-chassis-badge {
        padding: 5px 6px;
        font-size: 10px;
    }

    .bmw-model-discover {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .bmw-model-title h2 {
        font-size: 26px;
    }

    .bmw-model-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bmw-model-card {
        display: grid;
        /* grid-template-columns: 42% 58%; */
        min-height: 155px;
    }

    .bmw-model-visual img {
        top: 0px !important;
    }

    .bmw-model-visual {
        height: 100%;
        min-height: 155px;
    }

    .bmw-model-info {
        min-width: 0;
        padding: 15px 12px;
    }

    .bmw-model-info h3 {
        font-size: 16px;
    }

    .bmw-model-info-footer {
        margin-top: 12px;
    }

    .n57-why-intro {
        padding: 15px !important;
    }

    .n57-why-divider {
        margin: 15px 0 20px !important;
    }

    .cta-actions {
        text-align: center;
        display: block !important;
    }

    .btn-outline-light {
        margin-top: 10px;
    }

    .site-header {
        height: 90px !important;
    }

    .header-grid {
        grid-template-rows: 90px !important;
    }
}

/*========= problems ===========*/
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.problem-card {
    min-height: 97px;
    border: 1px solid var(--n57-border);
    border-radius: 4px;
    text-align: center;
    padding: 7px 8px;
    color: inherit;
    background: #fff;
}

.problem-card i {
    display: block;
    font-size: 28px;
    color: var(--n57-blue);
    margin-bottom: 3px;
}

.problem-card strong {
    display: block;
    font-size: 11px;
    line-height: 1.1
}

.problem-card p {
    font-size: 9px;
    line-height: 1.15;
    color: #6176a0;
    margin: 5px 0 0
}

/* Process */
.process-section h2 {
    margin-bottom: 5px !important
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid #d7e4f3;
}

.process-step {
    min-height: 76px;
    display: grid;
    grid-template-columns: 26px 36px 1fr;
    gap: 8px;
    align-items: start;
    border-right: 1px solid #d7e4f3;
    padding: 5px 12px 0 10px;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--n57-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
}

.process-step>i {
    color: var(--n57-blue);
    font-size: 28px
}

.process-step strong {
    font-size: 10px
}

.process-step p {
    font-size: 9px;
    line-height: 1.2;
    color: #61769f;
    margin: 4px 0 0
}

/* Jobs */
/* .job-card{
  display:grid;
  grid-template-columns:124px 1fr;
  min-height:91px;
  border:1px solid var(--n57-border);
  border-radius:4px;
  overflow:hidden;
  background:#fff;
}
.job-card img{
  width:124px;
  height:91px;
  object-fit:cover;
}
.job-copy{padding:6px 8px}
.job-copy h3{font-size:11px;line-height:1.12;margin:0 0 4px;font-weight:700}
.job-copy p{font-size:9px;color:#62769f;line-height:1.16;margin:0 0 6px}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tags span{
  font-size:7px;
  color:var(--n57-blue);
  background:#eef5ff;
  padding:3px 5px;
  border-radius:2px;
} */

/* ============== jobs ================ */
.n57-jobs-section {
    position: relative;
    padding: 35px 0;
    /* background: #f4f7fc; */
    overflow: hidden;
}

/* .n57-jobs-container {
    max-width: 1240px;
} */
.n57-jobs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.n57-jobs-heading {
    max-width: 720px;
}

.n57-jobs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #0878f9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.n57-jobs-eyebrow-line {
    width: 27px;
    height: 3px;
    border-radius: 5px;
    background: #0878f9;
}

/* .n57-jobs-heading h2 {
    margin: 0 0 12px;
    color: #092d65;
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1.2;
    font-weight: 800;
} */
.n57-jobs-heading p {
    /* max-width: 640px; */
    margin: 0;
    color: #65758b;
    font-size: 15px;
    line-height: 21px;
}

.n57-jobs-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 14px;
    padding: 12px 15px 12px 18px;
    border: 1px solid #d7e3f2;
    border-radius: 8px;
    background: #ffffff;
    color: #092d65 !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
    transition: all .25s ease;
}

.n57-jobs-view-all i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--n57-blue);
    color: #ffffff;
    font-size: 16px;
    transition: transform .25s ease;
}

.n57-jobs-view-all:hover {
    border-color: #9dc7f8;
    box-shadow: 0 8px 22px rgba(9, 45, 101, .08);
}

.n57-jobs-view-all:hover i {
    transform: translate(2px, -2px);
}

.n57-jobs-grid {
    gap: 25px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.n57-job-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(9, 45, 101, .045);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.n57-job-card:hover {
    transform: translateY(-5px);
    border-color: #a9c9f1;
    box-shadow: 0 17px 38px rgba(9, 45, 101, .12);
}

.n57-job-image-link {
    display: block;
    text-decoration: none !important;
}

.n57-job-image {
    position: relative;
    height: auto;
    overflow: hidden;
    background: #e8eef6;
    isolation: isolate;
}

.n57-job-image::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    z-index: 1;
    pointer-events: none;
}

.n57-job-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform .45s ease;
}

.n57-job-card:hover .n57-job-image img {
    transform: none;
}

.n57-job-status {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 6px;
    background: rgba(255, 255, 255, .95);
    color: #092d65;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.n57-job-status i {
    color: #0878f9;
    font-size: 13px;
}

.n57-job-image-arrow {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: #0878f9;
    color: #ffffff;
    font-size: 17px;
    transition: transform .3s ease, background .3s ease;
}

.n57-job-card:hover .n57-job-image-arrow {
    transform: rotate(45deg);
    background: #092d65;
}

.n57-job-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 15px 17px;
}

.n57-job-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.n57-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid #e1eaf5;
    border-radius: 5px;
    background: #f5f8fd;
    color: #526780;
    font-size: 11px;
    line-height: 1.4;
}

.n57-job-meta i {
    flex-shrink: 0;
    color: var(--n57-blue);
    font-size: 12px;
}

.n57-job-content h3 {
    margin: 0 0 11px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.n57-job-content h3 a {
    color: #092d65;
    text-decoration: none;
    transition: color .2s ease;
}

.n57-job-content h3 a:hover {
    color: var(--n57-blue);
}

.n57-job-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 21px;
    color: #65758b;
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.n57-job-read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e8edf4;
    color: var(--n57-blue) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.n57-job-read-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf5ff;
    color: var(--n57-blue);
    font-size: 15px;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.n57-job-read-more:hover .n57-job-read-arrow {
    transform: translateX(4px);
    background: var(--n57-blue);
    color: #ffffff;
}

.n57-jobs-empty {
    padding: 48px 24px;
    border: 1px solid #dce5f0;
    border-radius: 13px;
    background: #ffffff;
    text-align: center;
}

.n57-jobs-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 15px;
    background: #edf5ff;
    color: #0878f9;
    font-size: 25px;
}

.n57-jobs-empty h3 {
    margin: 0 0 10px;
    color: #092d65;
    font-size: 22px;
    font-weight: 800;
}

.n57-jobs-empty p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #65758b;
    font-size: 14px;
    line-height: 1.7;
}

.n57-jobs-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 7px;
    background: #0878f9;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .n57-jobs-section {
        padding: 60px 18px 70px;
    }

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

    .n57-job-image {
        height: auto;
    }
}

@media (max-width: 767px) {
    .n57-jobs-section {
        padding: 35px 0 40px;
    }

    .n57-jobs-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 28px;
    }

    .n57-jobs-heading h2 {
        font-size: 29px;
    }

    .n57-jobs-heading p {
        font-size: 14px;
    }

    .n57-jobs-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .n57-job-image {
        height: auto;
    }

    .n57-job-content {
        padding: 19px 18px 15px;
    }

    .n57-job-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .n57-jobs-heading h2 {
        font-size: 26px;
    }

    .n57-job-image {
        height: auto;
    }

    .n57-job-content {
        padding: 17px 15px 14px;
    }

    .n57-job-content h3 {
        font-size: 17px;
    }

    .n57-job-excerpt {
        font-size: 12px;
    }
}


/* Why */
.why-section h2 {
    margin-bottom: 5px !important
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.why-item {
    min-height: 54px;
    border: 1px solid var(--n57-border);
    border-radius: 4px;
    padding: 7px 8px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.why-item i {
    color: var(--n57-blue);
    font-size: 21px
}

.why-item strong {
    display: block;
    font-size: 8px;
    line-height: 1.2
}

.why-item small {
    display: block;
    color: #62769f;
    font-size: 7px;
    line-height: 1.2;
    margin-top: 3px
}

/* ============= WHY CHOOSE US ============== */
.table thead th {
    color: #fff;
    font-size: 17px;
    line-height: 23px;
    /* text-wrap: nowrap; */
    background-color: #092a5f;
    ;
}

.table thead th strong {
    font-weight: 800;
}

.table td {
    font-size: 13px;
    line-height: 20px;
}

.n57-why-section {
    position: relative;
    padding: 35px 0;
    background: #f4f7fc;
    overflow: hidden;
}

/* .n57-why-section .n57-container {
    max-width: 1240px;
} */
.n57-why-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.55fr);
    gap: 34px;
    align-items: stretch;
}

.n57-why-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 30px 25px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #0c397b 0%, #092d65 60%, #061f49 100%);
    isolation: isolate;
}

.n57-why-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -115px;
    right: -135px;
    width: 300px;
    height: 300px;
    border: 45px solid rgba(40, 140, 255, 0.12);
    border-radius: 50%;
}

.n57-why-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0878f9, #54b5ff, transparent);
}

.n57-why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--n57-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.n57-why-eyebrow-line {
    display: inline-block;
    width: 25px;
    height: 3px;
    border-radius: 5px;
    background: var(--n57-blue);
}

.n57-why-intro h2 {
    max-width: 400px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(29px, 2.8vw, 38px);
    line-height: 1.22;
    font-weight: 800;
}

.n57-why-description {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin: 0;
    color: #d0def0;
    font-size: 14px;
    line-height: 1.85;
}

.n57-why-divider {
    width: 100%;
    height: 1px;
    margin: 28px 0 23px;
    background: rgba(255, 255, 255, 0.15);
}

.n57-why-promise {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.n57-why-promise-icon {
    display: flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(113, 184, 255, 0.38);
    border-radius: 11px;
    background: rgba(8, 120, 249, 0.18);
    color: #72baff;
    font-size: 22px;
}

.n57-why-promise strong {
    display: block;
    margin: 1px 0 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
}

.n57-why-promise small {
    display: block;
    color: #b7cce6;
    font-size: 12px;
    line-height: 1.7;
}

.n57-why-decoration {
    position: absolute;
    right: -12px;
    bottom: 92px;
    z-index: -1;
    color: rgba(255, 255, 255, 0.035);
    font-size: 150px;
    line-height: 1;
    pointer-events: none;
}

.n57-why-content {
    min-width: 0;
    padding: 10px 0;
}

.n57-why-content-heading {
    margin-bottom: 24px;
}

.n57-why-content-heading>span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--n57-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.n57-why-content-heading h3 {
    margin: 0;
    color: #092d65;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 800;
}

.n57-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.n57-why-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    /* min-height: 126px; */
    padding: 20px 17px;
    overflow: hidden;
    border: 1px solid #e0e8f3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 17px rgba(9, 45, 101, 0.035);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.n57-why-item:hover {
    transform: translateY(-4px);
    border-color: #a9cdf6;
    box-shadow: 0 12px 25px rgba(9, 45, 101, 0.085);
}

.n57-why-icon {
    display: flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    background: #edf5ff;
    color: var(--n57-blue);
    font-size: 21px;
    transition: background 0.25s ease, color 0.25s ease;
}

.n57-why-item:hover .n57-why-icon {
    background: var(--n57-blue);
    color: #ffffff;
}

.n57-why-item-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 4px;
}

.n57-why-item-content h4 {
    margin: 1px 0 2px;
    color: #092d65;
    font-size: 14px;
    line-height: 20px;
    font-weight: 800;
}

.n57-why-item-content p {
    margin: 0;
    color: #68788e;
    font-size: 12px;
    line-height: 1.65;
}

.n57-why-item-number {
    position: absolute;
    right: 10px;
    bottom: 2px;
    color: #092d65;
    opacity: 0.045;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .n57-why-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
        gap: 22px;
    }

    .n57-why-intro {
        padding: 32px 24px;
    }

    .n57-why-grid {
        gap: 12px;
    }

    .n57-why-item {
        padding: 16px 13px;
        gap: 10px;
    }

    .n57-why-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

@media (max-width: 850px) {
    .n57-why-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .n57-why-intro {
        padding: 35px 30px;
    }

    .n57-why-intro h2 {
        max-width: 560px;
    }

    .n57-why-description {
        max-width: 600px;
    }

    .n57-why-content {
        padding: 0;
    }

    .n57-why-grid {
        gap: 15px;
    }

    .n57-why-item {
        padding: 15px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.faq-wrap h3 {
    font-size: 19px;
    line-height: 25px;
}

.faq-item {
    height: 34px;
    border: 1px solid var(--n57-border);
    background: #fff;
    border-radius: 3px;
    color: #25497f;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 9px;
}

.faq-item i {
    color: #244b80;
    font-size: 12px
}

/* CTA */
.bottom-cta {
    color: #fff;
    height: 130px;
    margin-top: 2px;
    background: linear-gradient(90deg, #041a3a 0%, #082a51 61%, #041a3a);
}

.cta-inner {
    display: grid;
    height: 130px;
    align-items: center;
    grid-template-columns: 515px 600px;
}

.cta-copy h2 {
    font-size: 18px;
    margin: 0 0 3px;
    font-weight: 700
}

.cta-copy p {
    font-size: 9px;
    margin: 0;
    color: #dce7f7
}

.cta-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: end;
}

.cta-actions .btn {
    font-size: 9px;
    padding: 8px 15px;
    border-radius: 3px
}

.cta-road {
    justify-self: end;
    align-self: stretch;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, rgba(0, 87, 217, .65), rgba(0, 126, 255, .35), rgba(0, 0, 0, .15));
    font-size: 10px;
    line-height: 1.15;
}

/* Footer */
.site-footer {
    background: #fff;
    color: #224170
}

.footer-top {
    min-height: 77px;
    padding: 20px 0 5px;
    display: grid;
    grid-template-columns: 220px 1fr 230px 150px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.footer-contact .address::before {
    content: '\f3e7';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--n57-blue);
    font-family: bootstrap-icons;
}

.footer-brand img {
    width: 135px;
    object-position: left center
}

.site-footer h3 {
    font-size: 9px;
    font-weight: 700;
    color: #112d60;
    margin: 0 0 8px
}

.footer-links .link-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px
}

.footer-links a {
    display: block;
    font-size: 8px;
    color: #365888;
    margin-bottom: 2px
}

.footer-contact p {
    font-size: 8px;
    line-height: 1.15;
    margin: 0 0 3px
}

.footer-contact i {
    color: var(--n57-blue);
    margin-right: 5px
}

.footer-social div {
    display: flex;
    gap: 13px;
    color: #0e2b5d;
    font-size: 15px
}

.footer-bottom {
    border-top: 1px solid #e6edf6;
    min-height: 25px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 45px;
    font-size: 7px;
    color: #6d7fa1;
}

/* Fine spacing to match reference */
.codes-section {
    padding-top: 4px
}

.models-section {
    padding-top: 6px
}

.problem-section {
    padding-top: 5px
}

.process-section {
    padding-top: 4px
}

.jobs-section {
    padding-top: 3px
}

.why-section {
    padding-top: 2px
}

.faq-section {
    padding-top: 3px;
    padding-bottom: 4px
}

/*============= Responsive =============*/

@media (max-width: 1199px) {
    .brand-logo {
        width: 135px !important;
    }

    h1 {
        font-size: 32px;
        line-height: 38px;
    }

    h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .n57-hero__subtitle {
        margin: 15px 0 15px;
    }

    .n57-hero__form {
        text-align: center;
        display: block !important;
    }

    .n57-hero__submit {
        width: 270px;
        margin-top: 10px;
    }

    .n57-hero__form-shell {
        padding: 12px !important;
    }

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

    .bmw-model-header,
    .process-heading {
        margin-bottom: 30px;
    }

    .bmw-model-info {
        padding: 15px;
    }

    .n57-why-intro h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .n57-why-intro {
        padding: 25px;
    }

    .n57-why-divider {
        margin: 20px 0 25px;
    }

    .cta-inner {
        grid-template-columns: 475px 485px;
    }

    .footer-brand img {
        width: 110px;
    }

}

@media (max-width:991px) {
    .n57-container {
        max-width: none;
        padding-left: 16px;
        padding-right: 16px
    }

    .site-header {
        height: 68px;
        min-height: 68px
    }

    .header-grid {
        height: 68px;
        display: grid;
        grid-template-columns: 1fr 44px;
        grid-template-rows: 68px;
        column-gap: 12px;
    }

    .brand-wrap {
        grid-column: 1;
        grid-row: 1;
        height: 68px;
    }

    .brand-logo {
        width: 218px;
        height: 62px
    }

    .desktop-nav,
    .header-contact,
    .desktop-quote {
        display: none !important
    }

    .mobile-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        padding: 8px 5px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .mobile-toggle span {
        display: block;
        width: 27px;
        height: 2px;
        border-radius: 2px;
        background: #092a5f;
    }

    .mobile-nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .hero-section {
        height: auto;
        background: #fff
    }

    .hero-inner {
        height: auto;
        overflow: visible;
        display: block;
        background: none;
    }

    .hero-copy {
        width: 100%;
        padding: 26px 0 20px;
    }

    .hero-copy h1 {
        font-size: 42px
    }

    .hero-media {
        display: block;
        height: 340px;
        width: 100%;
        margin: 0;
        min-width: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 22%),
            url("../images/hero-engine.jpg") center center / cover no-repeat;
    }

    .form-parent,
    .reg-search {
        width: 100%;
        max-width: 620px;
    }

    .reg-search {
        max-width: 100%
    }

    .hero-trust-row {
        width: 100%;
        max-width: 650px
    }

    .model-row-5 {
        grid-template-columns: repeat(3, 1fr)
    }

    .model-row-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .problem-grid {
        grid-template-columns: repeat(3, 1fr)
    }

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

    .why-grid {
        grid-template-columns: repeat(3, 1fr)
    }

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

    .cta-inner {
        grid-template-columns: 1fr auto
    }

    .cta-road {
        display: none
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        padding: 8px 16px
    }
}

@media (max-width:767.98px) {
    body {
        font-size: 14px
    }

    .brand-logo {
        width: 205px
    }

    .mobile-drawer {
        width: min(88vw, 330px)
    }

    .mobile-nav {
        display: flex !important;
        flex-direction: column !important
    }

    .hero-copy h1 {
        font-size: 35px
    }

    .hero-sub {
        font-size: 15px
    }

    .reg-search {
        height: auto;
        grid-template-columns: 42px 1fr;
    }

    .reg-search .btn {
        grid-column: 1/3;
        height: 46px
    }

    .hero-trust-row {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .hero-trust {
        border-right: 0;
        border-bottom: 1px solid #e0e8f3;
        padding-bottom: 8px
    }

    .services-strip .col-md-4 {
        margin-bottom: 8px
    }

    .model-row-5,
    .model-row-4 {
        grid-template-columns: repeat(2, 1fr)
    }

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

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

    .job-card {
        grid-template-columns: 120px 1fr;
        margin-bottom: 8px
    }

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

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

    .cta-inner {
        display: block;
        padding-top: 10px;
        height: auto
    }

    .bottom-cta {
        height: auto;
        min-height: 105px;
        padding-bottom: 10px;
        background-size: cover
    }

    .cta-actions {
        margin-top: 8px
    }

    .footer-top {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        display: block
    }

    .footer-bottom span {
        display: block;
        margin: 4px 0
    }
}

@media (max-width:480px) {
    .hero-copy h1 {
        font-size: 31px
    }

    .hero-media {
        height: 280px
    }

    .model-row-5,
    .model-row-4,
    .problem-grid,
    .why-grid {
        grid-template-columns: 1fr
    }

    .section-head {
        align-items: flex-start;
        gap: 8px
    }

    .section-head a {
        text-align: right
    }

    .engine-table {
        font-size: 10px
    }

    .engine-table th,
    .engine-table td {
        white-space: nowrap
    }

    .footer-brand img {
        width: 210px
    }
}

@media (max-width: 479px) {
    .footer-top {
        grid-template-columns: 1fr !important;
    }

    .footer-top {
        gap: 10px !important;
    }

    .brand-logo {
        width: 115px !important;
    }

    h1 {
        font-size: 25px !important;
        line-height: 31px !important;
    }

    .n57-hero {
        padding: 20px 0 25px !important;
    }

    .header-grid {
        grid-template-columns: auto minmax(0, 1fr) 65px !important;
    }

    .n57-why-section {
        padding: 35px 5px 35px !important;
    }

    .service-icon {
        height: 40px !important;
        width: 40px !important;
    }

    .service-icon-box {
        flex: 0 0 60px !important;
        width: 55px !important;
        height: 60px !important;
    }
}

.mobile-toggle:focus {
    outline: 2px solid rgba(10, 115, 255, .18);
    outline-offset: 2px
}

.mobile-nav a:hover {
    color: var(--n57-blue);
    background: #f7faff
}


/* ==============================================================
   Readability refinements – v3
   ============================================================== */

.services-strip {
    padding-top: 18px;
    padding-bottom: 8px;
}

.content-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

.codes-section,
.models-section,
.problem-section,
.process-section,
.jobs-section,
.why-section,
.faq-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

.section-head {
    margin-bottom: 9px
}

.section-head.compact {
    margin-bottom: 9px
}

/* .section-head h2,
.content-section > .n57-container > h2{
  font-size:22px;
  line-height:1.12;
} */
.section-head p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.3;
}

.section-head a {
    font-size: 11px;
    line-height: 1.2;
}

/* Services */
.service-card {
    gap: 5px;
    padding: 14px;
    min-height: 94px;
    grid-template-columns: 52px 1fr 14px;
}

.service-icon {
    height: 50px
}

.service-svg {
    display: block;
    width: 42px;
    height: 42px;
}

.service-content h3 {
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 12px;
    line-height: 1.3;
}

/* .service-arrow{font-size:16px} */

/* Engine code table */
.engine-table {
    font-size: 12.5px
}

.engine-table thead th {
    font-size: 11px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.engine-table tbody td {
    height: 29px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.table-btn {
    min-width: 112px;
    padding: 4px 9px;
    font-size: 10.5px;
}

/* BMW models */
.model-row-4 {
    margin-top: 12px
}

.model-card img {
    height: 76px
}

.model-info {
    min-height: 51px;
    padding: 7px 9px 6px;
}

.model-info strong {
    font-size: 13px;
    line-height: 1.15;
}

.model-info span {
    margin-top: 5px;
    font-size: 9.5px;
}

.model-info i {
    font-size: 14px;
    bottom: 15px;
}

/*=============== Problems ==================*/
.problem-grid {
    gap: 12px
}

.problem-card {
    min-height: 121px;
    padding: 10px 9px;
}

.problem-svg {
    display: block;
    width: 35px;
    height: 35px;
    margin: 0 auto 6px;
}

.problem-card strong {
    font-size: 13px;
    line-height: 1.15;
}

.problem-card p {
    font-size: 11px;
    line-height: 1.28;
    margin-top: 6px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    margin-bottom: 3px;
}

.sub-heading {
    font-size: 13px;
    margin-top: 4px;
    color: #5e739b;
    margin-bottom: 0;
    line-height: 19px;
}

/*========== How it works ===========*/
.process-section {
    background: #f7f9fc;
}

.process-heading {
    text-align: center;
    margin: 0 auto 35px;
}

.process-label {
    display: inline-block;
    /* margin-bottom: 10px; */
    color: #0878f9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.process-heading h2 {
    margin: 0 0 12px;
    color: #092d65;
    font-size: 30px;
    line-height: 36px;
    font-weight: 800;
}

.process-heading p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 21px;
}

.process-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.process-wrapper::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 11%;
    right: 11%;
    height: 2px;
    background: #d9e4f2;
    z-index: 0;
}

.process-item {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    padding: 20px;
    min-height: 225px;
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-6px);
    border-color: var(--n57-blue);
    box-shadow: 0 15px 35px rgba(9, 45, 101, 0.10);
}

.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--n57-blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(8, 120, 249, 0.25);
}

.process-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6ff;
    color: var(--n57-blue);
    font-size: 25px;
}

.process-content h3 {
    margin: 0 0 10px;
    color: #092d65;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 750;
}

.process-content p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .process-section {
        padding: 55px 18px;
    }

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

    .process-wrapper::before {
        display: none;
    }

    .process-item {
        min-height: 220px;
    }
}

@media (max-width: 575px) {
    .process-section {
        padding: 45px 15px;
    }

    .process-heading {
        margin-bottom: 35px;
    }

    .process-heading h2 {
        font-size: 28px;
    }

    .process-heading p {
        font-size: 14px;
    }

    .process-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-item {
        min-height: auto;
        padding: 22px 20px;
    }

    .faq-wrap h3 {
        font-size: 17px;
        line-height: 23px;
    }

    .process-top {
        margin-bottom: 18px;
    }

    .process-content h3 {
        font-size: 18px;
    }

    .process-content p {
        font-size: 14px;
    }

    .n57-why-section {
        padding: 48px 15px 55px;
    }

    .n57-why-intro {
        padding: 30px 23px;
        border-radius: 13px;
    }

    .table thead th {
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }

    .n57-why-intro h2 {
        font-size: 29px;
    }

    .n57-why-description {
        font-size: 13px;
    }

    .n57-why-content-heading {
        margin-bottom: 20px;
    }

    .n57-why-content-heading h3 {
        font-size: 24px;
    }

    .n57-why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .n57-why-item {
        min-height: auto;
        padding: 18px 16px;
    }

    .n57-why-item-content h4 {
        font-size: 15px;
    }

    .n57-why-item-content p {
        font-size: 12px;
    }
}

/*============= Completed jobs ==============*/
.job-card {
    min-height: 108px;
    grid-template-columns: 132px 1fr;
}

.job-card img {
    width: 132px;
    height: 108px;
}

.job-copy {
    padding: 8px 9px
}

.job-copy h3 {
    font-size: 13px;
    line-height: 1.18;
    margin-bottom: 5px;
}

.job-copy p {
    font-size: 10.5px;
    line-height: 1.28;
    margin-bottom: 7px;
}

.tags span {
    font-size: 8.5px;
    padding: 3px 6px;
}

/*============= Why choose =============*/
.why-section h2 {
    margin-bottom: 9px !important
}

.why-grid {
    gap: 11px
}

.why-item {
    min-height: 68px;
    padding: 9px;
    gap: 9px;
}

.why-item i {
    font-size: 23px
}

.why-item strong {
    font-size: 10.5px;
    line-height: 1.2;
}

.why-item small {
    font-size: 9px;
    line-height: 1.25;
    margin-top: 4px;
}

/*============ FAQ ===========*/
.faq-item {
    height: 42px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 11px;
}

.faq-item i {
    font-size: 13px;
    line-height: 19px;
}

/* Footer readability */
/* .site-footer h3{font-size:11px;line-height:17px;} */
.footer-links a {
    font-size: 9.5px;
    line-height: 1.3;
}

.footer-contact p {
    font-size: 9.5px;
    line-height: 1.25;
}

.footer-bottom {
    min-height: 30px;
    font-size: 8.5px;
}

@media (max-width:991.98px) {
    .content-section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .section-head h2,
    .content-section>.n57-container>h2 {
        font-size: 22px
    }
}

@media (max-width:767.98px) {
    .services-strip {
        padding-top: 16px;
        padding-bottom: 6px;
    }

    .content-section {
        padding-top: 17px;
        padding-bottom: 17px;
    }

    .section-head h2,
    .content-section>.n57-container>h2 {
        font-size: 21px
    }

    .engine-table {
        font-size: 11.5px
    }

    .engine-table thead th {
        font-size: 10.5px
    }

    .model-card img {
        height: 82px
    }

    .job-card {
        grid-template-columns: 125px 1fr;
        min-height: 106px;
    }

    .job-card img {
        width: 125px;
        height: 106px;
    }

    .why-item strong {
        font-size: 11px
    }

    .why-item small {
        font-size: 9.5px
    }

    .faq-item {
        min-height: 44px;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 11.5px;
    }
}


/* ==============================================================
   v4 – larger readable typography + increased section spacing
   ============================================================== */

.services-strip {
    padding: 30px 0;
    background: #f7f9fc;
}

.content-section,
.codes-section,
.models-section,
.problem-section,
.process-section,
.jobs-section,
.why-section,
.faq-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* .section-head{
  margin-bottom:12px;
} */

.section-head.compact,
.section-head {
    margin-bottom: 25px;
}

/* .section-head h2,
.content-section > .n57-container > h2{
  font-size:26px;
  line-height:32px;
} */

.section-head p {
    font-size: 13px;
    line-height: 1.35;
    margin-top: 4px;
}

.section-head a {
    font-size: 12px;
    line-height: 1.25;
}

/* Service cards */
.service-card {
    min-height: 90px;
    padding: 10px;
}

.service-content h3 {
    font-size: 16px;
    line-height: 22px;
}

.service-content p {
    font-size: 13px;
    line-height: 19px;
}

/* Engine table */
.engine-table {
    font-size: 14px;
    line-height: 20px;
}

.engine-table thead th {
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.engine-table tbody td {
    /* height:50px; */
    padding-top: 5px;
    padding-bottom: 5px;
}

.table-btn {
    min-width: 116px;
    font-size: 14px;
    padding: 5px 10px;
    color: var(--n57-blue);
}

/* BMW model cards */
.model-row-4 {
    margin-top: 14px;
}

.model-card img {
    height: 82px;
}

.model-info {
    min-height: 57px;
    padding: 8px 10px 7px;
}

.model-info strong {
    font-size: 14px;
    line-height: 1.2;
}

.model-info span {
    font-size: 10px;
    margin-top: 6px;
}

.model-info i {
    font-size: 15px;
    bottom: 17px;
}

/* Problems */
.problem-grid {
    gap: 14px;
}

.problem-card {
    min-height: 134px;
    padding: 12px 10px;
}

.problem-svg {
    width: 39px;
    height: 39px;
    margin-bottom: 7px;
}

.problem-card strong {
    font-size: 16px;
    line-height: 1.2;
}

.problem-card p {
    font-size: 13px;
    line-height: 1.34;
    margin-top: 7px;
}

/* How it works */
.process-section h2 {
    margin-bottom: 13px !important;
}

.process-step {
    min-height: 90px;
    padding-top: 10px;
    padding-bottom: 9px;
}

.process-step strong {
    font-size: 13px;
    line-height: 1.2;
}

.process-step p {
    font-size: 11.5px;
    line-height: 1.35;
    margin-top: 6px;
}

/* Jobs */
.job-card {
    min-height: 118px;
    grid-template-columns: 140px 1fr;
}

.job-card img {
    width: 140px;
    height: 118px;
}

.job-copy {
    padding: 9px 10px;
}

.job-copy h3 {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.job-copy p {
    font-size: 11.5px;
    line-height: 1.33;
    margin-bottom: 8px;
}

.tags span {
    font-size: 9px;
}

/* Why choose */
.why-section h2 {
    margin-bottom: 12px !important;
}

.why-item {
    min-height: 65px;
    padding: 8px;
}

.why-item i {
    font-size: 22px;
}

.why-item strong {
    font-size: 11.5px;
    line-height: 1.25;
}

.why-item small {
    font-size: 10px;
    line-height: 1.3;
}

/* FAQ: clickable Bootstrap collapse */
.faq-grid {
    align-items: start;
    gap: 12px;
}

.faq-wrap {
    min-width: 0;
}

.faq-item {
    width: 100%;
    height: auto;
    min-height: 48px;
    font-size: 12px;
    line-height: 1.3;
    padding: 11px 13px;
    cursor: pointer;
}

.faq-item:hover {
    background: #f7faff;
    border-color: #b9d6fb;
}

.faq-item[aria-expanded="true"] {
    border-color: #8fc1ff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #f5f9ff;
}

.faq-item[aria-expanded="true"] .faq-plus {
    transform: rotate(45deg);
}

.faq-plus {
    flex: 0 0 auto;
    transition: transform .2s ease;
}

.faq-answer {
    border: 1px solid #cfe0f4;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    background: #fff;
}

.faq-answer>div {
    padding: 11px 13px 13px;
    /* color:#5c7298; */
    color: #4a576c;
    /* font-size:11.5px; */
    line-height: 22px;
}

/* Bottom CTA readability */
.cta-copy h2 {
    font-size: 20px;
    line-height: 26px;
}

.cta-copy p {
    font-size: 13px;
    line-height: 19px;
}

.cta-actions .btn {
    font-size: 14px;
}

/* Footer */
.site-footer h3 {
    font-size: 20px;
    line-height: 26px;
}

.footer-links ul li {
    list-style: none;
}

.footer-links a {
    font-size: 16px;
    line-height: 1.35;
    display: inline-block;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom {
    font-size: 14px;
    padding: 20px;
}

/* Responsive readability */
@media (max-width:991.98px) {
    .services-strip {
        padding-top: 22px;
        padding-bottom: 10px;
    }

    .content-section,
    .codes-section,
    .models-section,
    .problem-section,
    .process-section,
    .jobs-section,
    .why-section,
    .faq-section {
        padding-top: 23px;
        padding-bottom: 23px;
    }

    .section-head h2,
    .content-section>.n57-container>h2 {
        font-size: 24px;
    }

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

@media (max-width:767px) {

    .content-section,
    .codes-section,
    .models-section,
    .problem-section,
    .process-section,
    .jobs-section,
    .why-section,
    .faq-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .mobile-header-phone {
        font-size: 18px !important;
        padding: 5px 9px !important;
    }

    .section-head h2,
    .content-section>.n57-container>h2 {
        font-size: 23px;
    }

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p {
        font-size: 12.5px;
    }

    .engine-table {
        font-size: 12px;
    }

    .model-info strong {
        font-size: 15px;
    }

    .problem-card strong {
        font-size: 13.5px;
    }

    .problem-card p {
        font-size: 11.5px;
    }

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

    .faq-item {
        font-size: 12.5px;
    }

    .faq-answer>div {
        font-size: 15px;
        line-height: 21px;
    }

    .table thead th {
        text-wrap: nowrap;
    }
}

@media (max-width: 575px) {
    .brand-logo {
        height: 65px !important;
        object-position: center !important;
    }

    .header-grid {
        grid-template-rows: 80px !important;
    }

    .n57-hero__submit {
        width: 70% !important;
    }

    .site-header {
        height: 100px !important;
    }

    .mobile-toggle {
        padding: 0 !important;
        align-items: end !important;
    }

    .mobile-header-phone {
        font-size: 22px !important;
        padding: 6px 15px !important;
    }

    .mobile-header-phone i {
        font-size: 15px !important;
    }

    h1 {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    h1 p {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .n57-hero__submit {
        font-size: 17px !important;
    }

    .n57-hero__specialist.mt-4 {
        margin-top: 1rem !important;
    }

    .n57-service-card {
        min-height: 110px !important;
    }

    .n57-services-section::after {
        display: none !important;
    }

    .n57-spec-section {
        padding: 30px 10px 30px !important;
    }

    h2 {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .footer-bottom {
        padding: 8px 5px !important;
    }

    .bmw-model-visual img {
        top: 5px !important;
    }

    .footer-brand img {
        width: 80px !important;
    }

    .n57-contact-item {
        padding: 15px 0 !important;
    }
}

/* =========================================================
   NAVIGATION PHONE CTA UPDATE
   ========================================================= */

/* Remove old top contact area */
.header-contact {
    display: none !important;
}

/* Desktop navigation is now one clean row */
.header-grid {
    height: 130px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    /* grid-template-rows: 73px; */
    grid-template-rows: 130px;
    /* grid-template-rows: 190px; */
    column-gap: 22px;
    align-items: center;
}

.brand-wrap {
    grid-column: 1;
    grid-row: 1;
    height: 130px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .brand-logo {
        width: auto;
        max-width: 240px;
    }
}

.desktop-nav {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.desktop-quote {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
}

/* Desktop phone button */
.phone-cta {
    min-width: 140px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border-color: var(--n57-blue);
    background: var(--n57-blue) !important;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.phone-cta:hover,
.phone-cta:focus {
    background: #0466e6;
    border-color: #0466e6;
    color: #fff;
}

.phone-cta i {
    font-size: 13px;
}

/* Hidden on desktop */
.mobile-header-phone {
    display: none;
}

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 991px) {

    .site-header {
        height: 95px;
    }

    .header-grid {
        height: 95px;
        display: grid;
        column-gap: 10px;
        position: relative;
        grid-template-rows: 95px;
        grid-template-columns: auto minmax(0, 1fr) 42px;
        /* grid-template-columns: 1fr 1fr 1fr; */
    }

    .cta-inner {
        grid-template-columns: 340px 340px;
    }

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

    .n57-why-grid {
        grid-template-columns: 1fr;
    }

    .n57-why-intro h2 {
        font-size: 25px;
        line-height: 31px;
    }

    .footer-brand img {
        width: 95px;
    }

    .n57-spec-section {
        padding: 40px 18px 40px;
    }

    .brand-wrap {
        grid-column: 1;
        grid-row: 1;
        height: 68px;
        width: max-content;
        z-index: 2;
    }

    .brand-logo {
        width: 210px;
        height: 80px;
    }


    /* Hide desktop elements */
    .desktop-nav,
    .desktop-quote,
    .header-contact {
        display: none !important;
    }


    /* Phone number centred in navbar */
    .mobile-header-phone {
        display: inline-flex;
        position: static;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: center;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-decoration: none;
        padding: 7px 12px;
        white-space: nowrap;
        border-radius: 5px;
        z-index: 3;
        background-color: var(--n57-blue);
    }

    .mobile-header-phone i {
        font-size: 13px;
    }

    .mobile-header-phone:hover {
        color: #0466e6;
    }


    /* Hamburger stays on far right */
    .mobile-toggle {
        grid-column: 3;
        grid-row: 1;

        justify-self: end;
        align-self: center;

        position: relative;
        z-index: 4;
    }
}


@media (max-width: 600px) {

    .brand-logo {
        width: 175px;
    }

    .mobile-header-phone {
        font-size: 12px;
        left: 59%;
    }

    .mobile-header-phone i {
        font-size: 12px;
    }
}


@media (max-width: 430px) {

    .brand-logo {
        width: 145px;
    }

    .mobile-header-phone {
        left: 57%;
        font-size: 11px;
    }

    .mobile-header-phone {
        font-size: 18px !important;
        padding: 5px 10px !important;
    }

    .bmw-model-visual img {
        top: 0px !important;
    }

    .mobile-header-phone i {
        font-size: 13px !important;
    }
}