/*
Theme Name: Maseurope
Theme URI:  
Author: 9AM 
Author URI:   
Description: Starter theme for all projects by 9AM.
Version: 0.9 
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maseurope
*/ 
:root {
    --color-primary: #2d2d74;
    --color-accent: #a81f23;
    --color-site-grey: #231f20;
    --color-secondary: #dee2f2;
} 

/* ==========================================================================
   FONTS — Self-hosted (files in /assets/fonts/)
   ========================================================================== */
/* Quicksand */
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("./assets/fonts/quicksand-v37-latin_latin-ext-300.woff2") format("woff2");
}
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./assets/fonts/quicksand-v37-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("./assets/fonts/quicksand-v37-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("./assets/fonts/quicksand-v37-latin_latin-ext-600.woff2") format("woff2");
} 
@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("./assets/fonts/quicksand-v37-latin_latin-ext-700.woff2") format("woff2");
} 
 
body,html{
    scroll-behavior: smooth;
    scroll-padding-top: 127px;
}

body {
    font-family: "Quicksand", sans-serif;
}

.font-playwrite {
    font-family: "Patrick Hand", cursive;
}

.white-image {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(66deg) brightness(111%) contrast(101%);
}

.hdr__topbar {
    background: var(--color-secondary);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 0 0 0 20px;
    width: fit-content;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 0 40px;
    height: 36px;
    transition: height 0.3s, opacity 0.3s, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.hdr__topbar a {
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.15s;
}

.hdr__topbar a:hover {
    opacity: 0.7;
}

.sticky-header .hdr__topbar {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.heroB__stats-inline {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(45, 45, 116, .06);
    transition: all .4s cubic-bezier(.25, .1, .25, 1);
}

.heroB__stat-inline {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: .875rem;
    font-weight: 500;
    color: #6a6a9a;
    text-align: center;
    padding: 24px 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-right: 3px solid transparent;
    transition: all .4s cubic-bezier(.25, .1, .25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.heroB__stat-inline span {
    font-size: 1.375rem;
    font-weight: 700;
    color: #2d2d74;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
}

.heroB__stats-inline:hover {
    background: #b6bed9;
    border-right-color: transparent;
}

.heroB__stats-inline:hover .heroB__stat-inline {
    color: #1a1a2e;
}

.heroB__stats-inline:hover .heroB__stat-inline span {
    color: #0d0d1a;
}

/* ind__grid */
.ind__grid {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    margin-top: 48px;
}

.ind__card {
    position: relative;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    flex: 1;
    transition: all .6s ease-out;
}

.ind__card:hover {
    flex: 2;
}





.ind__card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(.25, .1, .25, 1);
}

.ind__card:hover .ind__card-bg {
    transform: scale(1.05);
}

.ind__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .80) 0%, rgba(0, 0, 0, .2) 50%, transparent 100%);
}

.ind__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.9rem;
    z-index: 2;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
}

.ind__card-title {
    color: #fff;
    text-transform: capitalize;
    line-height: 1.15;
    display: inline-block;
    font-size: 1.4rem;
    transition: all 0.3s ease-out;

}

.ind__card-desc {
    font-weight: 300;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    line-height: 1.4;
    max-width: 415px;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
}

.ind__card--footer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
}

.ind__card--footer > * {
    min-height: 0;
    overflow: hidden;
    padding-top: 1rem;
}

.ind__card:hover .ind__card--footer {
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 0.3s ease 0.58s, opacity 0.25s ease 0.62s;
}

.ind__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease;
}

.ind__card-cta i {
    font-size: 1rem;
    transition: transform .3s;
}

.ind__card:hover .ind__card-cta i {
    transform: translateX(4px);
}



.ind__challenge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ind__challenge i {
    color: #a81f23;
    font-size: 1em;
    flex-shrink: 0;
}

.ind__challenge-sep {
    display: block;
    width: 1px;
    height: 1.4em;
    background: rgba(45, 45, 116, .18);
    flex-shrink: 0;
}

/* Level-1 → Level-2 dropdown */
.main-nav li:has(> ul) {
    min-height: 90px;
    display: flex;
    align-items: center;
    position: relative;

    >ul {
        position: absolute;
        background: #e5e8f5;
        padding: 1.3rem 0;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        color: var(--color-site-grey);
        width: max-content;
        font-size: 1.1rem;
        border: 1px solid #d1d5db66;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        >li {
            padding: 0 1.3rem;
        }
    }

    >a {
        display: inline-flex;
        align-items: center;
        gap: 0.4em;

        &::after {
            content: '';
            position: static;
            width: 0.4em;
            height: 0.4em;
            border-right: 1.5px solid currentColor;
            border-bottom: 1.5px solid currentColor;
            background: none;
            transform: rotate(45deg) translateY(-2px);
            flex-shrink: 0;
        }
    }

    &:hover {
        >ul {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        >a:before {
            transform: scaleX(1);
            transform-origin: left;
        }
    } 
}
 
