/* ==========================================================================
   Metal Processors - site styles (loaded after Bootstrap 5)
   Measurements match the original WordPress/Xtra theme.
   ========================================================================== */

:root {
    --mp-blue: #042e69;
    --mp-yellow: #ffeb3b;
    --mp-slate: 61, 71, 78; /* #3d474e as RGB, used with alpha below */
    --bs-body-font-family: 'Roboto', sans-serif;
    --bs-body-font-size: 16px;
    --bs-body-line-height: 2;
    --bs-body-color: #000;
    --bs-link-color-rgb: 0, 0, 0;
    --bs-link-hover-color-rgb: 4, 46, 105;
}

/* Custom icon font (subset of the original theme's "czicons") */
@font-face {
    font-family: 'czicons';
    src: url('../fonts/czicons-subset.woff') format('woff');
    font-display: block;
}
.czico {
    font-family: 'czicons';
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    line-height: 1;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.czico-phone-chat::before { content: '\e81e'; }
.czico-menu::before       { content: '\e833'; }
.czico-placeholder::before { content: '\e852'; }
.czico-envelope::before   { content: '\e85d'; }
.czico-arrow::before      { content: '\e885'; }
.czico-creative::before   { content: '\e905'; }
.czico-phone-call::before { content: '\e90d'; }

/* ---------- Base ---------- */
body {
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 10px;
    color: inherit;
}
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 30px; }
a { text-decoration: none; transition: color .2s ease-in-out; }
img { max-width: 100%; height: auto; }
::selection { background: var(--mp-blue); color: #fff; }

.container {
    width: 1240px;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.container-wide {
    width: 95%;
    margin: 0 auto;
}
.row:not(.g-0) { --bs-gutter-x: 30px; }

.skip-link {
    position: absolute;
    z-index: 2000;
    left: 10px;
    top: 10px;
    padding: 8px 16px;
    background: var(--mp-yellow);
    color: var(--mp-blue);
    font-weight: 700;
}

/* ---------- Desktop header ---------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    overflow: hidden;
}
/* Smart sticky: full header slides in when scrolling up, only the menu bar shows while scrolling down */
.site-header.is-fixed {
    position: fixed;
    background: rgba(0, 0, 0, .8);
    animation: hdrSlideIn .4s ease;
    transition: transform .3s ease;
}
.site-header.is-fixed.is-compact { transform: translateY(-130px); }
@keyframes hdrSlideIn { from { transform: translateY(-100%); } }

.hdr-main { padding-top: 20px; }
.hdr-main__bar {
    position: relative;
    z-index: 0;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--mp-blue);
    box-shadow: -30px 0 0 var(--mp-blue), 30px 0 0 var(--mp-blue);
}
/* slanted left end */
.hdr-main__bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -30px;
    width: 147px;
    height: 100%;
    background: var(--mp-blue);
    transform: translateX(-58.8px) skewX(-45deg);
    z-index: -1;
}
/* runs off the right edge of the screen */
.hdr-main__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100%;
    background: var(--mp-blue);
    z-index: -1;
}
.hdr-logo img {
    display: block;
    width: 221px;
    height: auto;
}
.hdr-info {
    display: flex;
    align-items: center;
    gap: 50px;
}
.info-box {
    display: flex;
    align-items: center;
    color: #fff;
}
.info-box:hover { color: #fff; }
.info-box .czico {
    box-sizing: content-box;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 18px;
    margin: 0 -10px -2px;
    font-size: 40px;
    color: var(--mp-yellow);
}
.info-box__text {
    margin-left: 20px;
    line-height: 1;
}
.info-box__label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    color: #a3a3a3;
}
.info-box__value {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}

.hdr-nav { padding-top: 6px; }
.hdr-nav__bar {
    position: relative;
    z-index: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--mp-yellow);
}
/* runs off the left edge of the screen */
.hdr-nav__bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background: var(--mp-yellow);
    z-index: -1;
}
/* slanted right end */
.hdr-nav__bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 89px;
    height: 100%;
    background: var(--mp-yellow);
    transform: translateX(35.6px) skewX(-45deg);
    z-index: -1;
}

