:root {
    --qm-blue: #041d52;
    --qm-orange: #eba678;
    --qm-ink: #010d22;
    --qm-muted: #3a4c67;
    --qm-surface: #f6f8fb;
}

html {
    overflow-x: clip;
    scrollbar-color: #0446d6 #080706;
    scrollbar-width: thin;
}

body {
    font-family: "Finlandica Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--qm-ink);
    background: #fff;
    width: 100%;
    max-width: 100%;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #1c2946;
}

body::-webkit-scrollbar-thumb {
    background: #ff6800;
    border: 2px solid #1c2946;
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #ff7d26;
}

img,
.feature-image,
.navbar-brand img {
    max-width: 100%;
    height: auto;
}

.site-top-bar,
header.bd-navbar,
main,
footer {
    max-width: 100%;
}

.container,
.container-xxl {
    max-width: 100%;
    overflow-x: clip;
}

.bd-navbar .container-xxl {
    overflow: visible;
}

.site-top-bar a[href^="mailto:"],
.footer-gradient a[href^="mailto:"],
.cta-band a[href^="mailto:"],
.info-card a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.footer-gradient .col-6,
.footer-gradient .col-lg-2,
.footer-gradient [class*="col-"] {
    min-width: 0;
}

.text-secondary {
    color: var(--qm-muted) !important;
}

.bd-navbar {
    background-image: linear-gradient(90deg, #000, #000);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .16), inset 0 -1px 0 rgba(255, 255, 255, .12);
}

.bd-navbar .navbar-brand img {
    width: 150px;
    height: auto;
}

.bd-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    padding-right: .65rem;
    padding-left: .65rem;
}

.bd-navbar .navbar-nav .nav-link:hover,
.bd-navbar .navbar-nav .nav-link:focus,
.bd-navbar .navbar-nav .nav-link.active {
    color: #fff;
}

.bd-navbar .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--qm-orange);
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18);
}

.bd-navbar .dropdown-toggle-split {
    text-decoration: none;
}

.qm-nav-actions {
    gap: .5rem;
}

.btn-qm-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .55);
    --bs-btn-hover-color: var(--qm-blue);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--qm-blue);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    font-weight: 700;
}

.btn-qm-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--qm-blue);
    --bs-btn-border-color: var(--qm-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #050e99;
    --bs-btn-hover-border-color: #051750;
    --bs-btn-active-bg: #040c52;
    --bs-btn-active-border-color: #0847ce;
    font-weight: 700;
}

.page-hero,
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero {
    min-height: calc(100vh - 76px);
    isolation: isolate;
    border-bottom: 1px solid rgba(28, 41, 70, .12);
}

.page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(16, 23, 35, 0.88),
        rgba(28, 41, 70, 0.62)
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero-inner {
    max-width: 880px;
    padding: 96px 0;
}

.hero .page-hero-content {
    max-width: 760px;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.page-hero .eyebrow,
.hero .eyebrow {
    color: rgba(255, 255, 255, .86);
}

.page-hero h1,
.hero h1 {
    max-width: 780px;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(2.45rem, 6vw, 5.8rem);
    line-height: .95;
}

.page-hero .lead,
.hero .lead {
    max-width: 730px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 400;
}

.hero .lead {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: var(--qm-muted);
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-pad {
    padding: 5.5rem 0;
}

.section-title {
    max-width: 820px;
}

.section-title .eyebrow {
    color: var(--qm-blue);
    margin-bottom: .75rem;
}

.section-title h2 {
    color: var(--qm-blue);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 800;
}

.section-title p {
    color: var(--qm-muted);
    font-size: 1.15rem;
}

.feature-band {
    background: var(--qm-surface);
}

.info-card,
.service-card {
    height: 100%;
    border: 1px solid rgba(28, 41, 70, .12);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .75rem 2rem rgba(28, 41, 70, .08);
}

.info-card {
    padding: 1.75rem;
}

.info-card i {
    color: var(--qm-orange);
    font-size: 1.8rem;
}

.info-card h2,
.info-card h3 {
    margin-top: 1rem;
    color: var(--qm-blue);
    font-size: 1.35rem;
    font-weight: 800;
}

.info-card p,
.info-card li,
.service-card p {
    color: var(--qm-muted);
    font-size: 1.05rem;
}

.service-card {
    padding: 1.5rem;
    position: relative;
}

.service-icon i,
.service-card > i {
    color: var(--qm-orange);
    font-size: 1.75rem;
}

.service-card h3 {
    margin-top: 1rem;
    color: var(--qm-blue);
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    color: var(--qm-blue);
    font-weight: 800;
    text-decoration: none;
}

.service-card a:hover,
.service-card a:focus {
    color: var(--qm-orange);
}

.placeholder-media {
    display: grid;
    min-height: 360px;
    place-items: center;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(28, 41, 70, .92), rgba(255, 104, 0, .7)), url("../img/unidades.jpg");
    background-position: center;
    background-size: cover;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .16);
}