/* 3rd level flyout */
.main-nav ul ul li:has(> ul) {
    min-height: unset;
    display: block;

    >ul {
        top: -0.5rem;
        left: 100%;
        padding-left: .5rem;
        transform: translateX(-6px);
        background: transparent;
        border: none;

        &:before {
            content: "";
            position: absolute;
            inset-block: 0;
            left: .5rem;
            right: 0;
            background: #e5e8f5;
            border: 1px solid #d1d5db66;
        }
    }

    >a {
        display: flex;
        justify-content: space-between;
        width: 100%;

        &::before {
            display: none;
        }

        &::after {
            transform: rotate(-45deg) translateY(2px) !important;
            margin-left: 1.5rem;
        }

        >span {
            position: relative;

            &::before {
                content: '';
                position: absolute;
                bottom: 1px;
                left: 0;
                width: 100%;
                height: 1px;
                background-color: currentColor;
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.3s ease;
            }
        }
    }

    &:hover>a>span::before {
        transform: scaleX(1);
    }

    &:not(:hover)>a>span::before {
        transform: scaleX(0);
        transform-origin: right;
    }

    &:hover>ul {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
}

/* Level-3 Learn More CTA */


.nav-level3-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    /* color: var(--color-primary); */
    text-decoration: none;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.05em; */
    transition: gap 0.2s ease;
    line-height: 1;
    margin-top: 20px;
}

.nav-level3-cta:hover {
    gap: 10px;
}

.nav-level3-cta::before {
    display: none !important;
}

.nav-dropdown-label {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    opacity: 1;
    padding-bottom: 0.4rem;
}

span.nav-dropdown-label {
    pointer-events: none;
}

/* Mega menu – Solutions */
.main-nav li:has(.mega-menu) {
    min-height: 90px;
    display: flex;
    align-items: center;

    >a {
        display: inline-flex;
        align-items: center;
        gap: 0.4em;

        &::after {
            content: '';
            position: static;
            width: 0.4em;
            height: 0.4em;
            border-right: 1.5px solid currentColor;
            border-bottom: 1.5px solid currentColor;
            background: none;
            transform: rotate(45deg) translateY(-2px);
            flex-shrink: 0;
        }
    }

    &:hover>a::before {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.nav-bar {
    position: relative;
    transition: border-color 0.4s ease;
}

.mega-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: -1;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    color: var(--color-site-grey);
    border-bottom: 1px solid #d1d5db44;
}

.mega-menu>div {
    padding-top: 100px;
}

.main-nav li:has(.mega-menu):hover .mega-menu {
    clip-path: inset(0 0 0% 0);
    pointer-events: auto;
}


header:has(.main-nav li:has(.mega-menu):hover) .header-cta {
    background: var(--color-primary) !important;
}

/* Solution boxes */
.mega-solution-box {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background-size: cover;
    background-position: center;
    color: white;
    text-decoration: none;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1;
    }
}

.mega-solution-curtain {
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.mega-solution-box:hover .mega-solution-curtain {
    clip-path: inset(0 0 0% 0);
}

.mega-solution-box span {
    position: relative;
    z-index: 3;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.main-nav a {
    position: relative;
}

/* Level 1 – red dot left of text */
.main-nav>ul>li>a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: #9a2d2a;
    border-radius: 50%;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.main-nav>ul>li>a:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

/* Dropdown – underline animation */
.main-nav ul ul a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav ul ul a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav ul ul a:not(:hover)::before {
    transform: scaleX(0);
    transform-origin: right;
}

.slider-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.slider-buttons .btn-indicator {
    position: relative;
    width: 1.1em;
    height: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-buttons .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #a81f23;
    position: absolute;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slider-buttons a i {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-width 0.3s ease;
    font-size: 1em;
}

.slider-buttons a:hover i {
    opacity: 1;
    max-width: 2em;
}

.solutions-content {
    height: 600px;
}

.solution-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 !important;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.solution-panel.closing {
    clip-path: inset(100% 0 0 0);
}

.solution-panel.active {
    clip-path: inset(0 0 0% 0);
    pointer-events: auto;
}

#slogan-heading p {
    background-image: url('');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.challenge-panel {
    flex: 1;
    height: 340px;
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.challenge-panel .curtain {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    will-change: transform;
}



.challenge-panel:hover .curtain {
    transform: translateY(0);
}

.challenge-panel:hover {
    .main-cta {
        border-color: white !important;

        &:before {
            background: white;
        }

        &:hover {
            color: var(--color-primary);
        }
    }
}

.challenge-panel>* {
    position: relative;
    z-index: 1;
}

.challenge-panel:hover {
    color: white;
}

.challenge-panel:first-child {
    border-left: 1px solid white;
}

.main-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background: white;
    border-radius: 60px;
    line-height: 1;
    padding: 1rem;
    overflow: hidden;
    transition: all 0.3s ease-out;
    z-index: 1;
    position: relative;
    font-size: 1.1rem;

    &:before {
        content: "";
        width: 100%;
        background: var(--color-primary);
        height: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        transition: all 0.3s ease-out;
        border-radius: 60px;
        z-index: -1;
    }


    span {
        transition: all 0.3s ease-out;
    }

    &:hover {
        color: white;

        span {
            margin-left: 0.3rem;
        }

        &:before {
            height: 100%;
        }
    }
}


.solution-options li {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;

    &:hover {
        color: white;

        button {
            padding-inline: 1.5rem;
        }
    }
}

.solution-options li::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.solution-options li:hover::before {
    transform: translateY(0);
}

.solution-options li a {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.solution-options li a i {
    margin-left: auto;
    font-size: 1.5rem;
}


.solution-options li:has(a.active)::before {
    transform: translateY(0);
}

.solution-options li:has(a.active) {
    color: white;

    a {
        padding-inline: 2rem;
    }
}



#news-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    scale: 0.5;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-site-grey);
}

#news-cursor i {
    font-size: 1.2rem;
}

#news-splide {
    cursor: none;
}

#grid-cards-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    scale: 0.5;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-site-grey);
}