.hdr-social a {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: rgba(0, 0, 0, .9);
}
.hdr-social a i { transition: transform .4s ease, color .2s ease; }
.hdr-social a:hover i {
    transform: rotateY(360deg);
    color: #3b5998;
}
.hdr-social a::after {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    top: -2px;
    transform: translate(-50%, -100%) scale(.8);
    padding: 10px 14px;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--mp-blue);
    background: var(--mp-yellow);
    border-radius: 2px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
}
.hdr-social a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -100%) scale(1);
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0 6px;
    padding: 0;
}
.main-menu a {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 14px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 32px;
    color: rgba(28, 28, 28, .8);
}
.main-menu a::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: var(--mp-blue);
    transform: scale(1.6);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;
}
.main-menu a:hover,
.main-menu .is-current a { color: var(--mp-blue); }
.main-menu a:hover::before,
.main-menu .is-current a::before {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

/* ---------- Mobile header ---------- */
.mobile-header { display: none; }
.mobile-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.mobile-header__logo img {
    display: block;
    width: 160px;
    height: auto;
}
.mobile-header__actions {
    display: flex;
    gap: 8px;
}
.mobile-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    font-size: 20px;
    color: var(--mp-blue);
    background: #fff;
}
.mobile-header__btn .czico-menu { font-size: 18px; }
.mobile-header__btn:hover { color: var(--mp-blue); background: var(--mp-yellow); }

.mobile-menu {
    --bs-offcanvas-width: 350px;
    --bs-offcanvas-bg: #000914;
    padding-top: 60px;
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu li a {
    display: block;
    padding: 10px 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(167, 167, 167, .2);
}
.mobile-menu li a:hover,
.mobile-menu li.is-current a {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.mobile-menu__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: #fff;
    transition: transform .5s ease;
}
.mobile-menu__close:hover { transform: rotate(180deg); }

/* ---------- Page cover / breadcrumbs ---------- */
.page-cover {
    padding: 280px 0 120px;
    text-align: center;
    color: #fff;
    background: #1a1a1a url('../img/header-1.jpg') 0 0 / cover no-repeat;
}
.page-cover--home {
    height: 400px;
    padding: 0;
}
.page-cover__title {
    margin: 0;
    font-size: 46px;
    font-weight: 200;
    line-height: 1.4;
    color: #fff;
}
.breadcrumbs {
    margin-top: 20px;
    font-size: 14px;
    line-height: 28px;
    color: #e5e5e5;
}
.breadcrumbs a,
.breadcrumbs a:hover { color: #e5e5e5; }
.breadcrumbs .czico-arrow {
    margin: 0 12px;
    opacity: .6;
}
.breadcrumbs__current {
    font-weight: 700;
    opacity: .5;
}

/* ---------- Shared content pieces ---------- */
.page-body { padding: 80px 0; }

.section-title { margin-bottom: 40px; }
.section-title h3 {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--mp-blue);
}
.section-title__line {
    display: block;
    width: 50px;
    height: 6px;
    margin-top: 26px;
    border-radius: 5px;
    background: #ccc;
}

.copy-light {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    text-align: justify;
}

.btn-mp {
    display: inline-flex;
    align-items: center;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 300;
    line-height: 26px;
    color: #fff;
    background: var(--mp-blue);
    border-radius: 5px;
}
.btn-mp:hover { color: #fff; }
.btn-mp i {
    width: 1em;
    margin-left: -14px;
    color: rgba(255, 255, 255, .51);
    opacity: 0;
    transition: all .2s ease-in-out;
}
.btn-mp:hover i {
    margin-left: 8px;
    opacity: 1;
}

/* ---------- Home ---------- */
.home-intro__text { padding-top: 45px; }
.home-intro .section-title { margin-bottom: 45px; }
.home-intro__copy {
    margin-bottom: 80px;
    line-height: 1.3;
    text-align: justify;
}
.home-intro__copy p:last-child { margin-bottom: 0; }
.home-intro__image img {
    display: block;
    width: 100%;
}

.stats {
    padding: 110px 0 100px;
    background: var(--mp-blue);
}
.stat { text-align: center; }
.stat__number {
    display: block;
    margin-bottom: 10px;
    padding: 10px 20px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: normal;
    color: var(--mp-blue);
    background: #fff;
    border-radius: 5px;
}
.stat__label {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 2px;
    color: #fff;
}

/* ---------- Info boxes (hours / location / phone) ---------- */
.info-boxes { overflow: hidden; }
.info-card {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 40px 35px;
    color: #fff;
    background: rgb(var(--mp-slate));
}
.col-md-4:nth-child(2) > .info-card { background: rgba(var(--mp-slate), .85); }
.col-md-4:nth-child(3) > .info-card { background: rgba(var(--mp-slate), .73); }
/* On Home the theme stacked the translucent colour twice, which reads darker */
.info-boxes--dark .col-md-4:nth-child(2) > .info-card { background: rgba(var(--mp-slate), .9775); }
.info-boxes--dark .col-md-4:nth-child(3) > .info-card { background: rgba(var(--mp-slate), .927); }
/* light sweep on hover */
.info-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
}
.info-card:hover::before { animation: shine 1s forwards; }
@keyframes shine { 100% { left: 125%; } }
.info-card__icon {
    flex: none;
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin-right: 20px;
    font-size: 24px;
    text-align: center;
    color: rgb(var(--mp-slate));
    background: rgba(255, 255, 255, .5);
}
.info-card__title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}
.info-card p {
    margin: 0;
    line-height: 32px;
}
.info-card .small-lines { font-size: 14px; }
.info-card a,
.info-card a:hover { color: inherit; }