.placeholder-media i {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 6rem);
}

.placeholder-media strong {
    display: block;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.placeholder-media span {
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
}

.warehouse-photo {
    display: grid;
    min-height: 420px;
    place-items: center;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(28, 41, 70, .9), rgba(255, 104, 0, .68)), url("../img/unidades.jpg");
    background-size: cover;
    background-position: center;
    border-radius: .5rem;
}

.warehouse-photo i {
    display: block;
    margin-bottom: .75rem;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
}

.feature-image {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .18);
}

.feature-image:not(img) {
    position: relative;
    display: grid;
    min-height: 430px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background-image: linear-gradient(135deg, rgba(28, 41, 70, .9), rgba(255, 104, 0, .7)), url("../img/unidades.jpg");
    background-position: center;
    background-size: cover;
}

.feature-image:not(img) i {
    font-size: clamp(4rem, 10vw, 8rem);
    opacity: .9;
}

.check-list {
    display: grid;
    gap: .85rem;
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: .75rem;
    color: #364254;
}

.check-list i {
    color: var(--qm-orange);
    flex: 0 0 auto;
    margin-top: .1rem;
}

.quality-list {
    display: grid;
    gap: .85rem;
    padding: 0;
    margin: 1.75rem 0 0;
    list-style: none;
}

.quality-list li {
    display: flex;
    gap: .75rem;
    color: #364254;
    font-size: 1.05rem;
}

.quality-list i {
    color: var(--qm-orange);
    flex: 0 0 auto;
    margin-top: .1rem;
}

.specialty-list {
    display: grid;
    gap: .9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.specialty-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.1rem;
    color: var(--qm-blue);
    font-weight: 800;
    background: #fff;
    border: 1px solid rgba(28, 41, 70, .12);
    border-radius: .5rem;
    box-shadow: 0 .75rem 2rem rgba(28, 41, 70, .07);
}

.specialty-list i {
    color: var(--qm-orange);
    font-size: 1.2rem;
}

.benefit-card,
.principle-card {
    height: 100%;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid rgba(28, 41, 70, .12);
    border-radius: .5rem;
    box-shadow: 0 .75rem 2rem rgba(28, 41, 70, .08);
}

.principle-card {
    border-top: .25rem solid var(--qm-orange);
}

.benefit-card i,
.principle-card i {
    color: var(--qm-orange);
    font-size: 1.8rem;
}

.benefit-card h2,
.principle-card h2 {
    margin-top: 1rem;
    color: var(--qm-blue);
    font-size: 1.35rem;
    font-weight: 800;
}

.benefit-card p,
.principle-card p {
    color: var(--qm-muted);
    font-size: 1.05rem;
}

.service-row {
    padding: 4.5rem 0;
    border-top: 1px solid rgba(28, 41, 70, .1);
}

.service-row:first-child {
    border-top: 0;
}

.service-copy h2 {
    color: var(--qm-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
}

.service-copy p {
    color: #39475a;
    font-size: 1.08rem;
}

.service-copy p:last-child {
    margin-bottom: 0;
}

.product-row {
    padding: 4.5rem 0;
    border-top: 1px solid rgba(28, 41, 70, .1);
}

.product-row:first-child {
    border-top: 0;
}

.product-row:nth-child(even) > .row {
    flex-direction: row-reverse;
}

.product-row h2 {
    color: var(--qm-blue);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
}

.product-row p,
.product-row li {
    color: #39475a;
    font-size: 1.08rem;
}

.product-row img {
    width: 100%;
    min-height: 300px;
    max-height: 420px;
    object-fit: cover;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .14);
}

.product-row .product-applications {
    padding-left: 1.2rem;
}