#grid-cards-cursor i {
    font-size: 1.2rem;
}

#grid-cards-slider {
    cursor: none;
}

#news-splide .splide__pagination,
.news-card__body {
    cursor: auto;
}

.news-list {
    position: relative;
}

.news-list::before,
.news-list::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.news-list::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.news-list::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.news-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card__img img {
    transform: scale(1.04);
}

.news-card__body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.news-card__date {
    font-size: 0.85rem;
    color: var(--color-primary)
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.news-card__text {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.news-section .splide__pagination {
    margin-top: 2.5rem;
    position: static;
    justify-content: start;
}

.news-section .splide__pagination__page {
    background: rgba(0, 0, 0, 0.2);
    width: 6px;
    height: 6px;
}

.news-section .splide__pagination__page.is-active {
    background: var(--color-primary);
    transform: scale(1.4);
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

#service-follower {
    position: absolute;
    background-color: var(--color-secondary);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.service-item i {
    font-size: 2rem;
    width: fit-content;
    border-radius: 0.2rem;
}

.solution-option-panel {
    animation: fadeIn 0.4s ease;
}

.panel-title {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 8px;
    font-size: 1.1rem;
    line-height: 1.2;
    transition: text-decoration-color 0.3s ease, text-underline-offset 0.3s ease;
}

.panel-title:hover {
    text-decoration-color: transparent;
}

.offset-link {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 8px;
    transition: text-decoration-color 0.3s ease, text-underline-offset 0.3s ease;
}

.offset-link:hover {
    text-decoration-color: currentColor;
    text-underline-offset: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.solution-option-panel {
    padding: 4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    h3 {
        font-size: 2.35rem;
        line-height: 1.2;
    }
}

.solution-option-details {
    padding-left: 5rem;

    p {
        font-weight: 500;
        margin-bottom: 1rem;
    }

    ul {
        list-style-type: disc;
        margin-left: 1.3rem;
        display: grid;
        gap: 0.3rem;

        li::marker {
            color: var(--color-accent);
        }
    }
}

#news-splide {
    .splide__pagination {
        position: static;
        margin-top: 1.5rem;
    }

    .splide__pagination__page{
        width: 10px;
        height: 10px;
    }

    .splide__pagination__page.is-active {
        background: var(--color-secondary);
    }
}

/* ==========================================================================
   PARTNERS ORBIT
   ========================================================================== */
#partners-section {
    background: linear-gradient(to bottom, #fff 0%, #f4f5f9 30%, #f4f5f9 70%, #fff 100%);
}

#partners-section .oem-section__header {
    text-align: center;
    margin-bottom: 56px;
}

.oem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.oem-orbit {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    overflow: visible;
}

.oem-orbit__arcs {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
}

.oem-orbit__arc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
}

.oem-orbit__arc--1 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    border: 1.5px solid rgba(168, 31, 35, .2);
}

.oem-orbit__arc--2 {
    width: 600px;
    height: 600px;
    bottom: -300px;
    border: 1.5px solid rgba(45, 45, 116, .15);
}

.oem-orbit__arc--3 {
    width: 850px;
    height: 850px;
    bottom: -425px;
    border: 1.5px solid rgba(168, 31, 35, .12);
}

.oem-orbit__center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.oem-orbit__center-text {
    font-size: 1.375rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1.2;
}

   .oem-orbit__center {
       opacity: 0.3;
       zoom: 291%;
       bottom: -30px;
       z-index: 0;
   }
