:root {
    --primary-color: #41679d;
    --primary-color-rgb: 65, 103, 157;
    --secondary-color: #dceaff;
    --secondary-color-rgb: 220, 234, 255;
    --om-navy: #12284c;
    --om-ink: #17243b;
    --om-sky: #edf5ff;
    --om-silver: #eef3f7;
    --om-header-height: 100px;
}

/* The template declares these tokens on every element, not only :root. */
* {
    --bg-light: #edf5ff;
    --bg-dark-1: #12284c;
    --bg-dark-1-rgb: 18, 40, 76;
    --bg-dark-2: #203b63;
    --bg-dark-3: #294d7f;
    --heading-font-color: #12284c;
}

.bg-color-op-1,
.om-marlene-section {
    background: var(--om-sky);
}

.om-marlene-section {
    color: #52647c;
}

.accordion-section-title.active,
.accordion-section-title.active:before {
    color: var(--om-navy);
}

::selection {
    color: var(--om-navy);
    background: var(--secondary-color);
}

::-moz-selection {
    color: var(--om-navy);
    background: var(--secondary-color);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--om-header-height) + 12px);
}

body {
    color: #667085;
    background: #fff;
}

#wrapper {
    overflow: hidden;
    padding-top: var(--om-header-height);
}

/* Keep navigation visible even when the template toggles scroll-down. */
header.om-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    margin-top: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: #fff !important;
    box-shadow: 0 2px 16px rgba(18, 40, 76, .08);
}

.om-header .header-inner {
    padding: 16px 0;
}

.om-header #logo img {
    height: 52px;
    width: auto;
}

.om-header #mainmenu a {
    font-weight: 600;
}

.om-header .de-flex {
    min-height: 68px;
}

.om-hero {
    min-height: calc(790px - var(--om-header-height));
    padding-top: max(24px, calc(155px - var(--om-header-height)));
}

.om-hero .row {
    min-height: 610px;
}

.om-hero h1 {
    font-size: clamp(58px, 5.3vw, 80px);
    line-height: 1.01;
    letter-spacing: -.05em;
    max-width: 700px;
}

.om-hero-bottom {
    bottom: 0;
    left: 0;
    max-width: 650px;
    position: absolute;
    width: 100%;
}

.om-hero-bottom p {
    color: #5f6e81;
    font-size: 17px;
    max-width: 610px;
}

.om-hero-photo {
    height: 610px;
    object-fit: cover;
    object-position: 52% center;
}

.om-years-card {
    background: var(--om-navy) !important;
    min-width: 180px;
    box-shadow: 0 24px 60px rgba(13, 32, 65, .28);
}

.om-years-card h2 {
    color: #fff;
    line-height: .9;
}

.om-proof {
    align-items: center;
    display: flex;
    gap: 14px;
}

.om-proof-icon {
    align-items: center;
    background: rgba(var(--primary-color-rgb), .12);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    flex: 0 0 50px;
    height: 50px;
    justify-content: center;
}

.om-proof strong,
.om-proof span {
    display: block;
}

.om-proof strong {
    color: var(--om-ink);
    font-size: 16px;
}

.om-proof span {
    font-size: 13px;
}

.om-service-card {
    min-height: 390px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.om-service-card:hover {
    box-shadow: 0 26px 60px rgba(25, 48, 80, .12);
    transform: translateY(-8px);
}

.om-service-card p {
    color: #667085;
    line-height: 1.65;
}

.om-service-card.text-light p {
    color: rgba(255, 255, 255, .78);
}

.om-trust {
    background: var(--om-navy) !important;
}

.om-trust p {
    color: rgba(255, 255, 255, .68);
}

.om-count {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    min-height: 170px;
    padding: 30px 18px;
}

.om-count h3 {
    color: #fff;
}

.om-team-section {
    background: var(--om-silver);
}

.om-wide-image {
    display: block;
    width: 100%;
    height: clamp(340px, 38vw, 600px);
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center 24%;
}

.om-bullet-card {
    /* Optilux applies nowrap to every .d-flex; card copy must wrap. */
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(19, 45, 81, .10);
    box-shadow: 0 20px 55px rgba(19, 45, 81, .07);
    white-space: normal;
}

.om-bullet-card > div {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
}

.om-bullet-icon {
    align-items: center;
    background: var(--om-sky);
    border-radius: 50%;
    color: var(--primary-color);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.om-marquee .de-marquee-list-2 span {
    color: var(--om-navy);
    white-space: nowrap;
}

.om-carousel-card img {
    height: 600px;
    object-fit: cover;
}

.om-carousel-card h3 {
    color: #fff;
}

.om-marlene-photo {
    background-position: 32% center !important;
}

.om-photo-valuation {
    object-position: center 30%;
}

.om-signature {
    border-top: 1px solid rgba(18, 40, 76, .18);
    display: inline-block;
    margin-top: 12px;
    padding-top: 16px;
}

.om-signature strong,
.om-signature span {
    display: block;
}

.om-signature strong {
    color: var(--om-navy);
    font-size: 20px;
}

.om-signature span {
    color: var(--primary-color);
    font-size: 13px;
    letter-spacing: .08em;
    margin-top: 3px;
    text-transform: uppercase;
}

.om-company-strip {
    border-bottom: 1px solid rgba(19, 45, 81, .12);
    border-top: 1px solid rgba(19, 45, 81, .12);
}

.om-company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 116px;
    padding: 22px;
    border: 1px solid rgba(19, 45, 81, .10);
    border-radius: 8px;
    background: #fff;
}

.om-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.om-company-logo-dark {
    background: var(--om-navy);
}

.om-faq-image {
    height: 660px;
    object-fit: cover;
}

.om-final-cta {
    background: linear-gradient(120deg, #41679d, #294d7f) !important;
}

.om-final-cta h3 {
    color: #fff;
}

.om-whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 50%;
    bottom: 24px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .2);
    color: #fff;
    display: flex;
    font-size: 28px;
    height: 58px;
    justify-content: center;
    position: fixed;
    right: 24px;
    transition: transform .2s ease;
    width: 58px;
    z-index: 1100;
}