/* ---------- Map band ---------- */
.map-band {
    padding-bottom: 35px;
    background: var(--mp-blue);
}
.map-band__frame {
    padding: 5px;
    background: #f7f7f7;
}
.map-band iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

/* ---------- FAQ ---------- */
.faq-top-gap { height: 70px; }
.faq-main { padding-right: 20px; }
.faq-intro { margin-bottom: 90px; }
.faq-intro__kicker {
    margin: 0;
    font-size: 18px;
    line-height: 36px;
    color: #666;
}
.faq-intro__title {
    margin: 0 0 32px;
    font-size: 38px;
    line-height: 1.3;
}
.faq-intro__title span { color: var(--mp-blue); }
.faq-intro__text {
    margin: 0;
    font-size: 20px;
    line-height: 40px;
    color: #aaa;
}

.icon-title {
    display: flex;
    align-items: flex-start;
    padding: 10px 5px;
    margin-bottom: 24px;
}
.icon-title__icon {
    flex: none;
    width: 72px;
    height: 72px;
    line-height: 72px;
    margin-right: 20px;
    font-size: 36px;
    color: var(--mp-yellow);
    background: var(--mp-blue);
}
.icon-title__heading {
    margin: 0;
    font-size: 30px;
    line-height: 42px;
}
.icon-title__sub {
    margin: 0;
    color: #666;
}

.spec-acc { margin: 0 10px 10px 0; }
.spec-acc__toggle {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px 40px 16px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    line-height: 36px;
    color: #fff;
    background: var(--mp-blue);
    border: 1px solid rgba(167, 167, 167, .2);
    transition: all .2s ease-in-out;
}
.spec-acc__toggle:not(.collapsed) {
    font-size: 20px;
    line-height: 40px;
    color: var(--mp-blue);
    background: #fff;
    border-color: var(--mp-blue);
}
.spec-acc__mark {
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    margin-right: 10px;
    text-align: center;
}
.spec-acc__arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 1em;
    height: 1em;
    line-height: 1em;
    font-size: 22px;
    text-align: center;
    transform: translateY(-50%);
    transition: transform .3s ease;
}
.spec-acc__toggle:not(.collapsed) .spec-acc__arrow { transform: translateY(-50%) rotate(90deg); }
.spec-acc__body {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--mp-blue);
    border-top: 0;
}
.spec-acc__body ul {
    margin: 0 0 30px 20px;
    padding-left: 20px;
    list-style: disc;
}
.spec-acc__body ul ul {
    margin: 0;
    padding-left: 40px;
}
.spec-acc__body p:last-child { margin-bottom: 0; }