.oem-orbit__logo {
    position: absolute;
    z-index: 5;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(45, 45, 116, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .6s cubic-bezier(.25, .1, .25, 1), box-shadow .4s;
}

.oem-orbit__logo img {
    height: 28px;
    max-width: 52px;
    width: auto;
    object-fit: contain;
    filter: grayscale(.3);
}

@keyframes orbit-left {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-5deg);
    }
}

@keyframes orbit-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(5deg);
    }
}

@keyframes counter-left {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(5deg);
    }
}

@keyframes counter-right {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-5deg);
    }
}

.oem-orbit__logo--woodward {
    left: calc(50% - 52px);
    bottom: 148px;
    width: 120px;
    height: 120px;
    transform-origin: 52px 268px;
    animation: orbit-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--woodward img {
    height: 38px;
    max-width: 92px;
    animation: counter-left 6s ease-in-out infinite alternate;
}

/* Arc 2 logos — 36° spacing (162°, 126°, 90°, 54°, 18°) — all animate together */
.oem-orbit__logo--seg {
    left: calc(50% - 329px);
    bottom: 49px;
    transform-origin: 329px 137px;
    animation: orbit-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--seg img {
    animation: counter-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--graviner {
    left: calc(50% - 220px);
    bottom: 199px;
    transform-origin: 220px 287px;
    animation: orbit-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--graviner img {
    animation: counter-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--qtagg {
    width: 60px;
    height: 60px;
    left: calc(50% - 30px);
    bottom: 270px;
    transform-origin: 30px 330px;
    animation: orbit-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--qtagg img {
    height: 34px;
    max-width: 68px;
    animation: counter-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--curtiss {
    left: calc(50% + 132px);
    bottom: 199px;
    transform-origin: -132px 287px;
    animation: orbit-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--curtiss img {
    animation: counter-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--celeros {
    left: calc(50% + 241px);
    bottom: 49px;
    transform-origin: -241px 137px;
    animation: orbit-right 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--celeros img {
    animation: counter-right 6s ease-in-out infinite alternate;
}

/* Arc 3 logos */
.oem-orbit__logo--aveva {
    left: calc(50% - 344px);
    bottom: 256px;
    transform-origin: 344px 344px;
    animation: orbit-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--aveva img {
    animation: counter-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--siemens {
    left: calc(50% + 256px);
    bottom: 256px;
    transform-origin: -256px 344px;
    animation: orbit-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--siemens img {
    animation: counter-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--fincantieri {
    left: calc(50% + 256px);
    bottom: 256px;
    transform-origin: -256px 344px;
    animation: orbit-left 6s ease-in-out infinite alternate;
}

.oem-orbit__logo--fincantieri img {
    animation: counter-left 6s ease-in-out infinite alternate;
}

/* ==========================================================================
   IND__GRID / SPLIDE RESPONSIVE
   ========================================================================== */

/* Desktop: splide__slide acts as the flex item (replaces ind__card's flex:1) */
@media (min-width: 1024px) {
    .ind__grid.splide__list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .ind__grid .splide__slide {
        flex: 1;
        overflow: hidden;
        transition: all .6s ease-out;
    }

    .ind__grid .splide__slide:hover {
        flex: 2;
    }

    .ind__grid .splide__slide:hover .ind__card-bg {
        transform: scale(1.05);
    }

    .ind__grid .splide__slide .ind__card {
        flex: none;
        width: 100%;
        height: 100%;
        min-height: 480px;
        transition: none;
    }

    #ind-splide .splide__track {
        overflow: visible;
    }
}

/* Mobile: Splide slider */
@media (max-width: 1023px) {
    .ind__grid .splide__slide .ind__card {
        height: 380px;
        flex: none;
        width: 100%;
    }

    #ind-splide .splide__pagination {
        margin-top: 1.25rem;
        position: static;
        justify-content: center;
    }

    /* Title acts as expand trigger */
    #ind-splide .ind__card-title {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .ind__title-arrow {
        font-size: 0.85rem;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .ind__card.ind__card--open .ind__title-arrow {
        transform: rotate(180deg);
    }

    /* Disable hover-based footer reveal on mobile — touch hover can stick */
    #ind-splide .ind__card:hover .ind__card--footer {
        grid-template-rows: 0fr;
        opacity: 0;
    }

    .ind__card.ind__card--open .ind__card--footer {
        grid-template-rows: 1fr !important;
        opacity: 1 !important;
    }

    #ind-splide a.main-cta {
        text-decoration: none;
    }
}

@media (max-width: 768px) {
    .oem-orbit {
        aspect-ratio: auto;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .oem-orbit__arcs,
    .oem-orbit__center {
        display: none;
    }

    .oem-orbit__logo {
        position: static !important;
        transform: none !important;
        padding: 16px 24px;
        background: #f4f5f9;
        border-radius: 12px;
        animation: none !important;
    }

    .oem-orbit__logo img {
        filter: none;
        animation: none !important;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #2d2d74;
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(182, 190, 217, .04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.footer__ghost-logo {
    position: absolute;
    bottom: -100px;
    right: -80px;
    width: 600px;
    height: 600px;
    opacity: .12;
    animation: footerLogoSpin 60s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes footerLogoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer__container {
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}

.footer__col h3 {
    font-weight: 700;
    text-transform: uppercase;
    color: #b6bed9;
    margin: 0 0 20px;
}

.footer__col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    color: #b6bed9;
    text-decoration: none;
    padding: 5px 0;
    transition: color .2s;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: .8125rem;
    color: #b6bed9;
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom a {
    color: #b6bed9;
    transition: color .2s;
}

.footer__bottom a:hover {
    color: #fff;
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2d2d74;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 900;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s, transform .4s, background .3s;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(45, 45, 116, .2);
}

.scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    background: #a81f23;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.white-image-about {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7216%) hue-rotate(326deg) brightness(114%) contrast(103%);
}

/* ── Footprint section mobile ── */
.footprint-grid {
    display: grid;
}

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

    #region-accordion {
        max-height: none !important;
        overflow-y: visible;
        border-right: none;
    }

    .footprint-map-container {
        height: 350px !important;
    }
}

/* ── About page mobile tweaks ── */
@media (max-width: 767px) {
    .tagline {
        font-size: 1rem;
        gap: 0.75rem;
    }

    .ceo-quote-text {
        font-size: 1.2rem !important;
    }
}

/* ── Timeline ── */
.timeline-line {
    position: relative;
    padding-left: 2rem;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, rgba(168, 31, 35, .35) 8%, rgba(168, 31, 35, .35) 92%, transparent 100%);
}

.timeline-entry {
    position: relative;
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(209, 213, 219, .4);
    transition: background 0.2s;
}

.timeline-entry:last-child {
    border-bottom: none;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 2rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(168, 31, 35, .5);
    transition: background 0.2s, border-color 0.2s;
}

.timeline-entry:hover::before {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.timeline-entry:hover {
    background: rgba(222, 226, 242, .2);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(45, 45, 116, .3);
    line-height: 1.4;
    transition: color 0.2s;
}

.timeline-entry:hover .timeline-year {
    color: var(--color-primary);
}

.timeline-year.is-current {
    color: var(--color-accent);
}

.timeline-entry.is-hidden {
    display: none;
}

/* ── Value cards ── */
.value-card {
    border: 1px solid rgba(209, 213, 219, .4);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.value-card:hover::before {
    transform: translateY(0);
}

.value-card>* {
    position: relative;
    z-index: 1;
}

.value-card:hover .value-icon {
    color: var(--color-primary);
}

/* ── ISO cert cards ── */
.cert-card {
    border: 1px solid rgba(209, 213, 219, .4);
    padding: 1.3rem;
    position: relative;
    overflow: hidden;
    transition: color 0.3s;
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.cert-card:hover::before {
    transform: translateY(0);
}

.cert-card>* {
    position: relative;
    z-index: 1;
}

/* ── HSE feature card ── */
.hse-card {
    border: 1px solid rgba(209, 213, 219, .4);
    padding: 2.5rem;
}

/* ── Careers category pill ── */
.career-cat {
    border: 1px solid rgba(209, 213, 219, .5);
    padding: .65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: border-color .25s, color .25s;
}

.career-cat:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ── Careers CTA card ── */
.career-cta-card {
    border: 1px solid rgba(209, 213, 219, .4);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.career-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.career-cta-card:hover::before {
    transform: translateY(0);
}

.career-cta-card>* {
    position: relative;
    z-index: 1;
}

/* ── Accordion (only history "show more") ── */
#older-milestones {
    overflow: hidden;
    max-height: 0;
    transition: max-height .7s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-btn{
    padding: 1rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.tab-btn.active{
    border-color: var(--color-accent);
}



/* ── Tabs ── */
.tab-block-btn {
    position: relative;
    padding: 1.25rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-block-btn:hover:not(.active) {
    background: white;
    color: var(--color-accent);
}

.tab-block-btn.active {
    background: white;
    color: var(--color-primary);
    font-weight: 700;
}

.tab-panel {
    display: none;
    min-height: 100%;
}

.tab-panel.active {
    display: block;
}

/* ── Values v2 ── */
.values-v2-item {
    cursor: pointer;
    padding: 1.15rem 1.75rem;
    border-bottom: 1px solid rgba(209, 213, 219, 0.4);
    border-left: 3px solid transparent;
    transition: background 0.2s, border-left-color 0.2s;
}

.values-v2-item:last-child {
    border-bottom: none;
}

.values-v2-item:hover {
    background: rgba(222, 226, 242, 0.25);
}

.values-v2-item.is-active {
    background: rgba(222, 226, 242, 0.45);
    border-left-color: var(--color-accent);
}

.values-v2-arrow {
    opacity: 0;
    transition: opacity 0.2s;
}

.values-v2-item.is-active .values-v2-arrow {
    opacity: 1;
}

.values-v2-panel {
    display: none;
}

.values-v2-panel.is-active {
    display: block;
}

/* ── Section nav ── */
#section-nav {
    position: sticky;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background: white;
}

#section-nav-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    font-weight: 500;
    background: none;
    border: none;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    color: var(--color-site-grey);
}

#section-nav-caret {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

#section-nav-toggle[aria-expanded="true"] #section-nav-caret {
    transform: rotate(180deg);
}

#section-nav-links {
    display: flex;
}

@media (max-width: 1023px) {
    #section-nav {
        display: block;
    }

    #section-nav-toggle {
        display: flex;
    }

    #section-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid rgba(209, 213, 219, 0.4);
        z-index: 100;
        border-top: 1px solid rgba(209, 213, 219, 0.4);
    }

    #section-nav-links.is-open {
        display: flex;
    }

    .section-nav-link {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid rgba(209, 213, 219, 0.3);
        padding-left: 1.5rem;
    }

    .section-nav-link:last-of-type {
        border-bottom: none;
    }
}

.section-nav-link {
    display: block;
    align-items: center;
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    border-right: 1px solid rgba(209, 213, 219, 0.4);
    transition: color 0.2s;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
    z-index: 1;
}

.section-nav-link:first-of-type {
    border-left: 1px solid rgba(209, 213, 219, 0.4);
}

.section-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--color-secondary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
    z-index: -1;
}

.section-nav-link.is-active::after {
    transform: scaleY(1);
}

.section-nav-link:hover::after {
    transform: scaleY(1);
}

/* ── Map accordion ── */
.region-acc-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.region-acc-btn .acc-caret {
    transition: transform 0.25s ease;
}

.country-btn.is-active {
    color: var(--color-accent);
    background: rgba(168, 31, 35, 0.05);
}

/* ── Leaflet map markers ── */
.leaflet-hq-icon {
    background: transparent !important;
    border: none !important;
}

.hq-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #a81f23;
    border: 2.5px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(168, 31, 35, 0.35);
}

.hq-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #a81f23;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hq-pulse 2.2s ease-out infinite;
}

.hq-ring-1 {
    width: 26px;
    height: 26px;
}

.hq-ring-2 {
    width: 44px;
    height: 44px;
    animation-delay: 0.65s;
}

@keyframes hq-pulse {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.75);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Legend */
.footprint-legend {
    background: white;
    padding: 9px 13px;
    font-size: 0.8rem;
    line-height: 1.7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.footprint-legend .legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot-hq {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a81f23;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #a81f23;
    flex-shrink: 0;
}

.legend-dot-territory {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2d2d74;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #2d2d74;
    flex-shrink: 0;
}

/* scroll-hint overlay */
.map-scroll-hint {
    position: absolute;
    top: 10px;
    right: 44px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #555;
    pointer-events: none;
    transition: opacity 0.4s;
    white-space: nowrap;
}

#world-map {
    background: #f0f2f8;
}

/* Soften TomTom tiles to a pastel CARTO-Voyager-like look */
.leaflet-tile-soft {
    filter: saturate(0.55) brightness(1.06) contrast(0.92) hue-rotate(-5deg);
} 

/* ============================================================
   Industry single page (single-industries.php)
   ============================================================ */

body.single-industries .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;

}

body.single-industries .breadcrumb a {
    transition: color 0.2s;
}

body.single-industries .breadcrumb a:hover {
    color: rgba(35, 31, 32, 0.5);
}

body.single-industries .breadcrumb span.sep {
    font-size: 0.75rem;
}

.challenge-trigger {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: padding 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}


.challenge-bullets {
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease;
}

.challenge-trigger.active .challenge-bullets {
    max-height: 0;
    opacity: 0;
}

.challenge-trigger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-secondary);
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.challenge-trigger:hover::before,
.challenge-trigger.active::before {
    transform: translateY(0);
}

.challenge-trigger > * {
    position: relative;
    z-index: 1;
}

.challenge-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.sub-issue {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(209, 213, 219, 0.4);
}

.sub-issue:last-of-type {
    border-bottom: none;
}

.biz-impact {
    background: var(--color-primary);
    color: white;
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
}

.biz-impact span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.mas-solution-item h4 {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.mas-solution-item ul {
    list-style: disc;
    padding-left: 3rem;
}

.mas-solution-item ul li::marker {
    color: var(--color-accent);
}

.mas-solution-item ul li {
    color: rgba(35, 31, 32, 0.75);
    line-height: 1.5;
    padding: 0.15rem 0;
}

.challenge-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    width: 2rem;
    flex-shrink: 0;
}

.sol-link-card {
    border: 1px solid rgba(209, 213, 219, 0.4);
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.sol-link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.sol-link-card:hover::before {
    transform: translateY(0);
}

.sol-link-card:hover,
.sol-link-card:hover i,
.sol-link-card:hover .sol-arrow {
    color: white;
}

.sol-link-card > * {
    position: relative;
    z-index: 1;
}

.stat-row {
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
}

.sticky-titles {
    background: white;
    padding: 1rem;
    border-color: #d1d5db66 !important;
}

#active-challenge-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    max-width: 0;
}

#active-challenge-breadcrumb.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-width: 560px;
}

#active-challenge-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 560px;
}

.news-pagination{
    font-size: 0.9rem;

    > span{
        width: 40px;
        display: flex;
        background: var(--color-secondary);
        color: var(--color-primary);
        align-items: center;
        justify-content: center;
        aspect-ratio: 1/1;
        border-radius: 50%;
        border: 1px solid var(--color-secondary);
    }

    > a{
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        aspect-ratio: 1/1;
        border-radius: 50%;
        transition: all 0.3s ease-out;
        border: 1px solid rgb(209 213 219 / 0.4);

        &:hover{
            background: var(--color-secondary);
            color: var(--color-primary);
        }
    }
}

/* ── News page responsive ── */

@media (max-width: 639px) {
    .news-card__body {
        padding: 1rem;
    }

    .news-card__title {
        font-size: 0.9rem;
    }

    .news-card__text {
        font-size: 0.85rem;
    }

}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

/* ── Map consent overlay ── */
.cmap-consent {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    z-index: 10;
    transition: opacity 0.35s;
}

.cmap-consent p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-align: center;
    max-width: 240px;
    line-height: 1.65;
}

#cmap-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    min-height: 70vh;
}