.om-whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
}

footer.om-footer {
    background: var(--om-sky);
    color: #52647c;
}

footer.om-footer h4,
footer.om-footer .fw-bold {
    color: var(--om-navy);
}

footer.om-footer a {
    color: #365986;
}

footer.om-footer a:hover {
    color: var(--om-navy);
}

footer.om-footer .subfooter {
    border-top-color: rgba(18, 40, 76, .14);
}

.om-footer-copy {
    color: #52647c;
}

.om-contact-details {
    display: grid;
    gap: 12px;
    margin: 0;
    font-style: normal;
    font-size: 16px;
    line-height: 1.55;
}

.om-contact-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
}

.om-contact-item > i {
    line-height: inherit;
}

.om-contact-item > a,
.om-contact-item > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.logo-footer {
    height: 58px;
    width: auto;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #e0bd69;
    outline-offset: 4px;
}

/* Match the template's mobile-menu breakpoint. Hide the actual menu rather
   than relying on the header to clip it below the logo. */
@media (max-width: 993px) {
    header.om-header:not(.menu-open) #mainmenu {
        display: none;
    }

    header.om-header.menu-open #mainmenu {
        display: block;
    }
}

@media (max-width: 991px) {
    .om-header {
        background: #fff;
    }

    .om-header #logo img {
        height: 43px;
    }

    .om-hero {
        min-height: 0;
        padding-top: max(24px, calc(125px - var(--om-header-height)));
    }

    .om-hero .row {
        min-height: 0;
    }

    .om-hero h1 {
        font-size: 56px;
    }

    .om-hero-bottom {
        margin-top: 45px;
        position: relative;
    }

    .om-hero-photo {
        height: 560px;
    }

    .om-service-card {
        min-height: 350px;
    }

    .om-carousel-card img {
        height: 520px;
    }
}

@media (max-width: 575px) {
    :root {
        --om-header-height: 78px;
    }

    .om-header .header-inner {
        padding: 10px 0;
    }

    .om-header .de-flex {
        min-height: 58px;
    }

    .om-header #logo img {
        height: 48px;
    }

    .om-header .btn-main {
        font-size: 12px;
        padding: 9px 12px;
    }

    .om-hero {
        padding: 24px 0 36px;
        background: var(--om-sky);
    }

    .om-hero > .gradient-edge-end {
        display: none;
    }

    .om-hero > .container {
        padding-inline: 20px;
    }

    .om-hero .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin: 0;
    }

    /* Keep one set of content; reorder only the mobile composition. */
    .om-hero-copy,
    .om-hero-copy-inner,
    .om-hero-bottom {
        display: contents;
    }

    .om-hero .subtitle {
        grid-row: 1;
        margin: 0;
        font-size: 12px;
        line-height: 1.4;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .om-hero h1 {
        grid-row: 2;
        margin: 0 0 4px;
        font-size: clamp(32px, 8.7vw, 42px);
        line-height: 1.06;
        letter-spacing: -.035em;
        text-wrap: balance;
    }

    .om-hero-visual {
        grid-row: 3;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .om-hero-visual .rounded-1 {
        border-radius: 18px !important;
    }

    .om-hero-visual .abs {
        left: 12px;
        right: auto !important;
        margin: 12px !important;
    }

    .om-hero .om-years-card {
        display: flex !important;
        align-items: center;
        gap: 8px;
        min-width: 0;
        margin: 0 !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        box-shadow: none;
    }

    .om-hero .om-years-card h2 {
        margin: 0 !important;
        font-size: 26px !important;
    }

    .om-hero .om-years-card .fs-16 {
        font-size: 12px !important;
    }

    .om-hero-action {
        grid-row: 4;
        align-items: stretch !important;
        flex-direction: column;
        gap: 10px;
        border: 0 !important;
        padding: 0 !important;
        margin: 2px 0 0 !important;
        white-space: normal;
    }

    .om-hero-action > .btn-main {
        width: 100%;
        padding: 13px 16px;
        font-size: 15px;
        text-align: center;
    }

    .om-hero .om-proof {
        justify-content: center;
        gap: 6px;
        line-height: 1.4;
    }

    .om-hero .om-proof-icon {
        display: inline-flex;
        flex: 0 0 18px;
        height: 18px;
        background: transparent;
    }

    .om-hero .om-proof strong,
    .om-hero .om-proof span span {
        display: inline;
        font-size: 12px;
    }

    .om-hero .om-proof span span::before {
        content: " ";
    }

    .om-hero-bottom > p {
        grid-row: 5;
        margin: 4px 0 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .om-hero-photo {
        height: clamp(220px, 61vw, 310px);
        object-position: center 38%;
        transform: none !important;
    }

    .om-hero .wow {
        visibility: visible !important;
        animation: none !important;
    }

    .om-service-card {
        min-height: 330px;
    }

    .om-wide-image {
        height: auto;
    }

    .om-carousel-card img {
        height: 430px;
    }

    .om-faq-image {
        height: 440px;
    }

    .om-whatsapp-float {
        bottom: 18px;
        right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