.service-media {
    position: relative;
    display: grid;
    min-height: 430px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    background-image: linear-gradient(135deg, rgba(28, 41, 70, .92), rgba(255, 104, 0, .68)), url("../img/unidades.jpg");
    background-position: center;
    background-size: cover;
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .18);
}

.service-media::after {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    padding: .75rem 1rem;
    color: rgba(255, 255, 255, .86);
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
    content: "Imagem do servi\00E7o";
    background: rgba(16, 23, 35, .48);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .5rem;
    backdrop-filter: blur(8px);
}

.service-media i {
    position: relative;
    z-index: 1;
    font-size: clamp(4rem, 10vw, 8rem);
    opacity: .9;
}

.service-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 0;
    margin: 2rem 0 0;
    list-style: none;
}

.service-anchor-list a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    color: var(--qm-blue);
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(28, 41, 70, .14);
    border-radius: .5rem;
}

.service-anchor-list a:hover,
.service-anchor-list a:focus {
    color: #fff;
    background: var(--qm-blue);
}

.carousel-shell {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(28, 41, 70, .12);
    border-radius: .5rem;
    box-shadow: 0 1.25rem 3rem rgba(16, 23, 35, .12);
}

.carousel-placeholder {
    display: grid;
    min-height: 520px;
    place-items: center;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(28, 41, 70, .92), rgba(255, 104, 0, .7)), url("../img/unidades.jpg");
    background-position: center;
    background-size: cover;
}

.carousel-placeholder i {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(4rem, 10vw, 7rem);
}

.carousel-placeholder strong {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1;
}

.carousel-placeholder span {
    display: block;
    margin-top: .5rem;
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
}

.carousel-control-prev,
.carousel-control-next {
    width: 4rem;
}

.carousel-indicators [data-bs-target] {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
}

.faq-accordion {
    --bs-accordion-border-color: rgba(28, 41, 70, .14);
    --bs-accordion-border-radius: .5rem;
    --bs-accordion-inner-border-radius: .5rem;
    --bs-accordion-bg: #fff;
    --bs-accordion-color: var(--qm-ink);
    --bs-accordion-btn-color: var(--qm-blue);
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-color: var(--qm-blue);
    --bs-accordion-active-bg: #fff;
    --bs-accordion-btn-focus-border-color: rgba(255, 104, 0, .35);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 104, 0, .14);
}

.faq-accordion .accordion-item {
    color: var(--qm-ink);
    background: #fff;
}

.faq-accordion .accordion-button {
    color: var(--qm-blue);
    background: #fff;
    font-weight: 800;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--qm-blue);
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(28, 41, 70, .12);
}

.faq-accordion .accordion-body {
    color: #2d3748;
    background: #fff;
    font-size: 1.05rem;
}

.cta-band {
    color: #fff;
    background-image: linear-gradient(120deg, #050224, #000 58%, #050224);
}

.footer-gradient {
    color: #fff;
    background-image: linear-gradient(135deg, #000, #050224);
}

.footer-gradient a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.footer-gradient a:hover,
.footer-gradient a:focus {
    color: #fff;
    text-decoration: underline;
}

.site-top-bar {
    padding: 0.45rem 0;
    background-color: var(--qm-ink);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1041;
    width: 100%;
    max-width: 100%;
    transition: transform 180ms ease;
    transform: translateY(0);
}

.site-top-bar .link-light {
    color: rgba(255, 255, 255, .88) !important;
}

.site-top-bar .link-light:hover,
.site-top-bar .link-light:focus {
    color: #fff !important;
}

.site-top-bar.is-hidden {
    transform: translateY(-100%);
}

header.bd-navbar.sticky-top {
    z-index: 1040;
}

.qm-real-image-label::after {
    content: none !important;
}

.qm-real-image-label > div,
.service-media.qm-real-image-label > i {
    display: none !important;
}

@media (max-width: 991.98px) {
    .bd-navbar .offcanvas-lg {
        background: var(--qm-blue);
    }

    .qm-nav-actions {
        align-items: stretch;
        margin-top: 1.25rem;
    }

    .page-hero-inner,
    .hero .page-hero-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero {
        min-height: auto;
    }

    .service-row {
        padding: 3.5rem 0;
    }

    .product-row {
        padding: 3.5rem 0;
    }

    .carousel-placeholder {
        min-height: 390px;
    }
}