/* ── Project case study form ── */
.proj-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.proj-form__fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.proj-form__field {
    display: flex;
    flex-direction: column;
}

.proj-form__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.7rem;
    line-height: 1;
}

.proj-form__label abbr {
    text-decoration: none;
    color: var(--color-accent);
}

.proj-form input[type="text"],
.proj-form input[type="email"],
.proj-form input[type="tel"] {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #bcc0c7;
    background: transparent;
    padding: 0 0 0.5rem 0;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    color: #231f20;
    outline: none;
    transition: border-color 0.25s;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.proj-form input[type="text"]:focus,
.proj-form input[type="email"]:focus,
.proj-form input[type="tel"]:focus {
    border-bottom-color: var(--color-primary);
}

.proj-form br {
    display: none;
}

.proj-form .wpcf7-submit {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    border-radius: 60px;
    line-height: 1;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.25s ease;
}

.proj-form .wpcf7-submit:hover {
    background: var(--color-primary);
}

@media (max-width: 1024px) {
    .proj-form__fields {
        grid-template-columns: 1fr;
    }
}

/* ── CF7 form layout ── */
.cf-grid {
    display: flex;
    flex-direction: column;
}

.cf-row {
    margin-bottom: 2.5rem;
}

.cf-row--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.cf-row--inline {
    display: flex;
    gap: 2.5rem;
    align-items: flex-end;
}

.cf-row--inline .cf-field {
    flex: 1;
}

.cf-row--inline .cf-submit {
    flex-shrink: 0;
    padding-bottom: 0.5rem;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cf-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.7rem;
    line-height: 1;
}

.cf-label abbr {
    text-decoration: none;
    color: var(--color-accent);
}

.cf-accept {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.cf-notice {
    font-size: 0.8rem;
    color: rgba(35, 31, 32, 0.5);
    line-height: 1.65;
    margin: 0;
}

.cf-notice a {
    color: var(--color-primary);
}

.cf-notice a:hover {
    color: var(--color-accent);
}

/* ── CF7 form controls ── */
.contact-combined-section .wpcf7-form input[type="text"],
.contact-combined-section .wpcf7-form input[type="email"],
.contact-combined-section .wpcf7-form select,
.contact-combined-section .wpcf7-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid #d1d5db66;
    background: transparent;
    padding: 0 0 .5rem 0;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    color: #231f20;
    outline: none;
    transition: border-color 0.25s;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}

.contact-combined-section .wpcf7-form input[type="text"]:focus,
.contact-combined-section .wpcf7-form input[type="email"]:focus,
.contact-combined-section .wpcf7-form select:focus,
.contact-combined-section .wpcf7-form textarea:focus {
    border-bottom-color: var(--color-primary);
}

.contact-combined-section .cf-field{
    br{
        display: none;
    }
}

.contact-combined-section .wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232d2d74' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 1.75rem;
    cursor: pointer;
}