.railside { margin-top: 40px; }
.railside__image {
    display: flex;
    justify-content: flex-end;
}
.railside__image img {
    display: block;
    border-radius: 5px;
    background: var(--mp-blue);
}
.railside__text { padding-left: 35px; }
.railside__text .section-title { margin-bottom: 45px; }
.railside__text p { line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-top__about {
    padding-right: 40px;
    padding-bottom: 45px;
}
.contact-top__about p:last-child { margin-bottom: 0; }
.contact-top__skills {
    padding-left: 30px;
    padding-right: 30px;
}
.contact-top__skills .section-title { margin-bottom: 0; }
.skills { padding-top: 28px; }

.skill {
    position: relative;
    height: 5px;
    margin-top: 50px;
    border-radius: 3px;
    background: rgba(167, 167, 167, .2);
}
.skill__label {
    position: absolute;
    top: -34px;
    left: 0;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #666;
}
.skill__bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--pct);
    border-radius: inherit;
    background: #bbb;
    transition: width 1.5s ease-in-out;
}
.js .skill__bar:not(.is-visible) { width: 0; }
.skill__bar b {
    position: absolute;
    z-index: 1;
    top: calc(50% - 15px);
    right: -20px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 26px;
    color: #fff;
    background: var(--mp-blue);
    border-radius: 3px;
}

.contact-cta { margin-top: 40px; }
.cta-box {
    margin-bottom: 35px;
    padding: 28px;
    background: #f7f7f7;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
}
.cta-box h2 { margin: 0 0 10px; }
.cta-box p { margin: 0; }

.gallery {
    margin-bottom: 95px;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}
.gallery__dots {
    top: 100%;
    bottom: auto;
    margin: 15px 0 0;
}
.gallery__dots [data-bs-target] {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    margin: 0 2px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
    opacity: 1;
}
.gallery__dots .active { background: rgba(0, 0, 0, .9); }

.lightbox .modal-content {
    position: relative;
    background: transparent;
    border: 0;
}
.lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    margin: 0 auto;
}
.lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #fff;
}