.contact-combined-section .wpcf7-form textarea {
    resize: vertical;
    height: 80px;
}

/* ── CF7 acceptance checkbox ── */
.contact-combined-section .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
}

.contact-combined-section .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.contact-combined-section .wpcf7-acceptance .wpcf7-list-item label {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(35, 31, 32, 0.65);
}

.contact-combined-section .wpcf7-acceptance .wpcf7-list-item label a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-combined-section .wpcf7-acceptance .wpcf7-list-item label a:hover {
    color: var(--color-accent);
}

/* ── CF7 submit button ── */
.contact-combined-section .wpcf7-submit {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    border-radius: 60px;
    line-height: 1;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-family: "Quicksand", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.25s ease;
}

.contact-combined-section .wpcf7-submit:hover {
    background: var(--color-primary);
}

/* ── CF7 validation & response ── */
.contact-combined-section .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: var(--color-accent);
    margin-top: 0.2rem;
    display: block;
}

.contact-combined-section .wpcf7-form-control.wpcf7-not-valid {
    border-bottom-color: var(--color-accent) !important;
}

.contact-combined-section .wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-left: 3px solid;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.contact-combined-section .wpcf7-form.sent .wpcf7-response-output {
    background: rgba(45, 45, 116, 0.05);
    border-left-color: var(--color-primary);
    color: var(--color-primary);
}

.contact-combined-section .wpcf7-form.failed .wpcf7-response-output,
.contact-combined-section .wpcf7-form.invalid .wpcf7-response-output,
.contact-combined-section .wpcf7-form.spam .wpcf7-response-output {
    background: rgba(168, 31, 35, 0.05);
    border-left-color: var(--color-accent);
    color: var(--color-accent);
}

.contact-combined-section .wpcf7 .ajax-loader {
    display: none;
}

/* ── Office info (right column) ── */



.co-office-country {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
}

.co-office-company {
    font-weight: 500;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.co-office-role {
    display: block;
}

.co-office-detail {
    line-height: 1.85;
    color: rgba(35, 31, 32, 0.65);
}

.co-office-detail p {
    margin: 0;
}

.co-office-detail a {
    color: inherit;
    text-decoration: none;
}

.co-office-detail a:hover {
    color: var(--color-primary);
}

.co-office-sub {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 45, 116, 0.08);
}

.co-rep-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    padding: 1.5rem 0 0;
    margin-bottom: 0;
}

/* ── Accordion (representatives) ── */
.co-accordion-item {
    border-bottom: 1px solid rgba(45, 45, 116, 0.1);
}

.co-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    background: none;
    border: none;
    font-family: "Quicksand", sans-serif;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.co-accordion-trigger:hover {
    color: var(--color-accent);
}