/* ---------- Forms ---------- */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form p { margin: 0 0 10px; }
.contact-form label {
    display: block;
    line-height: 32px;
}
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    color: #000;
    background: #fff;
    border: 1px solid var(--mp-blue);
    border-radius: 0;
}
.contact-form textarea {
    height: 160px;
    line-height: 2;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--mp-yellow);
    box-shadow: 0 0 0 2px rgba(4, 46, 105, .25);
}
.btn-submit,
.btn-apply {
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    background: var(--mp-blue);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
.btn-submit:hover,
.btn-apply:hover { color: var(--mp-yellow); }
.js-ajax-form.is-sending button[type=submit] { opacity: .6; cursor: wait; }

.is-invalid { border-color: #dc3545 !important; }
.field-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: #ab2020;
}

.form-response {
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 2px;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, .06);
}
.form-response:empty { display: none; }
.form-response p,
.form-response ul { margin: 0; }
.form-response--ok { color: #398f14; background: #ebfee3; }
.form-response--error { color: #ab2020; background: #ffebeb; }
.form-response.is-static {
    margin-bottom: 30px;
    font-size: 16px;
}

/* Job application (Now Hiring) */
.apply-form { margin-bottom: 80px; }
.apply-group {
    margin: 0 0 15px;
    padding: 0;
    border: 0;
}
/* fields without a help line still keep the same rhythm */
.apply-group:not(:has(.help-text)) { padding-bottom: 32px; }
.apply-group > label,
.apply-group > legend {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 32px;
}
.apply-form .form-control {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.apply-form .form-control:focus {
    border-color: var(--mp-blue);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 2px rgba(4, 46, 105, .2);
}
.apply-form .apply-file {
    width: 294px;
    max-width: 100%;
    height: 36px;
}
.char-count {
    float: right;
    line-height: 32px;
}
.help-text {
    display: inline-block;
    margin: 4px 0 10px;
    font-size: 14.4px;
    font-style: italic;
    line-height: 28.8px;
    color: #737373;
    opacity: .8;
}
.apply-choice {
    display: block;
    margin: 0 0 10px;
    line-height: 32px;
}
.apply-choice input { margin-right: 10px; }
.apply-progress {
    display: block;
    width: 100%;
    margin-top: 10px;
}
.apply-progress[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(90deg, rgba(15, 15, 15, .1), rgba(15, 15, 15, .1)),
                #222 url('../img/footer.jpg') 0 0 / cover no-repeat;
}
.footer-main { padding: 100px 0 70px; }
.footer-cols {
    display: grid;
    grid-template-columns: 48% repeat(3, 13.333%);
    column-gap: 4%;
}
.footer-widget {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 32px;
    color: rgba(255, 255, 255, .75);
}
.footer-widget h4 {
    margin: 0 0 20px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}
.footer-widget p { margin: 0; }
.footer-bottom {
    background: var(--mp-blue);
    border-top: 10px solid var(--mp-yellow);
}
.footer-bottom .container { padding: 20px 0; }
.footer-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 28px;
    color: rgba(255, 255, 255, .7);
}

/* ---------- Floating buttons + quick contact popup ---------- */
.float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 48px;
    height: 48px;
    padding: 0;
    line-height: 48px;
    text-align: center;
    font-size: 20px;
    color: #000;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 6px 40px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: all 400ms cubic-bezier(.77, 0, .175, 1), opacity 0s ease;
}
.float-btn:hover,
.float-btn[aria-expanded=true] {
    color: var(--mp-yellow);
    background: var(--mp-blue);
    transform: scale(1.1);
}
.back-to-top {
    opacity: 0;
    visibility: hidden;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.quick-contact-toggle { box-shadow: -6px 6px 40px rgba(0, 0, 0, .2); }
.show-totop .quick-contact-toggle { right: 72px; }
.quick-contact {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 999;
    width: 320px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .12);
    animation: popIn .4s cubic-bezier(.18, .89, .33, 1.27) forwards;
}
.quick-contact[hidden] { display: none; }
@keyframes popIn {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Scroll-in animation ---------- */
.js .js-reveal > .row { opacity: 0; }
.js .js-reveal.is-visible > .row { animation: bounceIn .75s both; }
@keyframes bounceIn {
    from, 20%, 40%, 60%, 80%, to { animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
    0%   { opacity: 0; transform: scale3d(.3, .3, .3); }
    20%  { transform: scale3d(1.1, 1.1, 1.1); }
    40%  { transform: scale3d(.9, .9, .9); }
    60%  { opacity: 1; transform: scale3d(1.03, 1.03, 1.03); }
    80%  { transform: scale3d(.97, .97, .97); }
    to   { opacity: 1; transform: scale3d(1, 1, 1); }
}
@media (prefers-reduced-motion: reduce) {
    .js .js-reveal > .row { opacity: 1; }
    .js .js-reveal.is-visible > .row { animation: none; }
    .site-header.is-fixed { animation: none; }
}

.not-found-links .btn-mp { margin: 0 6px 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    .container { width: 90%; }
}

@media (max-width: 1139.98px) {
    .info-box--address { display: none; }
}

@media (max-width: 991.98px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-widget--wide { grid-column: 1 / -1; }
    .faq-main { padding-right: 15px; }
    .contact-top__about { padding-right: 15px; }
    .contact-top__skills { padding-left: 15px; }
}

@media (max-width: 767.98px) {
    .site-header { display: none; }
    .mobile-header {
        display: block;
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--mp-blue);
    }

    .page-cover { padding: 140px 0 120px; }
    .page-cover--home { height: 260px; padding: 0; }
    .page-cover__title { font-size: 36px; }

    .container-wide { width: 90%; }
    .home-intro__image { margin-top: 40px; }
    .stats { padding: 80px 0 70px; }
    .stats .col-md-3 + .col-md-3 { margin-top: 20px; }

    .info-card { padding: 30px 25px; }

    .faq-top-gap { height: 0; }
    .faq-intro__title { font-size: 30px; }
    .spec-acc { margin-right: 0; }
    .railside__image { justify-content: center; }
    .railside__text { padding-left: 15px; margin-top: 40px; }

    .gallery { margin-bottom: 70px; }

    .footer-main { padding: 70px 0 40px; }
    .footer-cols { grid-template-columns: 1fr; }
    .footer-widget { text-align: center; }
    .footer-bottom p { text-align: center; }

    .quick-contact-toggle,
    .quick-contact { display: none !important; }
}

@media (max-width: 480px) {
    .mobile-menu { --bs-offcanvas-width: 65%; }
}