.co-accordion-trigger:hover i {
    color: var(--color-accent);
}

.co-accordion-trigger i {
    font-size: 1rem;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.2s;
    flex-shrink: 0;
    color: rgba(45, 45, 116, 0.35);
}

.co-accordion-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.co-accordion-content {
    display: none;
    overflow: hidden;
}


.co-accordion-body {
    padding-bottom: 1.25rem;
}

#nav-block-slider,#services-nav-slider{
    .splide__arrow--next{
        right: 0;
    }

    .splide__arrow--prev{
        left: 0;
    }

    .splide__arrow{
        background: transparent;
        width: auto;
        height: auto;
        opacity: 0.5;
        z-index: 10;
    }

    .splide__arrow svg{
        width: 1em;
        height: 1em;
    }
}

/* ── Contact page responsive ── */
@media (max-width: 1023px) {
    #cmap-iframe {
        min-height: 0;
    }

    .cf-row--3 {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
}

@media (max-width: 639px) {
    .cf-row--3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cf-row {
        margin-bottom: 0;
    }
    .cf-field{
        margin-bottom: 1.5rem;
    }
}

.service-box,
.proj-box {
    min-height: 160px;
    padding: 1.4rem;
}

.red-image{
    filter: brightness(0) saturate(100%) invert(20%) sepia(34%) saturate(4731%) hue-rotate(339deg) brightness(91%) contrast(102%);
}

@media(max-width:1024px){
    .ind__card-content{
        width: 100%;
    }
}

@media(max-width:768px){
    .oem-orbit__logo--woodward{
        width: 88px;
        height: 88px;
        padding: 16px 10px !important;
    }
    .oem-orbit__logo--woodward img{
        max-width: 100%;
    }
    .oem-orbit__logo{
        background: white;
        border-radius: 50%;
    }
}

@media(max-width:640px){
    .timeline-entry{
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}