@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --tm-mobile-top: 82px;
    --tm-header-h: 102px;
    /* topbar 38px + nav row 64px */
    --tm-shell-pad: clamp(1.35rem, 2.2vw, 2.8rem);
    --tm-ndt: #BF1E2E;
    --tm-red: #BF1E2E;
    /* --tm-red-dark: #8f1522; */
    --tm-red-dark: #9a0021;
    --tm-analytical: #0077bf;
    --tm-concrete: #009cad;
    --tm-ink: #1f1f1f;
    --tm-body: #5f6771;
    --tm-line: #e6e8ec;
    --tm-bg: #eef0f2;
    --tm-panel: #f1f3f5;
    --tm-blue: #1379c7;

    /* Bootstrap overrides */
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: #1f1f1f;
}

/* Extended spacing utilities (py-6 … py-10) */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.py-8 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.py-9 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

.py-10 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

.pt-6 {
    padding-top: 4rem !important;
}

.pt-7 {
    padding-top: 5rem !important;
}

.pt-8 {
    padding-top: 6rem !important;
}

.pt-9 {
    padding-top: 7rem !important;
}

.pt-10 {
    padding-top: 8rem !important;
}

.pb-6 {
    padding-bottom: 4rem !important;
}

.pb-7 {
    padding-bottom: 5rem !important;
}

.pb-8 {
    padding-bottom: 6rem !important;
}

.pb-9 {
    padding-bottom: 7rem !important;
}

.pb-10 {
    padding-bottom: 8rem !important;
}

body.tm-no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.tm-main-menu .nav-link,
.tm-category-title {
    font-family: var(--font-heading);
}

.tm-header {
    z-index: 1030;
    background-color: transparent;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.35s ease, box-shadow 0.35s ease;
}

/* When header is scrolled past the hero, restore solid bg */
.tm-header.is-scrolled {
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(17, 23, 34, 0.06);
}

/* Also go solid when a dropdown is open */
.tm-header:has(.dropdown-menu.show) {
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(17, 23, 34, 0.06);
}

.tm-header:has(.dropdown-menu.show) .tm-main-menu .nav-link {
    color: var(--tm-ink);
}



.tm-header:has(.dropdown-menu.show) .tm-search-icon-btn {
    color: #2f3742;
}

.tm-header:has(.dropdown-menu.show) .tm-lang-switch {
    background: var(--tm-line);
}

.tm-header:has(.dropdown-menu.show) .tm-lang-option {
    color: #8b929a;
}

.tm-header:has(.dropdown-menu.show) .tm-lang-option.is-active {
    background: #fff;
    color: var(--tm-red);
}

.tm-header--hidden {
    transform: translateY(-100%);
}

.tm-topbar .tm-lang-switch {
    background: rgba(255, 255, 255, 0.10);
}

.tm-topbar .tm-lang-option {
    width: 34px;
    height: 26px;
    font-size: 12px;
    border-radius: 6px;
}

.tm-header.is-scrolled .tm-topbar .tm-lang-option.is-active,
.tm-header:has(.dropdown-menu.show) .tm-topbar .tm-lang-option.is-active {
    background: #f0f0f0;
    color: var(--tm-red);
}

.tm-search-overlay .container-fluid {
    padding-left: var(--tm-shell-pad);
    padding-right: var(--tm-shell-pad);
}

/* ── Header Shell: outer container (boxed, no padding so logo is flush) ── */
.tm-header-shell {
    display: flex;
    align-items: stretch;
    padding: 0;

}

/* ── Right column: stacks topbar + nav ── */
.tm-header-cols {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Top bar ── */
.tm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--tm-shell-pad);
    width: 100%;
    height: 48px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    transition: border-color 0.35s ease;
}

.tm-topbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 100%;
    width: 100vw;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    pointer-events: none;
    transition: background-color 0.35s ease;
}

.tm-header.is-scrolled .tm-topbar {
    border-bottom-color: var(--tm-line);
}

.tm-header.is-scrolled .tm-topbar::after {
    background-color: var(--tm-line);
}

.tm-header:has(.dropdown-menu.show) .tm-topbar {
    border-bottom-color: var(--tm-line);
}

.tm-header:has(.dropdown-menu.show) .tm-topbar::after {
    background-color: var(--tm-line);
}

.tm-topbar-address {
    font-size: 0.70rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    transition: color 0.35s ease;
}

.tm-header.is-scrolled .tm-topbar-address,
.tm-header:has(.dropdown-menu.show) .tm-topbar-address {
    color: var(--tm-body);
}

.tm-topbar-address .bi {
    font-size: 0.75rem;
    color: var(--tm-red);
    flex-shrink: 0;
}

.tm-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    padding-left: 1.25rem;
}

.tm-topbar-social {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.tm-topbar-social:hover,
.tm-topbar-social:focus-visible {
    color: #fff;
}

.tm-header.is-scrolled .tm-topbar-social,
.tm-header:has(.dropdown-menu.show) .tm-topbar-social {
    color: #8b929a;
}

.tm-header.is-scrolled .tm-topbar-social:hover,
.tm-header:has(.dropdown-menu.show) .tm-topbar-social:hover {
    color: var(--tm-red);
}

/* ── Main nav row ── */
.tm-nav {
    flex: 1;
    min-height: 64px;
    padding: 0 var(--tm-shell-pad);
}

/* ── Logo box ── */
.tm-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 1.75rem;
    flex-shrink: 0;
    flex-basis: 13.375rem;
    width: 13.375rem;
    align-self: stretch;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

/* Desktop-only brand liquid-glass background with left bleed */
@media (min-width: 992px) {
    .tm-brand::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100vw;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-radius: 0 0 30px 0;
        border-right: 1px solid rgba(255, 255, 255, 0.35);
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
        pointer-events: none;
        z-index: -1;
        transform: translate3d(0, 0, 0);
        /* Bypass backdrop-filter clipping on parent border-radius */
        transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
    }

    .tm-header.is-scrolled .tm-brand::before,
    .tm-header:has(.dropdown-menu.show) .tm-brand::before {
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-color: transparent;
        box-shadow: none;
    }
}

.btn-danger {
    --bs-btn-bg: var(--tm-red);
    --bs-btn-border-color: var(--tm-red);
    --bs-btn-hover-bg: var(--tm-red-dark);
    --bs-btn-hover-border-color: var(--tm-red-dark);
    --bs-btn-active-bg: var(--tm-red-dark);
    --bs-btn-active-border-color: var(--tm-red-dark);
    --bs-btn-focus-shadow-rgb: 207, 32, 47;
    border: none;
    background: linear-gradient(to right, var(--tm-red-dark) 50%, var(--tm-red) 50%);
    background-size: 210% 100%;
    background-position: right center;
    transition: background-position 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover,
.btn-danger:focus-visible {
    background-position: left center;
}

.btn-danger:active {
    opacity: 0.9;
}

.tm-brand-logo {
    width: 158px;
    height: auto;
    display: block;
}

.tm-main-menu .nav-link {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 1.15rem 0.95rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}

.tm-header.is-scrolled .tm-main-menu .nav-link {
    color: var(--tm-ink);
}

.tm-main-menu .dropdown-toggle::after {
    display: none !important;
}

.tm-main-menu .nav-link::before {
    content: "";
    position: absolute;
    left: 0.78rem;
    right: 0.78rem;
    bottom: 0.55rem;
    height: 3px;
    border-radius: 1px;
    background: var(--tm-red);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tm-main-menu .nav-link:hover,
.tm-main-menu .nav-link:focus-visible,
.tm-main-menu .nav-link.active,
.tm-main-menu .nav-link.show,
.tm-main-menu .nav-item.show>.nav-link {
    color: var(--tm-red);
}

.tm-header:not(.is-scrolled) .tm-main-menu .nav-link.active {
    color: #fff;
}

.tm-header:not(.is-scrolled) .tm-main-menu .nav-link.active::before {
    background: #fff;
}

.tm-products-dropdown:hover>.nav-link {
    color: var(--tm-red);
}

.tm-products-dropdown:hover>.nav-link::before {
    opacity: 1;
    transform: scaleX(1);
}

/* .tm-main-menu .nav-link.active,
.tm-main-menu .nav-link.show,
.tm-main-menu .nav-item.show>.nav-link {
    /* no translateY — underline only /
} */

.tm-main-menu .nav-link.active::before,
.tm-main-menu .nav-link.show::before,
.tm-main-menu .nav-item.show>.nav-link::before,
.tm-main-menu .nav-link:hover::before,
.tm-main-menu .nav-link:focus-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.tm-action-btn {
    --bs-btn-border-radius: 10px;
    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 700;
    height: 44px;
    padding: 0 1.35rem;
    font-family: var(--font-heading);
    letter-spacing: 0.015em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Ghost (transparent) variant — used for Request Quote in hero state */
.tm-action-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.52);
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.tm-action-btn--ghost:hover,
.tm-action-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}

.tm-header.is-scrolled .tm-action-btn--ghost,
.tm-header:has(.dropdown-menu.show) .tm-action-btn--ghost {
    border-color: var(--tm-red);
    color: var(--tm-red);
}

.tm-header.is-scrolled .tm-action-btn--ghost:hover,
.tm-header.is-scrolled .tm-action-btn--ghost:focus-visible,
.tm-header:has(.dropdown-menu.show) .tm-action-btn--ghost:hover {
    background: var(--tm-red);
    border-color: var(--tm-red);
    color: #fff;
}

.tm-header-actions {
    gap: 0.6rem;
}

.tm-search-icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.25s ease;
}

.tm-header.is-scrolled .tm-search-icon-btn {
    color: #2f3742;
}

.tm-search-icon-btn:hover,
.tm-search-icon-btn:focus-visible {
    color: var(--tm-red);
}

.tm-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.2rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transition: background-color 0.25s ease;
}

.tm-header.is-scrolled .tm-lang-switch {
    background: var(--tm-line);
}

.tm-lang-option {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    width: 42px;
    height: 32px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tm-header.is-scrolled .tm-lang-option {
    color: #8b929a;
}

.tm-lang-option:hover,
.tm-lang-option:focus-visible {
    color: var(--tm-ink);
}

.tm-lang-option.is-active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.tm-header.is-scrolled .tm-lang-option.is-active {
    background: #fff;
    color: var(--tm-red);
}

.tm-mobile-menu-trigger {
    width: 44px;
    height: 44px;
    border-radius: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tm-header.is-scrolled .tm-mobile-menu-trigger {
    border: 1px solid var(--tm-line);
    background: #fff;
    color: #3b4047;
}

.tm-mobile-menu-trigger:hover,
.tm-mobile-menu-trigger:focus-visible,
.tm-mobile-menu-trigger.is-open {
    background: #fff;
    color: #1f1f1f;
    border-color: #cfd4da;
}

.tm-mobile-menu-trigger:focus {
    box-shadow: none;
    outline: none;
}

.tm-mobile-menu {
    position: fixed;
    top: var(--tm-mobile-top);
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 1025;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-108%);
    transition: transform 0.28s ease, opacity 0.22s ease;
}

.tm-mobile-menu.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.tm-mobile-menu-shell {
    height: 100%;
    background: #fff;
    box-shadow: 20px 0 30px rgba(17, 25, 39, 0.2);
    clip-path: inset(0 -40px 0 0);
    overflow: hidden;
    border-right: 1px solid #e8ebef;
    position: relative;
}

.tm-mobile-panel {
    position: absolute;
    inset: 0;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1;
}

.tm-mobile-panel.is-active {
    position: relative;
    transform: translateX(0);
    z-index: 0;
}

.tm-mobile-panel.is-open {
    transform: translateX(0);
}

.tm-mobile-back {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eceff3;
    background: #f8f9fa;
    color: var(--tm-red);
    text-align: left;
    padding: 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.04rem;
    font-weight: 600;
    cursor: pointer;
}

.tm-mobile-back:hover {
    background: #f1f3f5;
}

.tm-mobile-list {
    margin: 0;
}

.tm-mobile-list>li {
    border-bottom: 1px solid #eceff3;
}

.tm-mobile-list>li:first-child {
    border-top: 1px solid #eceff3;
}

.tm-mobile-item {
    position: relative;
    width: 100%;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: #3c4652;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.92rem 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.09rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}

.tm-mobile-item span {
    flex: 1;
    min-width: 0;
}

.tm-mobile-arrow {
    font-size: 0.85rem;
    color: #8b929a;
    flex-shrink: 0;
}

button.tm-mobile-item {
    cursor: pointer;
}

.tm-mobile-item:hover,
.tm-mobile-item:focus {
    color: var(--tm-red);
}

.tm-mega-menu {
    width: min(1140px, calc(100vw - 32px));
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border: 0;
    border-radius: 0 0 0.55rem 0.55rem;
    box-shadow: 0 20px 35px rgba(20, 31, 55, 0.15);
    padding: 2.25rem 1.75rem;
    margin-top: 0;
    max-height: 520px;
    overflow-y: auto;
    background-color: var(--tm-bg);
    background-image: url('../images/v4/megamenu-bg.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 55% auto;
    z-index: 1025;
}

.tm-dropdown {
    border: 0;
    border-radius: 0 0 0.55rem 0.55rem;
    box-shadow: 0 12px 28px rgba(20, 31, 55, 0.12);
    padding: 0.6rem 0;
    margin-top: 0;
    background: #fff;
    min-width: 200px;
}

.tm-dropdown .dropdown-item {
    padding: 0.5rem 1.25rem;
    font-size: 0.92rem;
    color: #36404d;
    transition: color 0.2s ease, background 0.2s ease;
}

.tm-dropdown .dropdown-item:hover,
.tm-dropdown .dropdown-item:focus {
    color: var(--tm-red);
    background: transparent;
}

.tm-product-card {
    background: #fff;
    border-radius: 0.65rem;
    border: 1px solid #e9edf2;
    padding: 1rem;
}

.tm-product-slide {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.tm-mega-product-swiper {
    border-radius: 0.65rem;
    overflow: hidden;
}

.tm-mega-product-swiper .swiper-slide,
.tm-mega-product-swiper .tm-product-card,
.tm-mega-product-swiper .tm-product-image {
    border-radius: 0;
}

.tm-product-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.tm-product-image {
    background: #1f2937;
    border-radius: 0.5rem;
    height: 405px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    font-size: 0.9rem;
    overflow: hidden;
}

.tm-product-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 18, 30, 0.84) 0%, rgba(11, 18, 30, 0.08) 56%);
}

.tm-product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 52%);
}

.tm-product-image-01 {
    background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center center;
}

.tm-product-image-02 {
    background-image: url("https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center center;
}

.tm-product-image-03 {
    background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1200&q=80");
    background-size: cover;
    background-position: center center;
}

.tm-product-overlay {
    position: relative;
    z-index: 2;
    padding: 1.2rem 1.2rem 1.05rem;
}

.tm-badge {
    --bs-badge-padding-x: 0.55rem;
    --bs-badge-padding-y: 0;
    --bs-badge-font-size: 0.68rem;
    --bs-badge-border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    height: 24px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--tm-red);
}

.tm-badge--ndt {
    background: var(--tm-ndt);
}

.tm-badge--analytical {
    background: var(--tm-analytical);
}

.tm-badge--concrete {
    background: var(--tm-concrete);
}

.tm-product-title {
    font-size: 1.25rem;
    margin: 0.8rem 0 0.45rem;
    font-weight: 700;
    color: #fff;
}

.tm-product-text {
    font-size: 0.92rem;
    color: #dbe2ea;
    margin-bottom: 0;
}

.tm-mega-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.22);
    z-index: 3;
    overflow: hidden;
}

.tm-mega-progress-fill {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--tm-ndt);
    transform-origin: left center;
    transform: scaleX(0);
}

.tm-product-slide--ndt .tm-mega-progress-fill {
    background: var(--tm-ndt);
}

.tm-product-slide--analytical .tm-mega-progress-fill {
    background: var(--tm-analytical);
}

.tm-product-slide--concrete .tm-mega-progress-fill {
    background: var(--tm-concrete);
}

.tm-category-col {
    /* border-left: 1px solid #d7dde5; */
    padding-left: 2rem;
    min-height: 280px;
}

.tm-category-title {
    font-size: 0.85rem;
    color: #18212e;
    letter-spacing: 0.02em;
    font-weight: 700;
    margin-bottom: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
}



.tm-dot-list li {
    margin-bottom: 0.8rem;
}

.tm-dot-list a {
    color: #36404d;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.tm-dot-list a::before {
    content: none;
}

.tm-dot-list a:hover {
    color: var(--tm-red);
}

.tm-search-overlay {
    position: fixed;
    inset: 112px 0 auto 0;
    z-index: 1020;
    border-top: 1px solid var(--tm-line);
    background: #fff;
    box-shadow: 0 18px 36px rgba(16, 24, 40, 0.12);
    padding: 1.75rem 0 2rem;
    min-height: 520px;
    max-height: min(680px, calc(100vh - var(--tm-header-h)));
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, inset 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-search-overlay.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 992px) {
    .tm-header.is-scrolled .tm-search-overlay {
        inset: 65px 0 auto 0;
    }
}

.tm-search-overlay h3 {
    letter-spacing: 0.08em;
}

.tm-search-field {
    border: 0;
    border-bottom: 2px solid #adb5bd;
    background: transparent;
    width: 100%;
    padding: 0.5rem 2rem 0.5rem 0;
    font-size: 1.05rem;
    color: var(--tm-ink);
    outline: 0;
    transition: border-color 0.2s ease;
}

.tm-search-field:focus {
    border-color: rgba(207, 32, 47, 0.45);
}

.tm-search-field::placeholder {
    color: #9ca3af;
    font-size: 1.05rem;
}

.tm-search-submit {
    position: absolute;
    right: 0;
    top: 0.45rem;
    border: 0;
    background: transparent;
    color: var(--tm-ink);
    font-size: 1.15rem;
    line-height: 1;
}

.tm-search-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--tm-line);
    border-radius: 2rem;
    color: var(--tm-ink);
    text-decoration: none;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tm-search-tag:hover {
    border-color: var(--tm-red);
    color: var(--tm-red);
    background: rgba(207, 32, 47, 0.04);
}

/* Search result list */
.tm-search-result-list {
    border-top: 1px solid var(--tm-line);
}

.tm-search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--tm-line);
    text-decoration: none;
    color: var(--tm-ink);
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.tm-search-result-item:hover {
    color: var(--tm-red);
}

.tm-search-result-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-search-result-pill {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tm-search-result-pill--product {
    background: rgba(191, 30, 46, 0.1);
    color: var(--tm-ndt);
}

.tm-search-result-pill--category {
    background: rgba(0, 119, 191, 0.1);
    color: var(--tm-analytical);
}

.tm-search-result-pill--article {
    background: rgba(0, 156, 173, 0.1);
    color: var(--tm-concrete);
}

.tm-search-product-card {
    display: block;
    text-decoration: none;
    color: var(--tm-ink);
    border: 1px solid var(--tm-line);
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tm-search-product-card:hover {
    border-color: #cfd4da;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: var(--tm-ink);
}

.tm-search-product-img {
    height: 100px;
    border-radius: 0.35rem;
    margin-bottom: 0.6rem;
}

.tm-search-product-swiper {
    overflow: hidden;
    border-radius: 0.65rem;
}

.tm-search-product-swiper .tm-product-image {
    aspect-ratio: 3 / 4;
    height: auto;
}

.tm-search-product-swiper .tm-product-image::before {
    background: linear-gradient(0deg, rgba(11, 18, 30, 0.82) 0%, rgba(11, 18, 30, 0.18) 50%, rgba(11, 18, 30, 0.06) 100%);
}

.tm-search-product-swiper .tm-product-overlay {
    transition: transform 0.35s ease;
}

.tm-search-product-swiper .tm-product-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
    margin-bottom: 0;
}

.tm-search-product-swiper .tm-product-card-link:hover .tm-product-image::before,
.tm-search-product-swiper .tm-product-card-link:focus-visible .tm-product-image::before {
    transform: scale(1.03);
}

.tm-search-product-swiper .tm-product-card-link:hover .tm-product-text,
.tm-search-product-swiper .tm-product-card-link:focus-visible .tm-product-text {
    max-height: 6rem;
    opacity: 1;
    transform: translateY(0);
}

.tm-search-product-swiper .tm-product-card-link:hover .tm-product-title,
.tm-search-product-swiper .tm-product-card-link:focus-visible .tm-product-title {
    transform: translateY(-4px);
}

.tm-search-product-swiper .tm-product-title {
    transition: transform 0.35s ease;
}

.tm-search-swiper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.tm-search-swiper-prev,
.tm-search-swiper-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #9ca3af;
    background: #fff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.tm-search-swiper-prev:hover,
.tm-search-swiper-next:hover {
    border-color: var(--tm-ink);
    color: var(--tm-ink);
}

.tm-search-swiper-prev.swiper-button-disabled,
.tm-search-swiper-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.tm-hero-slider {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(16, 24, 40, 0.12);
    background: #101923;
}

/* Vanta hero variant wrapper */
.tm-hero-vanta {
    position: relative;
}

.tm-hero-vanta>canvas,
.tm-hero-vanta>div[class*="vanta-canvas"] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
}

.tm-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.tm-hero-slide-item--static {
    position: relative;
    z-index: 2;
    background-image: linear-gradient(120deg, rgba(7, 13, 24, 0.55) 10%, rgba(11, 25, 45, 0.18) 70%);
}

.tm-hero-slide-item {
    min-height: clamp(300px, 38vw, 460px);
    padding: clamp(1.25rem, 2.3vw, 2.8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(120deg, rgba(7, 13, 24, 0.72) 18%, rgba(11, 25, 45, 0.3) 66%), radial-gradient(circle at 80% 25%, rgba(207, 32, 47, 0.38), rgba(207, 32, 47, 0));
    color: #fff;
}

.tm-hero-slide-item span {
    letter-spacing: 0.1em;
}

.tm-hero-slide-item p {
    max-width: 640px;
}

.tm-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 5;
}

.tm-hero-prev,
.tm-hero-next {
    position: static;
    margin: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 17, 30, 0.42);
}

.tm-hero-prev::after,
.tm-hero-next::after {
    font-size: 0.85rem;
    font-weight: 700;
}

.tm-hero-pagination {
    position: static;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tm-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.tm-hero-pagination .swiper-pagination-bullet-active {
    background: var(--tm-red);
}

.tm-section-head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.tm-section-head__text {
    flex: 1;
    min-width: 0;
}

.tm-section-head--accent {
    padding-left: 1.3rem;
}

.tm-section-head--accent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 3px;
    height: 100%;
    border-radius: 3px;
    background: var(--tm-red);
}

.tm-app-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.85rem;
}

.tm-app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-bg);
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

.tm-app-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 16, 25, 0.72) 0%, rgba(10, 16, 25, 0.14) 55%, transparent 100%);
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
    z-index: 1;
    transition: backdrop-filter 0.22s ease, -webkit-backdrop-filter 0.22s ease, background 0.22s ease;
}

.tm-app-card span {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    line-height: 1.2;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.tm-app-card small {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-top: 0.6rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
}

.tm-app-card:hover span,
.tm-app-card:focus-visible span {
    transform: translateY(-4px);
}

.tm-app-card:hover small,
.tm-app-card:focus-visible small {
    max-height: 5rem;
    opacity: 1;
    transform: translateY(0);
}

.tm-app-card:hover,
.tm-app-card:focus-visible {
    color: #fff;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.35);
}

.tm-app-card:hover::after,
.tm-app-card:focus-visible::after {
    background: rgba(8, 14, 24, 0.46);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
}

.tm-app-card--wide {
    aspect-ratio: auto;
    height: 100%;
}

@media (min-width: 992px) {
    .tm-main-menu {
        column-gap: 0.55rem;
    }

    .tm-products-dropdown:hover>.dropdown-menu,
    .tm-products-dropdown .dropdown-menu:hover {
        display: block;
    }

    .tm-corporate-dropdown:hover>.dropdown-menu,
    .tm-corporate-dropdown .dropdown-menu:hover {
        display: block;
    }
}

@media (max-width: 991.98px) {

    main {
        padding-top: var(--tm-mobile-top) !important;
    }

    .tm-search-overlay .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tm-header-shell {
        padding: 0;
    }

    .tm-header {
        background-color: #fff !important;
        box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08) !important;
    }

    .tm-mobile-menu-trigger {
        border: 1px solid var(--tm-line) !important;
        background: #fff !important;
        color: #3b4047 !important;
    }

    .tm-topbar {
        display: none;
        /* hide topbar on mobile — only main nav row shows */
    }

    .tm-nav {
        min-height: var(--tm-mobile-top);
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tm-brand {
        padding: 0 1.1rem;
        width: auto !important;
        flex-basis: auto !important;
        justify-content: flex-start !important;
    }

    .tm-lang-switch {
        background: var(--tm-line) !important;
    }

    .tm-lang-option {
        color: #8b929a !important;
    }

    .tm-lang-option.is-active {
        background: #fff !important;
        color: var(--tm-red) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    }

    .tm-brand-logo {
        width: 100px;
    }

    .tm-header-actions {
        gap: 1.25rem;
    }

    .tm-search-icon-btn {
        color: #2f3742 !important;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
    }

    .tm-lang-switch {
        padding: 0.3rem;
        border-radius: 10px;
    }

    .tm-lang-option {
        width: 42px;
        height: 34px;
        border-radius: 8px;
        font-size: 15px;
    }

    .tm-main-menu .nav-link {
        padding: 0.75rem 0;
    }

    .tm-main-menu .nav-link.active::after,
    .tm-main-menu .nav-link:hover::after {
        left: 0;
        right: auto;
        width: 70px;
        bottom: 0.35rem;
    }

    .tm-mega-menu {
        position: static !important;
        width: 100%;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none;
        border-radius: 0.55rem;
        margin-top: 0.4rem;
    }

    .tm-product-image {
        height: 320px;
    }

    .tm-category-col {
        border-left: 0;
        border-top: 1px solid #d7dde5;
        padding-left: 0;
        padding-top: 1.2rem;
        min-height: auto;
    }

    .tm-search-overlay {
        inset: var(--tm-mobile-top) 0 0 0;
        max-height: none;
        padding: 1.2rem 0 1.5rem;
    }

    .tm-search-field,
    .tm-search-field::placeholder {
        font-size: 1rem;
    }

    .tm-search-submit {
        top: 0.4rem;
        font-size: 1rem;
    }

    .tm-hero-slide-item {
        min-height: 290px;
    }

    .tm-hero-controls {
        bottom: 0.8rem;
        gap: 0.75rem;
    }

    .tm-hero-prev,
    .tm-hero-next {
        width: 32px;
        height: 32px;
    }

    .tm-hero-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .tm-app-card {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 575.98px) {
    .tm-app-card--wide {
        aspect-ratio: 1 / 1;
    }
}

/* ========================================
   Product Categories (Core Technologies)
   ======================================== */

.tm-tech-tabs {
    background: var(--tm-bg);
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0.2rem;
}

.tm-tech-tabs .nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--tm-body);
    border-radius: 0.4rem;
    padding: 0.45rem 1.1rem;
    border: none;
    transition: all 0.2s ease;
}

.tm-tech-tabs .nav-link:hover {
    color: var(--tm-ink);
}

.tm-tech-tabs .nav-link.active {
    background: #fff;
    color: var(--tm-red);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- Standard Card --- */
.tm-pcat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tm-line);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tm-pcat-card:hover {
    border-color: transparent;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    color: inherit;
}

/* Image area */
.tm-pcat-img {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tm-bg);
    position: relative;
}

.tm-pcat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tm-pcat-card:hover .tm-pcat-img img {
    transform: scale(1.05);
}

/* Body */
.tm-pcat-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.25rem 1.25rem;
}

.tm-pcat-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--tm-ink);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Colored accent bar under title */
.tm-pcat-accent {
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--tm-red);
    margin-bottom: 0.75rem;
}

.tm-pcat-accent--ndt {
    background: var(--tm-ndt);
}

.tm-pcat-accent--analytical {
    background: var(--tm-analytical);
}

.tm-pcat-accent--concrete {
    background: var(--tm-concrete);
}

/* Sub-product list */
.tm-pcat-subs {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    flex: 1;
}

.tm-pcat-subs li {
    font-size: 0.84rem;
    color: var(--tm-body);
    padding: 0.2rem 0;
    padding-left: 0.9rem;
    position: relative;
}

.tm-pcat-subs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--tm-line);
}

/* CTA link */
.tm-pcat-cta {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--tm-red);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}

.tm-pcat-card:hover .tm-pcat-cta {
    gap: 0.55rem;
}

.tm-pcat-cta--ndt {
    color: var(--tm-ndt);
}

.tm-pcat-cta--analytical {
    color: var(--tm-analytical);
}

.tm-pcat-cta--concrete {
    color: var(--tm-concrete);
}

/* --- Featured Card (center highlight) --- */
.tm-pcat-card--featured {
    border: none;
    color: #fff;
    position: relative;
}

.tm-pcat-card--featured-ndt {
    background: linear-gradient(135deg, var(--tm-ndt) 0%, #d93442 100%);
}

.tm-pcat-card--featured-analytical {
    background: linear-gradient(135deg, #005a8e 0%, var(--tm-analytical) 100%);
}

.tm-pcat-card--featured-concrete {
    background: linear-gradient(135deg, #007a87 0%, var(--tm-concrete) 100%);
}

.tm-pcat-card--featured:hover {
    border-color: transparent;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.tm-pcat-featured-img {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.tm-pcat-featured-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s ease;
}

.tm-pcat-card--featured:hover .tm-pcat-featured-img img {
    transform: scale(1.05);
}

.tm-pcat-featured-body {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tm-pcat-featured-body .tm-pcat-title {
    color: #fff;
    font-size: 1.15rem;
}

.tm-pcat-desc {
    font-size: 0.86rem;
    opacity: 0.85;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.tm-pcat-featured-body .tm-pcat-cta {
    color: rgba(255, 255, 255, 0.9);
}

.tm-pcat-card--featured:hover .tm-pcat-cta {
    color: #fff;
}

/* --- Compact Card (side stack) --- */
.tm-pcat-card--compact {
    flex-direction: row;
    align-items: stretch;
}

.tm-pcat-compact-img {
    width: 120px;
    min-height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tm-bg);
}

.tm-pcat-compact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tm-pcat-card--compact:hover .tm-pcat-compact-img img {
    transform: scale(1.05);
}

.tm-pcat-card--compact .tm-pcat-body {
    padding: 1rem 1.15rem;
}

.tm-pcat-card--compact .tm-pcat-title {
    font-size: 0.92rem;
}

.tm-pcat-card--compact .tm-pcat-subs li {
    font-size: 0.8rem;
    padding: 0.12rem 0 0.12rem 0.9rem;
}

@media (max-width: 991.98px) {
    .tm-tech-tabs {
        justify-content: center;
    }

    .tm-pcat-card--compact {
        flex-direction: column;
    }

    .tm-pcat-compact-img {
        width: 100%;
        height: 140px;
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .tm-tech-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .tm-pcat-img {
        height: 150px;
    }
}

/* ========================================
   Custom Engineering CTA Banner
   ======================================== */

.tm-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.tm-cta-text {
    max-width: 520px;
}

.tm-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--tm-ink);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.tm-cta-desc {
    font-size: 0.92rem;
    color: var(--tm-body);
    line-height: 1.6;
    margin-bottom: 0;
}

.tm-cta-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tm-cta-outline-btn {
    background: #fff;
    border: 1.5px solid var(--tm-line);
    color: var(--tm-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.015em;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tm-cta-outline-btn:hover {
    border-color: var(--tm-ink);
    color: var(--tm-ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767.98px) {
    .tm-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ========================================
   Sales Support CTA Hero Section
   ======================================== */

.tm-cta-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.tm-cta-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tm-cta-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tm-cta-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg,
            rgba(8, 12, 20, 0.92) 0%,
            rgba(8, 12, 20, 0.78) 40%,
            rgba(8, 12, 20, 0.35) 75%,
            rgba(8, 12, 20, 0.18) 100%);
}

.tm-cta-hero-content {
    position: relative;
    z-index: 2;
}

.tm-cta-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-bottom: 1.25rem;
}

.tm-cta-hero-label::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: var(--tm-red);
    flex-shrink: 0;
}

.tm-cta-hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.tm-cta-hero-desc {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2rem;
}

.tm-cta-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 767.98px) {
    .tm-cta-hero {
        padding: 3rem 0;
    }

    .tm-cta-hero-heading {
        font-size: 1.75rem;
    }

    .tm-cta-hero-overlay {
        background:
            linear-gradient(105deg,
                rgba(8, 12, 20, 0.92) 0%,
                rgba(8, 12, 20, 0.82) 60%,
                rgba(8, 12, 20, 0.55) 100%);
    }

    .tm-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .tm-section-head .tm-show-all-link {
        align-self: center;
        margin-top: 0.5rem;
    }

    .tm-section-head--accent {
        padding-left: 0;
    }

    .tm-section-head--accent::before {
        display: none;
    }

    .tm-section-head--accent .tm-section-head__text {
        position: relative;
        padding-left: 1.3rem;
    }

    .tm-section-head--accent .tm-section-head__text::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.15rem;
        width: 3px;
        height: 100%;
        border-radius: 3px;
        background: var(--tm-red);
    }
}

/* ========================================
   Show All Link
   ======================================== */

.tm-show-all-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--tm-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.tm-show-all-link:hover {
    color: var(--tm-red-dark);
    gap: 0.55rem;
}

/* ========================================
   Application Fields V2 – Dark variant
   ======================================== */

.tm-panorama-alt--dark {
    background-color: #0d1520;
    /* Subtle circuit-dot pattern overlay */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    position: relative;
}

/* Section header text overrides */
.tm-panorama-alt--dark .tm-section-head--accent::before {
    background: var(--tm-red);
}

.tm-panorama-alt--dark .tm-section-head h2 {
    color: #fff;
}

.tm-panorama-alt--dark .tm-section-head p {
    color: rgba(255, 255, 255, 0.55) !important;
}

.tm-panorama-alt--dark .tm-show-all-link {
    color: rgba(255, 255, 255, 0.65);
}

.tm-panorama-alt--dark .tm-show-all-link:hover {
    color: #fff;
}

/* ========================================
   Utility: text-red
   ======================================== */

.text-red {
    color: var(--tm-red);
}

/* ========================================
   Precision Engineered Sectors
   ======================================== */

.tm-sectors-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tm-ink);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.tm-sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 1rem;
    overflow: hidden;
    height: 600px;
}

.tm-sector-panel {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
}

.tm-sector-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.tm-sector-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tm-sector-panel:hover .tm-sector-bg img {
    transform: scale(1.07);
}

/* Color overlays per division */
.tm-sector-panel--ndt::after,
.tm-sector-panel--analytical::after,
.tm-sector-panel--concrete::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.tm-sector-panel--ndt::after {
    background: linear-gradient(180deg, rgba(191, 30, 46, 0.15) 0%, rgba(191, 30, 46, 0.75) 100%);
}

.tm-sector-panel--analytical::after {
    background: linear-gradient(180deg, rgba(51, 122, 183, 0.15) 0%, rgba(51, 122, 183, 0.78) 100%);
}

.tm-sector-panel--concrete::after {
    background: linear-gradient(180deg, rgba(0, 156, 173, 0.15) 0%, rgba(0, 156, 173, 0.78) 100%);
}

.tm-sector-panel:hover::after {
    opacity: 0.85;
}

.tm-sector-body {
    position: relative;
    z-index: 2;
    padding: 1.75rem 2rem 2rem;
    width: 100%;
}

.tm-sector-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.tm-sector-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.2s ease, color 0.2s ease;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease, gap 0.2s ease;
}

.tm-sector-panel:hover .tm-sector-cta {
    opacity: 1;
    transform: translateY(0);
    gap: 0.55rem;
    color: #fff;
}

@media (max-width: 767.98px) {
    .tm-sectors-grid {
        grid-template-columns: 1fr;
        height: auto;
        border-radius: 0.75rem;
    }

    .tm-sector-panel {
        height: 180px;
    }

    .tm-sector-cta {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Knowledge Hub — Article Cards
   ======================================== */

.tm-article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--tm-line);
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tm-article-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
    color: inherit;
}

.tm-article-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--bg-lightgray, #f4f4f4);
}

.tm-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tm-article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1rem;
}

.tm-article-cat {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-bottom: 0.55rem;
    display: block;
}

.tm-article-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tm-ink);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.tm-article-excerpt {
    font-size: 0.88rem;
    color: var(--tm-body);
    line-height: 1.55;
    margin-bottom: 0;
    flex: 1;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tm-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
}

.tm-article-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.tm-article-footer>i {
    font-size: 1rem;
    color: #c8cdd4;
}

/* ========================================
   Footer
   ======================================== */
.tm-footer {
    position: relative;
    overflow: hidden;
}

.tm-footer .container-fluid {
    padding-left: var(--tm-shell-pad);
    padding-right: var(--tm-shell-pad);
}

/* --- Top Footer --- */
.tm-footer-top {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    overflow: hidden;
}

/* Brand column */
.tm-footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tm-footer-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.tm-footer-contact {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--tm-body);
    line-height: 1.55;
    margin-bottom: 0;
}

.tm-footer-contact p {
    margin-bottom: 0.75rem;
}

.tm-footer-contact p.tm-footer-address {
    margin-bottom: 1.75rem;
}

.tm-footer-contact p:last-child {
    margin-bottom: 0;
}

.tm-footer-contact a {
    color: var(--tm-body);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tm-footer-contact a:hover {
    color: var(--tm-red);
}

/* Social icons */
.tm-footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.tm-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--tm-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.tm-footer-social a:hover {
    background: #8b929a;
    color: #fff;
}

/* Link columns */
.tm-footer-heading {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-bottom: 1rem;
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    width: 100%;
    text-align: left;
}

.tm-footer-chevron {
    display: none;
}

.tm-footer-links {
    margin-bottom: 0;
}

.tm-footer-links li {
    margin-bottom: 0.55rem;
}

.tm-footer-links li:last-child {
    margin-bottom: 0;
}

.tm-footer-links a {
    color: var(--tm-body);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.tm-footer-links a:hover {
    color: var(--tm-ink);
    padding-left: 4px;
}

/* Watermark logo */
.tm-footer-watermark {
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 1200px;
    height: auto;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.tm-footer-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
}

/* --- Divider --- */
.tm-footer-divider {
    border: none;
    border-top: 1px solid var(--tm-line);
    margin: 0;
    opacity: 1;
}

/* --- Bottom Footer --- */
.tm-footer-bottom {
    padding: 1.25rem 0;
}

@media (max-width: 767.98px) {
    .tm-footer-bottom {
        padding: 1rem 0 1.25rem;
    }
}

.tm-footer-copy {
    font-size: 0.82rem;
    color: #9ca3af;
}

.tm-footer-legal {
    display: flex;
    gap: 2.5rem;
}

.tm-footer-legal a {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tm-footer-legal a:hover {
    color: var(--tm-ink);
}

/* ============================================================
   Footer – Dark variant
   ============================================================ */

.tm-footer--dark {
    background-color: #0a0e14;
    color: rgba(255, 255, 255, 0.7);
}

/* Divider */
.tm-footer--dark .tm-footer-divider {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Address & contact text */
.tm-footer--dark .tm-footer-contact {
    color: rgba(255, 255, 255, 0.55);
}

.tm-footer--dark .tm-footer-contact a {
    color: rgba(255, 255, 255, 0.55);
}

.tm-footer--dark .tm-footer-contact a:hover {
    color: #fff;
}

/* Social icons – inherits red base from global rule; grey on hover */
.tm-footer--dark .tm-footer-social a:hover {
    background: #5a6370;
    color: #fff;
}

/* Column headings */
.tm-footer--dark .tm-footer-heading {
    color: var(--tm-red);
}

/* Accordion chevron (mobile) */
.tm-footer--dark .tm-footer-chevron {
    color: rgba(255, 255, 255, 0.45);
}

/* Nav links */
.tm-footer--dark .tm-footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

.tm-footer--dark .tm-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Bottom bar */
.tm-footer--dark .tm-footer-copy {
    color: rgba(255, 255, 255, 0.35);
}

.tm-footer--dark .tm-footer-legal a {
    color: rgba(255, 255, 255, 0.35);
}

.tm-footer--dark .tm-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Watermark – slightly brighter against dark bg */
.tm-footer--dark .tm-footer-watermark {
    opacity: 0.035;
}

/* ============================================================
   Hero – Split Layout  (Ripple Canvas BG)
   ============================================================ */

/* Container – inherits sizing + border-radius from .tm-hero-slider */
.tm-hero-split {
    height: 80vh;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Kırmızı radial gradient overlay – heroRipple ile aynı tat */
/* Video background for the hero banner */
.tm-hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Dark base overlay — ensures text readability over the video */
.tm-hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 22, 0.52);
    z-index: 1;
    pointer-events: none;
}

/* Red accent gradient overlay — sits above the dark overlay */
.tm-hero-split::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 28%,
            rgba(207, 32, 47, 0.36) 0%,
            transparent 54%);
    pointer-events: none;
    z-index: 2;
}

/* Swiper sits above all overlays */
.tm-split-swiper {
    position: relative;
    z-index: 3;
}

/* Swiper & wrapper fill the container */
.tm-split-swiper,
.tm-split-swiper .swiper-wrapper,
.tm-split-slide {
    height: 100%;
}

/* The Bootstrap row inside each slide must also fill height */
.tm-split-slide>.row {
    height: 100%;
    min-height: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Left column – text ── */
.tm-split-left {
    display: flex;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 3.5rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3vw, 3.5rem) clamp(1.5rem, 4vw, 4.5rem);
}

.tm-split-content-wrap {
    display: flex;
    flex-direction: column;
    max-width: 540px;
    position: relative;
    z-index: 2;
}

/* Category label badge */
.tm-split-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(207, 32, 47, 0.88);
    border-radius: 4px;
    padding: 0.28rem 0.7rem;
    margin-bottom: 1rem;
    width: fit-content;
}

/* Main heading */
.tm-split-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tm-split-heading-accent {
    color: var(--tm-red);
}

/* Description */
.tm-split-desc {
    font-size: clamp(0.87rem, 1.1vw, 1rem);
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.65;
    margin-bottom: 1.6rem;
    max-width: 420px;
}

/* CTA buttons row */
.tm-split-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.tm-split-btn-primary {
    font-weight: 600;
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
}

.tm-split-btn-ghost {
    font-weight: 600;
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
    color: rgba(255, 255, 255, 0.82);
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.25s, color 0.25s;
}

.tm-split-btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.90);
    transform: translateX(-102%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.tm-split-btn-ghost:hover,
.tm-split-btn-ghost:focus-visible {
    border-color: rgba(255, 255, 255, 0.60);
    color: #0f1823;
}

.tm-split-btn-ghost:hover::before,
.tm-split-btn-ghost:focus-visible::before {
    transform: translateX(0);
}

/* ── Right column – image ── */
.tm-split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 2;
}

/* Subtle red glow behind the card – şimdi daha güçlü overlay ile destekleniyor */
.tm-split-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 55% 50%,
            rgba(207, 32, 47, 0.08) 0%,
            transparent 66%);
    pointer-events: none;
}

.tm-split-img-wrap {
    width: 100%;
}

.tm-split-img-card {
    min-height: 40vh;
    position: relative;
    border-radius: 6px;
    overflow: hidden;

}

.tm-split-img {
    display: block;
    width: 100%;
    height: clamp(280px, 34vw, 500px);
    object-fit: cover;
}

/* Product badge at the bottom of the card */
.tm-split-badge {

    position: absolute;
    top: 1rem;
    right: 1rem;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    border: none;
    border-left: 3px solid var(--tm-red);
}

.tm-split-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.tm-split-badge-sup {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--tm-red);
}

.tm-split-badge-name {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #15202e;
    line-height: 1.2;
}

/* ── Navigation controls ── */
.tm-split-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.tm-split-prev,
.tm-split-next {
    position: static;
    width: 32px;
    height: 32px;
    margin: 0;
    margin-top: 0 !important;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 17, 30, 0.48);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.tm-split-prev svg,
.tm-split-next svg {
    width: 14px;
    height: 14px;
}

.tm-split-prev::after,
.tm-split-next::after {
    font-size: 0.6rem;
    font-weight: 700;
}

.tm-split-prev:hover,
.tm-split-next:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(8, 17, 30, 0.72);
}

.tm-split-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 17, 30, 0.48);
    color: #fff;
    backdrop-filter: blur(6px);
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    padding: 0;
    line-height: 1;
}

.tm-split-play:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(8, 17, 30, 0.72);
}

.tm-split-play.is-paused {
    border-color: rgba(207, 32, 47, 0.72);
    background: rgba(207, 32, 47, 0.18);
}

.tm-split-play.is-paused:hover {
    background: rgba(207, 32, 47, 0.32);
}

.tm-split-pagination {
    position: static;
    width: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tm-split-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.42);
    opacity: 1;
    transition: transform 0.25s, background 0.25s;
}

.tm-split-pagination .swiper-pagination-bullet-active {
    background: var(--tm-red);
    transform: scale(1.35);
}

/* ──────────────────────────────────────────────────────────
   Slide entry animations
   JS, fade geçişi bitince .tm-slide-anim sınıfını ekler.
   Bu sınıf yokken (slide aktif değilken) elemanlar gizlidir.
   ────────────────────────────────────────────────────────── */

/* Default (hidden) state for animated elements */
.tm-split-slide .tm-split-label,
.tm-split-slide .tm-split-heading,
.tm-split-slide .tm-split-desc,
.tm-split-slide .tm-split-actions {
    opacity: 0;
    transform: translateY(22px);
}

.tm-split-slide .tm-split-img-wrap {
    opacity: 0;
    transform: translateX(52px);
}

/* Staggered text elements – slide up */
.tm-split-slide.tm-slide-anim .tm-split-label {
    animation: tmSplitUp 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.00s both;
}

.tm-split-slide.tm-slide-anim .tm-split-heading {
    animation: tmSplitUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.11s both;
}

.tm-split-slide.tm-slide-anim .tm-split-desc {
    animation: tmSplitUp 0.60s cubic-bezier(0.22, 1, 0.36, 1) 0.23s both;
}

.tm-split-slide.tm-slide-anim .tm-split-actions {
    animation: tmSplitUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Image – slide in from right */
.tm-split-slide.tm-slide-anim .tm-split-img-wrap {
    animation: tmSplitFromRight 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.07s both;
}

@keyframes tmSplitUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tmSplitFromRight {
    from {
        opacity: 0;
        transform: translateX(52px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Responsive ── */
@media (max-width: 991.98px) {

    /* Viewport yüksekliğini doldur; eski cihazlar için min-height güvence */
    .tm-hero-split {
        height: 100vh;
        height: 100svh;
        min-height: 600px;
    }

    /* Kolonları dikey yığ: metin doğal boyutunu alır, görsel kalanı doldurur */
    .tm-split-slide>.row {
        flex-direction: column;
    }

    .tm-split-left {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: calc(var(--tm-mobile-top, 82px) + 1rem) 1.5rem 1.25rem;
        align-items: flex-start;
    }

    .tm-split-right {
        flex: 1 1 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 0;
        padding: 0.75rem 2.5rem 4.5rem;
        align-items: center;
        justify-content: center;
    }

    .tm-split-img-wrap {
        width: 100%;
        height: 100%;
        max-height: 320px;
        margin: 0 auto;
    }

    .tm-split-img-card {
        width: 70vw;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-split-img {
        height: 100%;
    }

}


@media (max-width: 575.98px) {
    .tm-hero-split {
        height: 100vh;
        height: 100svh;
        min-height: 560px;
    }

    .tm-split-left {
        padding: calc(var(--tm-mobile-top, 82px) + 0.5rem) 1.25rem 1rem;
    }

    .tm-split-right {
        padding: 0 1.5rem 4.5rem;
    }

    .tm-split-heading {
        font-size: 1.85rem;
    }
}

/* Yatay telefon (landscape) – çok uzamasın */
@media (max-width: 991.98px) and (max-height: 500px) {
    .tm-hero-split {
        height: auto;
        min-height: 480px;
    }

    .tm-split-right {
        flex: 0 0 200px !important;
    }
}

/* --- Footer Mobile Accordion --- */
@media (max-width: 991.98px) {
    .tm-footer-top {
        padding: 2.5rem 0 1.5rem;
    }

    .tm-footer-brand-col {
        margin-bottom: 1rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--tm-line);
    }

    .tm-footer-heading {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0;
        padding: 0.65rem 0;
        font-size: 0.82rem;
    }

    .tm-footer-chevron {
        display: inline-block;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .tm-footer-heading[aria-expanded="true"] .tm-footer-chevron {
        transform: rotate(180deg);
    }

    .tm-footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding-top: 0;
        padding-bottom: 0;
    }

    .tm-footer-links.is-open {
        max-height: 400px;
        padding-top: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .tm-footer-links-col {
        min-width: 100%;
    }

    .tm-footer-watermark {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tm-footer-bottom .d-flex {
        text-align: center;
    }

    .tm-footer-legal {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   About Us – Hero Banner
   ======================================== */

.tm-about-hero {
    position: relative;
    min-height: clamp(420px, 52vw, 620px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tm-about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tm-about-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.tm-about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg,
            rgba(7, 10, 18, 0.82) 0%,
            rgba(7, 10, 18, 0.62) 40%,
            rgba(7, 10, 18, 0.18) 75%,
            transparent 100%),
        linear-gradient(0deg,
            rgba(7, 10, 18, 0.32) 0%,
            transparent 40%);
}

.tm-about-hero .container-fluid {
    padding-left: var(--tm-shell-pad);
    padding-right: var(--tm-shell-pad);
}

.tm-about-hero__badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fff;
    background: var(--tm-red);
    border-radius: 4px;
    padding: 0.30rem 0.75rem;
    margin-bottom: 1.25rem;
}

.tm-about-hero__heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
    color: #fff;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.tm-about-hero__heading-accent {
    color: var(--tm-red);
}

.tm-about-hero__desc {
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .tm-about-hero {
        min-height: 380px;
    }
}

@media (max-width: 575.98px) {
    .tm-about-hero {
        min-height: 340px;
    }

    .tm-about-hero__heading {
        font-size: 2.2rem;
    }
}

/* ========================================
   About Us – The Troy-Met Legacy
   ======================================== */

/* .tm-about-legacy {
    background: var(--tm-bg);
} */

/* Left media block */
.tm-legacy-media {
    position: relative;
}

.tm-legacy-img {
    border-radius: 0.75rem;
    overflow: hidden;
}

.tm-legacy-img img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.tm-legacy-media:hover .tm-legacy-img img {
    filter: grayscale(60%);
}

/* Stat card overlay */
.tm-legacy-stat {
    position: absolute;
    right: -1rem;
    bottom: -1.5rem;
    background: #fff;
    border-radius: 0.65rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
    z-index: 2;
    min-width: 160px;
}

.tm-legacy-stat__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--tm-red);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.tm-legacy-stat__label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tm-ink);
    line-height: 1.35;
}

/* Right content */
.tm-legacy-content {
    padding-left: clamp(0rem, 2vw, 1.5rem);
}

.tm-legacy-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    color: var(--tm-ink);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.tm-legacy-content p {
    font-size: 0.95rem;
    color: var(--tm-body);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.tm-legacy-quote {
    font-weight: 700;
    color: var(--tm-ink) !important;
    font-size: 1rem !important;
    margin-top: 0.5rem;
}

.tm-legacy-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tm-red);
    text-decoration: none;
    margin-top: 0.75rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.tm-legacy-cta:hover {
    color: var(--tm-red-dark);
    gap: 0.7rem;
}

@media (max-width: 991.98px) {
    .tm-legacy-stat {
        right: 1rem;
        bottom: -1rem;
    }

    .tm-legacy-img img {
        min-height: 320px;
    }

    .tm-legacy-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .tm-legacy-stat {
        right: 0.5rem;
        bottom: -0.75rem;
        padding: 1rem 1.25rem;
    }

    .tm-legacy-stat__number {
        font-size: 2rem;
    }

    .tm-legacy-img img {
        min-height: 260px;
    }
}

/* ========================================
   About Us – Mission & Vision Split Panel
   ======================================== */

.tm-mv-section {
    overflow: hidden;
}

.tm-mv-section>.row {
    align-items: stretch;
}

.tm-mv-panel {
    padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.tm-mv-panel--light {
    background: var(--tm-bg);
}

.tm-mv-panel--dark {
    background: var(--tm-red-dark);
}

.tm-mv-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.tm-mv-panel--light .tm-mv-label {
    color: var(--tm-red);
}

.tm-mv-panel--dark .tm-mv-label {
    color: rgba(255, 255, 255, 0.6);
}

.tm-mv-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.15rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.tm-mv-panel--light .tm-mv-heading {
    color: var(--tm-ink);
}

.tm-mv-panel--dark .tm-mv-heading {
    color: #fff;
}

.tm-mv-text {
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.tm-mv-panel--light .tm-mv-text {
    color: var(--tm-body);
}

.tm-mv-panel--dark .tm-mv-text {
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 575.98px) {
    .tm-mv-panel {
        padding: 2rem 1.25rem;
        min-height: auto;
    }
}

/* ========================================
   About Us – Global Representations
   ======================================== */

/* .tm-reps-section {
    background: var(--tm-bg);
} */

.tm-reps-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-bottom: 0.5rem;
}

.tm-reps-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
    font-weight: 800;
    color: var(--tm-ink);
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.tm-reps-accent {
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--tm-red);
}

/* Logo grid */
.tm-reps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.tm-reps-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: #fff;
    border: 1px solid var(--tm-line);
    margin: -0.5px;
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease, z-index 0s;
    position: relative;
}

.tm-reps-logo img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.tm-reps-logo:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
    z-index: 2;
    border-color: transparent;
}

.tm-reps-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.tm-reps-note {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--tm-body);
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .tm-reps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767.98px) {
    .tm-reps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .tm-reps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-reps-logo {
        padding: 1rem 0.75rem;
    }

    .tm-reps-logo img {
        max-height: 36px;
    }
}

/* ========================================
   Section Label Badge
   ======================================== */

.tm-section-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tm-red);
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(191, 30, 46, 0.08);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.tm-section-label--blue {
    color: var(--tm-analytical);
    background: rgba(51, 122, 183, 0.08);
}

/* ========================================
   About Summary (Homepage)
   ======================================== */

.tm-about-summary {
    background: var(--tm-bg);
}

.tm-about-summary__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tm-ink);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.tm-about-summary__desc {
    font-size: 0.95rem;
    color: var(--tm-body);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.tm-about-summary__stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.tm-about-summary__stat {
    display: flex;
    flex-direction: column;
}

.tm-about-summary__stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--tm-red);
    line-height: 1.1;
}

.tm-about-summary__stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tm-body);
    margin-top: 0.2rem;
}

/* Right side – image + floating quote */
.tm-about-summary__media {
    position: relative;
}

.tm-about-summary__img {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.tm-about-summary__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.tm-about-summary__quote {
    position: absolute;
    bottom: -1.5rem;
    left: 2rem;
    max-width: 340px;
    background: var(--tm-red-dark);
    color: #fff;
    padding: 1.5rem 1.75rem;
    border-radius: 0.625rem;
    box-shadow: 0 12px 32px rgba(154, 0, 33, 0.25);
}

.tm-about-summary__quote blockquote {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    font-style: normal;
}

.tm-about-summary__quote cite {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
}

@media (max-width: 991.98px) {
    .tm-about-summary__stats {
        gap: 1.5rem;
    }

    .tm-about-summary__media {
        margin-top: 2rem;
    }

    .tm-about-summary__quote {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -2rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .tm-about-summary__stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}

/* ========================================
   ALTERNATIVE A — Sector Navigator
   ======================================== */

.tm-altA-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    min-height: 680px;
}

.tm-altA-panel {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
}

.tm-altA-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tm-altA-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tm-altA-panel:hover .tm-altA-bg img {
    transform: scale(1.03);
}

.tm-altA-overlay {
    position: absolute;
    top: 55%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s ease;
}

.tm-altA-panel--ndt .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(154, 0, 33, 0.0) 0%, rgba(154, 0, 33, 0.88) 100%);
}

.tm-altA-panel--analytical .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(0, 119, 191, 0.0) 0%, rgba(0, 119, 191, 0.88) 100%);
}

.tm-altA-panel--concrete .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(0, 122, 136, 0.0) 0%, rgba(0, 122, 136, 0.88) 100%);
}

/* Hover: expand overlay to full height with deeper color */
.tm-altA-panel:hover .tm-altA-overlay,
.tm-altA-panel:focus-within .tm-altA-overlay {
    top: 0;
}

.tm-altA-panel--ndt:hover .tm-altA-overlay,
.tm-altA-panel--ndt:focus-within .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(100, 0, 18, 0.0) 0%, rgba(100, 0, 18, 0.55) 42%, rgba(100, 0, 18, 0.94) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tm-altA-panel--analytical:hover .tm-altA-overlay,
.tm-altA-panel--analytical:focus-within .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(0, 72, 117, 0.0) 0%, rgba(0, 72, 117, 0.55) 42%, rgba(0, 72, 117, 0.94) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tm-altA-panel--concrete:hover .tm-altA-overlay,
.tm-altA-panel--concrete:focus-within .tm-altA-overlay {
    background: linear-gradient(180deg, rgba(0, 68, 77, 0.0) 0%, rgba(0, 68, 77, 0.55) 42%, rgba(0, 68, 77, 0.94) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tm-altA-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2rem;
    color: #fff;
}

.tm-altA-badge {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.tm-altA-name {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.tm-altA-sub {
    font-size: 0.88rem;
    opacity: 0.65;
    margin-bottom: 0.75rem;
}

/* Subcategory links — hidden by default, revealed on hover */
.tm-altA-links {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        margin 0.35s ease;
}

.tm-altA-panel:hover .tm-altA-links,
.tm-altA-panel:focus-within .tm-altA-links {
    max-height: 400px;
    opacity: 1;
    margin-bottom: 1rem;
}

.tm-altA-links li {
    padding: 0.2rem 0;
}

.tm-altA-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tm-altA-links a::before {
    content: "›";
    font-size: 1.1rem;
    opacity: 0.5;
}

.tm-altA-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.tm-altA-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    transition: background 0.3s ease, gap 0.2s ease;
    width: fit-content;
}

.tm-altA-cta:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    gap: 0.6rem;
}

@media (max-width: 991.98px) {
    .tm-altA-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
    }

    .tm-altA-panel {
        min-height: 340px;
    }

    .tm-altA-links {
        max-height: none;
        opacity: 1;
        margin-bottom: 1rem;
    }
}

/* ========================================
   ALTERNATIVE C — Bento Grid Sectors
   ======================================== */

.tm-altC-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
    min-height: 520px;
}

.tm-altC-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tm-altC-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    color: inherit;
}

/* Hero card spans 2 rows on the left */
.tm-altC-card--hero {
    grid-row: 1 / 3;
}

/* NDT — white bg with red accents */
.tm-altC-card--ndt {
    background: #fff;
    border: 1px solid var(--tm-line);
}

.tm-altC-card--ndt .tm-altC-icon {
    color: var(--tm-ndt);
    background: rgba(191, 30, 46, 0.08);
}

.tm-altC-card--ndt .tm-altC-cta {
    color: var(--tm-ndt);
}

/* Analytical — light blue tinted */
.tm-altC-card--analytical {
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f0f8 100%);
    border: 1px solid rgba(51, 122, 183, 0.12);
}

.tm-altC-card--analytical .tm-altC-icon {
    color: var(--tm-analytical);
    background: rgba(51, 122, 183, 0.1);
}

.tm-altC-card--analytical .tm-altC-name {
    color: var(--tm-analytical);
}

.tm-altC-card--analytical .tm-altC-cta {
    color: var(--tm-analytical);
}

/* Concrete — dark panel with teal accent */
.tm-altC-card--concrete {
    background: linear-gradient(145deg, #1f2937 0%, #283542 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-altC-card--concrete .tm-altC-icon {
    color: var(--tm-concrete);
    background: rgba(0, 156, 173, 0.12);
}

.tm-altC-card--concrete .tm-altC-name {
    color: #fff;
}

.tm-altC-card--concrete .tm-altC-desc {
    color: rgba(255, 255, 255, 0.6);
}

.tm-altC-card--concrete .tm-altC-cta {
    color: var(--tm-concrete);
}

/* Inner content */
.tm-altC-card-inner {
    padding: 2rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tm-altC-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.tm-altC-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.tm-altC-card--ndt .tm-altC-name {
    font-size: 1.6rem;
}

.tm-altC-desc {
    font-size: 0.88rem;
    color: var(--tm-body);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.tm-altC-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.tm-altC-card:hover .tm-altC-cta {
    gap: 0.6rem;
}

/* Hero image at bottom of NDT card */
.tm-altC-hero-img {
    height: 220px;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}

.tm-altC-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(0.35) contrast(1.05);
}

.tm-altC-card:hover .tm-altC-hero-img img {
    transform: scale(1.04);
    filter: saturate(0.5) contrast(1.05);
}

/* Decorative dot pattern on right edge */
.tm-altC-grid::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 0;
    bottom: 0;
    width: 80px;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 12px 12px;
    pointer-events: none;
    display: none;
    /* toggle on if you want the dot pattern */
}

@media (max-width: 767.98px) {
    .tm-altC-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .tm-altC-card--hero {
        grid-row: auto;
    }

    .tm-altC-hero-img {
        height: 180px;
    }

    .tm-altC-card-inner {
        padding: 1.5rem;
    }
}

/* ========================================
   ALTERNATIVE B — Category Showcase
   ======================================== */

.tm-altB-row {
    display: flex;
    gap: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    min-height: 280px;
}

.tm-altB-row--reverse {
    flex-direction: row-reverse;
}

.tm-altB-info {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tm-altB-info-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    transition: opacity 0.4s ease;
}

.tm-altB-row:hover .tm-altB-info-bg {
    opacity: 0.32;
}

.tm-altB-info--ndt {
    background: linear-gradient(135deg, var(--tm-red-dark) 0%, var(--tm-ndt) 100%);
}

.tm-altB-info--analytical {
    background: linear-gradient(135deg, #005a8e 0%, var(--tm-analytical) 100%);
}

.tm-altB-info--concrete {
    background: linear-gradient(135deg, #006b77 0%, var(--tm-concrete) 100%);
}

.tm-altB-info-inner {
    position: relative;
    z-index: 1;
}

.tm-altB-count {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
    display: block;
    margin-bottom: 0.5rem;
}

.tm-altB-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.tm-altB-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.tm-altB-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.85;
    transition: opacity 0.2s ease, gap 0.2s ease;
}

.tm-altB-see-all:hover {
    opacity: 1;
    color: #fff;
    gap: 0.55rem;
}

/* Cards area */
.tm-altB-cards {
    flex: 1;
    min-width: 0;
}

.tm-altB-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--tm-line);
    border-left: 1px solid var(--tm-line);
    height: 100%;
}

.tm-altB-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--tm-ink);
    border-right: 1px solid var(--tm-line);
    border-bottom: 1px solid var(--tm-line);
    transition: background 0.2s ease;
    min-height: 88px;
}

.tm-altB-item:hover {
    background: #f8f9fa;
    color: var(--tm-ink);
}

.tm-altB-item-img {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 0.25rem;
    overflow: hidden;
    background: #e9ecef;
}

.tm-altB-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-altB-item-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tm-ink);
}

.tm-altB-item--view-all {
    justify-content: center;
    text-align: center;
    background: #f8f9fa;
}

.tm-altB-item--view-all span {
    font-size: 0.84rem;
    color: var(--tm-body);
    font-style: italic;
}

.tm-altB-item--view-all:hover {
    background: #f0f1f3;
}

.tm-altB-item--view-all:hover span {
    color: var(--tm-ink);
}

@media (max-width: 991.98px) {

    .tm-altB-row,
    .tm-altB-row--reverse {
        flex-direction: column;
        min-height: auto;
    }

    .tm-altB-info {
        width: 100%;
        padding: 1.5rem;
    }

    .tm-altB-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Product Group - NDT Hero
   ======================================== */

.tm-pg-page {
    background: #eef0f2;
}

/* .tm-pg-hero {} */

.tm-pg-hero-kicker {
    margin: 0 0 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9b1124;
}

.tm-pg-hero-kicker::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--tm-red);
    border-radius: 2px;
}

.tm-pg-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #161d26;
    margin: 0 0 1.1rem;
}

.tm-pg-hero-title span {
    color: var(--tm-red);
    display: block;
}

.tm-pg-hero-descUp {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(0.9rem, 1.15vw, 1.05rem);
    line-height: 1.7;
    color: #656f7c;
}

.tm-pg-hero-media {
    border-radius: 0.7rem;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(16, 24, 40, 0.16);
    background: #dce2ea;
}

.tm-pg-hero-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 991.98px) {
    .tm-pg-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .tm-pg-hero-desc {
        max-width: none;
    }

    .tm-pg-hero-media img {
        aspect-ratio: 16 / 11;
    }
}

@media (max-width: 575.98px) {

    .tm-pg-hero-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.09em;
    }

    .tm-pg-hero-title {
        font-size: clamp(1.72rem, 10vw, 2.25rem);
    }
}

/* ------------------------------------------------------------
   Product Group – Category Cards Grid
   ------------------------------------------------------------ */
.tm-pg-cats {
    background: #ffffff;
}

.tm-pg-cat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 0.65rem;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tm-pg-cat-card:hover {
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.11);
    transform: translateY(-3px);
}

.tm-pg-cat-img-link {
    display: block;
    overflow: hidden;
}

.tm-pg-cat-img-link img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.tm-pg-cat-card:hover .tm-pg-cat-img-link img {
    transform: scale(1.04);
}

.tm-pg-cat-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.4rem 1.5rem;
}

.tm-pg-cat-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tm-ink, #1f1f1f);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tm-pg-cat-desc {
    font-size: 0.845rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.tm-pg-cat-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tm-red, #BF1E2E);
    text-decoration: none;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    transition: gap 0.18s ease, color 0.18s ease;
}

.tm-pg-cat-all:hover {
    color: #9b1124;
    gap: 0.65rem;
}

.tm-pg-cat-all .bi {
    font-size: 1rem;
    flex-shrink: 0;
}

.tm-pg-cat-divider {
    border: 0;
    border-top: 1px solid #e6e9ef;
    margin: 0 0 0.85rem;
}

.tm-pg-cat-fs-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #9098a4;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tm-pg-cat-links {
    margin: 0;
    padding: 0;
}

.tm-pg-cat-links li {
    margin-bottom: 0.3rem;
}

.tm-pg-cat-links li:last-child {
    margin-bottom: 0;
}

.tm-pg-cat-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tm-ink, #1f1f1f);
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease;
}

.tm-pg-cat-links a::before {
    content: "›";
    font-size: 1.1rem;
    color: var(--tm-red, #BF1E2E);
    opacity: 0.7;
    line-height: 1;
}

.tm-pg-cat-links a:hover {
    color: var(--tm-red, #BF1E2E);
    transform: translateX(3px);
}

.tm-pg-cat-links a:hover::before {
    opacity: 1;
}

.tm-pg-cat-links a .bi {
    display: none;
}



@media (max-width: 575.98px) {
    .tm-pg-cat-body {
        padding: 1.1rem 1.15rem 1.25rem;
    }

    .tm-pg-cat-title {
        font-size: 0.97rem;
    }
}

/* ============================================================
   Products Listing Page  (products.html)
   ============================================================ */

/* Page shell */
.tm-pl-page {
    background: var(--tm-bg, #f5f6f8);
}

/* ----------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------- */
.tm-pl-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #9098a4;
}

.tm-pl-breadcrumb a {
    color: var(--tm-body, #5f6771);
    text-decoration: none;
    font-size: 0.8rem;
}

.tm-pl-breadcrumb a:hover {
    color: var(--tm-red, #BF1E2E);
}

.tm-pl-breadcrumb .breadcrumb-item.active {
    color: var(--tm-ink, #1f1f1f);
    font-size: 0.8rem;
    font-weight: 600;
}

/* dark variant (hero-b) */
.tm-pl-breadcrumb--dark a,
.tm-pl-breadcrumb--dark .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.75);
}

.tm-pl-breadcrumb--dark .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.tm-pl-breadcrumb--dark a:hover {
    color: #fff;
}

/* ----------------------------------------------------------
   HERO OPTION A — Sade / Clean
   ---------------------------------------------------------- */
.tm-pl-hero-a {
    background: #ffffff;
    border-bottom: 1px solid var(--tm-line, #e6e8ec);
}

.tm-pl-hero-a-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--tm-ink, #1f1f1f);
    line-height: 1.15;
}

.tm-pl-hero-a-desc {
    font-size: 0.9rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.65;
    max-width: 580px;
}

/* ----------------------------------------------------------
   HERO OPTION B — Görselli / Dark overlay
   ---------------------------------------------------------- */
.tm-pl-hero-b {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 200px;
}

.tm-pl-hero-b::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://admin.troy-met.com/Content/homepage/img-7e5a33b2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.28;
}

.tm-pl-hero-b-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.35) 100%);
}

.tm-pl-hero-b-content {
    position: relative;
    z-index: 1;
}

.tm-pl-hero-b-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
}

.tm-pl-hero-b-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 560px;
}

/* ----------------------------------------------------------
   SIDEBAR
   ---------------------------------------------------------- */
.tm-pl-sidebar-wrap {
    position: sticky;
    top: calc(var(--tm-mobile-top, 82px) + 1.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tm-pl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: transparent;
    border: none;
}

/* Each group is its own rounded card */
.tm-pl-sb-group {
    border-radius: 0.55rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--tm-line, #e6e8ec);
    transition: border-color 0.2s ease;
}

/* Open group — filled with group color */
.tm-pl-sb-group--ndt.is-open {
    background: var(--tm-red, #BF1E2E);
    border-color: var(--tm-red, #BF1E2E);
}

.tm-pl-sb-group--analytical.is-open {
    background: var(--tm-analytical, #0077bf);
    border-color: var(--tm-analytical, #0077bf);
}

.tm-pl-sb-group--concrete.is-open {
    background: var(--tm-concrete, #009cad);
    border-color: var(--tm-concrete, #009cad);
}

/* Open heading — slightly darker than list area */
.tm-pl-sb-group--ndt.is-open>.tm-pl-sb-heading {
    background: #8a1220;
}

.tm-pl-sb-group--analytical.is-open>.tm-pl-sb-heading {
    background: #005f99;
}

.tm-pl-sb-group--concrete.is-open>.tm-pl-sb-heading {
    background: #00798a;
}

.tm-pl-sb-heading {
    width: 100%;
    background: none;
    border: none;
    padding: 0.85rem 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tm-pl-sb-heading-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tm-body, #5f6771);
    transition: color 0.15s ease;
}

/* Closed group hover */
.tm-pl-sb-group:not(.is-open) .tm-pl-sb-heading:hover .tm-pl-sb-heading-label {
    color: var(--tm-ink, #1f1f1f);
}

/* Open group heading — white text */
.tm-pl-sb-group.is-open .tm-pl-sb-heading-label {
    color: #ffffff;
    font-weight: 800;
}

.tm-pl-sb-chevron {
    font-size: 0.7rem;
    flex-shrink: 0;
    color: var(--tm-body, #5f6771);
    transition: transform 0.25s ease, color 0.15s ease;
}

.tm-pl-sb-group.is-open .tm-pl-sb-chevron {
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.85);
}

/* Accordion list */
.tm-pl-sb-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
}

.tm-pl-sb-group.is-open .tm-pl-sb-list {
    max-height: 600px;
    padding: 0 0.85rem 0.85rem;
}

.tm-pl-sb-list li {
    margin-bottom: 0;
}

.tm-pl-sb-list li a {
    display: block;
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 0.35rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.tm-pl-sb-list li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Active sub-item — white pill */
.tm-pl-sb-group.is-open .tm-pl-sb-list li.is-active>a {
    background: #ffffff;
    font-weight: 700;
}

.tm-pl-sb-group--ndt.is-open .tm-pl-sb-list li.is-active>a {
    color: var(--tm-red, #BF1E2E);
}

.tm-pl-sb-group--analytical.is-open .tm-pl-sb-list li.is-active>a {
    color: var(--tm-analytical, #0077bf);
}

.tm-pl-sb-group--concrete.is-open .tm-pl-sb-list li.is-active>a {
    color: var(--tm-concrete, #009cad);
}

/* PDF CTA box */
/* Catalog card — sits below sidebar accordion, inside the sticky wrapper */
.tm-pl-sb-catalog {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.6rem 1.5rem 1.5rem;
    margin-top: 0.85rem;
    border: 1px solid #e1e4e8;
}

.tm-pl-sb-catalog-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--tm-ink, #1f1f1f);
    margin-bottom: 0.65rem;
}

.tm-pl-sb-catalog-desc {
    font-size: 0.83rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.tm-pl-sb-catalog-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--tm-red, #BF1E2E);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.18s ease;
}

.tm-pl-sb-catalog-btn:hover {
    background: #9b1124;
    color: #ffffff;
}

/* ----------------------------------------------------------
   Section headings
   ---------------------------------------------------------- */
.tm-pl-grid-divider {
    border: none;
    border-top: 1px solid var(--tm-line, #e6e8ec);
    margin: 0 0 1.5rem;
    opacity: 1;
}


/* ----------------------------------------------------------
   Hero heading — left red bar
   ---------------------------------------------------------- */
.tm-pl-hero-heading {
    padding-left: 1rem;
    border-left: 3px solid var(--tm-red, #BF1E2E);
}

/* ----------------------------------------------------------
   Featured section heading
   ---------------------------------------------------------- */
.tm-pl-feat-heading {
    margin-bottom: 0;
}

.tm-pl-feat-heading-title {
    padding-left: 1rem;
    border-left: 3px solid var(--tm-red, #BF1E2E);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 900;
    color: var(--tm-ink, #1f1f1f);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.tm-pl-feat-heading-desc {
    font-size: 0.88rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.6;
    margin-bottom: 0;
    padding-left: 0.1rem;
}

/* ----------------------------------------------------------
   Featured Cards — full-bleed image cards
   ---------------------------------------------------------- */
.tm-pl-feat-card {
    position: relative;
    display: block;
    border-radius: 0.65rem;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 5;
    background: #111;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tm-pl-feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.2);
}

.tm-pl-feat-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.tm-pl-feat-card:hover .tm-pl-feat-card-bg {
    transform: scale(1.04);
    opacity: 0.45;
}

.tm-pl-feat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.25) 55%, transparent 100%);
}

.tm-pl-feat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.6rem 1.5rem;
    z-index: 1;
}

.tm-pl-feat-badge {
    display: inline-block;
    background: var(--tm-red, #BF1E2E);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    border-radius: 3px;
    margin-bottom: 0.7rem;
}

.tm-pl-feat-name {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.55rem;
}

.tm-pl-feat-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.tm-pl-feat-btn {
    display: inline-block;
    background: var(--tm-red, #BF1E2E);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.55rem 1.3rem;
    border-radius: 0.3rem;
    border: none;
    text-decoration: none;
    transition: background 0.18s ease;
}

.tm-pl-feat-btn:hover {
    background: #9b1124;
    color: #fff;
}

/* ----------------------------------------------------------
   Product Cards (grid)
   ---------------------------------------------------------- */
.tm-pl-prod-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--tm-line, #e6e8ec);
    border-radius: 0.55rem;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.tm-pl-prod-card:hover {
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.1);
    transform: translateY(-2px);
}

.tm-pl-prod-img {
    overflow: hidden;
}

.tm-pl-prod-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}

.tm-pl-prod-card:hover .tm-pl-prod-img img {
    transform: scale(1.05);
}

.tm-pl-prod-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category badges */
.tm-pl-prod-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.45rem;
    width: fit-content;
}

.tm-pl-prod-badge--ndt {
    color: var(--tm-red, #BF1E2E);
    background: rgba(191, 30, 46, 0.08);
}

.tm-pl-prod-badge--analytical {
    color: var(--tm-analytical, #0077bf);
    background: rgba(0, 119, 191, 0.08);
}

.tm-pl-prod-badge--concrete {
    color: var(--tm-concrete, #009cad);
    background: rgba(0, 156, 173, 0.08);
}

.tm-pl-prod-name {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--tm-ink, #1f1f1f);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.tm-pl-prod-desc {
    font-size: 0.8rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0.75rem;
}

.tm-pl-prod-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tm-red, #BF1E2E);
    transition: gap 0.18s ease;
}

.tm-pl-prod-card:hover .tm-pl-prod-link {
    gap: 0.5rem;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
    .tm-pl-sidebar {
        position: static;
    }
}

/* ------------------------------------------------------------
   Product Group – CTA Banner
   ------------------------------------------------------------ */
/* ----------------------------------------------------------
   Catalog Download Card
   ---------------------------------------------------------- */
.tm-pg-catalog {
    background: #ffffff;
}

.tm-pg-catalog-card {
    background: var(--tm-bg, #f5f6f8);
    border-radius: 1.1rem;
    padding: 2rem 1.75rem 1.75rem;
}

.tm-pg-catalog-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--tm-ink, #1f1f1f);
    margin-bottom: 0.75rem;
}

.tm-pg-catalog-desc {
    font-size: 0.875rem;
    color: var(--tm-body, #5f6771);
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.tm-pg-catalog-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--tm-red, #BF1E2E);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 1rem;
    border-radius: 0.55rem;
    text-decoration: none;
    transition: background 0.18s ease;
}

.tm-pg-catalog-btn:hover {
    background: #9b1124;
    color: #ffffff;
}

.tm-pg-cta {
    background: #ffffff;
}

.tm-pg-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #2d2d2d;
    border-radius: 0.75rem;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3.5rem);
    overflow: hidden;
}

.tm-pg-cta-watermark {
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(7rem, 22vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.tm-pg-cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.tm-pg-cta-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.tm-pg-cta-title span {
    color: var(--tm-red, #BF1E2E);
}

.tm-pg-cta-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 480px;
}

.tm-pg-cta-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    background: var(--tm-red, #BF1E2E);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.75rem;
    border-radius: 0.35rem;
    border: none;
    transition: background 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.tm-pg-cta-btn:hover {
    background: #9b1124;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .tm-pg-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tm-pg-cta-watermark {
        right: 1rem;
        top: auto;
        bottom: -1rem;
        transform: none;
        font-size: clamp(4rem, 20vw, 7rem);
        color: rgba(255, 255, 255, 0.05);
    }

    .tm-pg-cta-btn {
        width: 100%;
        text-align: center;
    }
}


/* ============================================================
   PRODUCT DETAIL PAGE  (.tm-pd-*)
   ============================================================ */

/* --- Breadcrumb Hero (dark, merged with header) --- */
.tm-pd-breadcrumb-hero {
    background: linear-gradient(135deg, #0d1520 0%, #1a1020 50%, #2a1222 100%);
    padding-top: calc(116px + 3.5rem);
    padding-bottom: 4.5rem;
}

.tm-pd-breadcrumb .breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tm-pd-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tm-pd-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.tm-pd-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.75);
}

.tm-pd-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

.tm-pd-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    margin-top: 0.35rem;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tm-pd-hero-brand {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-top: 2.25rem;
}

/* --- Product Content Section (light bg, info left + gallery right) --- */
.tm-pd-content-section {
    background: #fff;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.tm-pd-info--content {
    padding: 0;
    max-width: 560px;
}

.tm-pd-brand-badge--inline {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-flex;
    margin-top: 0.5rem;
}

.tm-pd-gallery--light {
    padding: 0;
    min-height: auto;
    max-width: none;
    margin: 0;
}

@media (max-width: 991.98px) {
    .tm-pd-breadcrumb-hero {
        padding-top: calc(var(--tm-mobile-top, 82px) + 1.5rem);
        padding-bottom: 2rem;
    }

    .tm-pd-content-section .row {
        flex-direction: column-reverse;
    }

    .tm-pd-info--content {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .tm-pd-breadcrumb-hero {
        padding-top: calc(var(--tm-mobile-top, 82px) + 1rem);
        padding-bottom: 1.5rem;
    }

    .tm-pd-hero-title {
        font-size: 1.75rem;
    }
}

/* --- Hero Section --- */
.tm-pd-hero {
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/* Left column — full-bleed background */
.tm-pd-gallery-col {
    background: #f8f9fa;
}

/* Gallery (left) */
.tm-pd-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    max-width: 760px;
    margin-left: auto;
    margin-right: 0;
    width: 100%;
}

.tm-pd-brand-badge {
    position: absolute;
    bottom: 1.1rem;
    right: 1.1rem;
    z-index: 2;
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    transition: box-shadow 0.25s ease;
}

.tm-pd-brand-badge:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.tm-pd-brand-badge img {
    height: 22px;
    width: auto;
    display: block;
}

/* Swiper Gallery */
.tm-pd-swiper {
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: relative;
}

.tm-pd-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.tm-pd-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.tm-pd-main-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    border-radius: 10px;
    border: none;
}

/* Play button overlay on video slide */
.tm-pd-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    border-radius: 10px;
    z-index: 2;
    transition: background 0.2s ease;
}

.tm-pd-play-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}

.tm-pd-play-btn i {
    font-size: 3.5rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Swiper Navigation Arrows */
.tm-pd-swiper-prev,
.tm-pd-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--tm-line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    color: var(--tm-ink);
    font-size: 1rem;
}

.tm-pd-swiper-prev {
    left: 0.6rem;
}

.tm-pd-swiper-next {
    right: 0.6rem;
}

.tm-pd-swiper-prev:hover,
.tm-pd-swiper-next:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.tm-pd-swiper-prev.swiper-button-disabled,
.tm-pd-swiper-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* Thumbnails */
.tm-pd-thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.tm-pd-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #fff;
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.tm-pd-thumb--video .tm-pd-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

.tm-pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.tm-pd-thumb:hover {
    border-color: var(--tm-line);
}

.tm-pd-thumb.is-active {
    border-color: var(--tm-red);
    box-shadow: 0 0 0 1px var(--tm-red);
}

/* Product Info (right) */
.tm-pd-info-col {
    display: flex;
    align-items: center;
}

.tm-pd-info {
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 1vw, 1rem) clamp(2rem, 4vw, 4rem) clamp(2rem, 1vw, 1rem);
    max-width: 680px;
    margin-left: 0;
    margin-right: auto;
}

.tm-pd-category {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--tm-ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tm-pd-category-line {
    width: 3px;
    height: 1.1em;
    background: var(--tm-red);
    border-radius: 2px;
    flex-shrink: 0;
}

.tm-pd-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--tm-ink);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.tm-pd-desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--tm-body);
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Actions */
.tm-pd-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tm-pd-quote-btn {
    --bs-btn-border-radius: 10px;
    --bs-btn-font-size: 15px;
    --bs-btn-font-weight: 700;
    height: 52px;
    padding: 0 2rem;
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .tm-pd-info {
        padding: 2rem 1.25rem;
    }

    .tm-pd-gallery {
        min-height: 380px;
    }

    .tm-pd-swiper {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .tm-pd-gallery {
        padding: 1.5rem 1rem;
        min-height: 300px;
    }

    .tm-pd-swiper {
        height: 220px;
    }

    .tm-pd-thumb {
        width: 50px;
        height: 50px;
    }

    .tm-pd-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .tm-pd-quote-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Variant: Dark Gradient Gallery --- */
.tm-pd-gallery-col--dark {
    background: linear-gradient(135deg, #101923 0%, #1a1020 50%, #3a1525 100%);
}

.tm-pd-gallery--dark .tm-pd-brand-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.tm-pd-gallery--dark .tm-pd-brand-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tm-pd-gallery--dark .tm-pd-brand-badge img {
    filter: none;
}

.tm-pd-gallery--dark .tm-pd-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.tm-pd-gallery--dark .tm-pd-swiper-prev,
.tm-pd-gallery--dark .tm-pd-swiper-next {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.tm-pd-gallery--dark .tm-pd-swiper-prev:hover,
.tm-pd-gallery--dark .tm-pd-swiper-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.tm-pd-gallery--dark .tm-pd-thumb:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.tm-pd-gallery--dark .tm-pd-thumb.is-active {
    border-color: var(--tm-red);
    box-shadow: 0 0 0 1px var(--tm-red);
}

/* --- Variant: Wave Canvas Gallery --- */
.tm-pd-gallery-col--wave {
    background: #070d18;
    position: relative;
}

.tm-pd-gallery--wave {
    overflow: hidden;
}

.tm-pd-gallery-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tm-pd-gallery--wave .tm-pd-brand-badge {
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.tm-pd-gallery--wave .tm-pd-brand-badge:hover {
    background: rgba(255, 255, 255, 0.18);
}

.tm-pd-gallery--wave .tm-pd-brand-badge img {
    filter: none;
}

.tm-pd-gallery--wave .tm-pd-main-img {
    position: relative;
    z-index: 2;
}

.tm-pd-gallery--wave .tm-pd-thumbs {
    position: relative;
    z-index: 2;
}

.tm-pd-gallery--wave .tm-pd-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.tm-pd-gallery--wave .tm-pd-swiper-prev,
.tm-pd-gallery--wave .tm-pd-swiper-next {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    z-index: 5;
}

.tm-pd-gallery--wave .tm-pd-swiper-prev:hover,
.tm-pd-gallery--wave .tm-pd-swiper-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.tm-pd-gallery--wave .tm-pd-thumb:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.tm-pd-gallery--wave .tm-pd-thumb.is-active {
    border-color: var(--tm-red);
    box-shadow: 0 0 0 1px var(--tm-red);
}

/* ============================================================
   PRODUCT OVERVIEW SECTION (.tm-pd-overview)
   ============================================================ */

.tm-pd-overview {
    background: #eef0f2;
    position: relative;
}

.tm-pd-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
    color: var(--tm-ink);
    line-height: 1.15;
}

.tm-pd-overview-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--tm-body);
}

.tm-pd-overview-body {
    font-size: 0.975rem;
    line-height: 1.75;
    color: var(--tm-body);
}

.tm-pd-overview-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tm-red);
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
}

.tm-pd-feature-card {
    padding: 1.1rem 1.2rem 1.1rem 1.4rem;
    border-left: 3px solid var(--tm-red);
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    height: 100%;
}

.tm-pd-feature-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.975rem;
    color: var(--tm-ink);
    margin-bottom: 0.35rem;
}

.tm-pd-feature-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--tm-body);
    margin: 0;
}

/* ============================================================
   TECHNICAL SPECIFICATIONS SECTION (.tm-pd-specs)
   ============================================================ */

.tm-pd-specs {
    background: #fff;
}

.tm-pd-section-rule {
    width: 2.5rem;
    height: 3px;
    background: var(--tm-red);
    border-radius: 2px;
}

.tm-pd-specs-wrap {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--tm-line);
}

.tm-pd-specs-table {
    border-collapse: collapse;
    width: 100%;
}

.tm-pd-specs-table thead tr {
    background: #eef0f2;
}

.tm-pd-specs-table th {
    padding: 0.75rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tm-body);
}

.tm-pd-specs-table th:first-child {
    color: var(--tm-ink);
}

.tm-pd-specs-table td {
    padding: 0.9rem 1.5rem;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--tm-line);
    vertical-align: middle;
    color: var(--tm-body);
    line-height: 1.5;
}

.tm-pd-specs-table tbody tr:last-child td {
    border-bottom: none;
}

.tm-pd-specs-table td:first-child {
    font-weight: 600;
    color: var(--tm-ink);
    width: 38%;
}

@media (max-width: 575.98px) {
    .tm-pd-specs-table td:first-child {
        width: 46%;
    }

    .tm-pd-specs-table th,
    .tm-pd-specs-table td {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================================
   RESOURCES + RELATED PRODUCTS SECTION (.tm-pd-resources)
   ============================================================ */

.tm-pd-resources {
    background: #eef0f2;
}

/* Downloads list */
.tm-pd-dl-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--tm-line);
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: var(--tm-ink);
    margin-bottom: 0.55rem;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.tm-pd-dl-item:last-child {
    margin-bottom: 0;
}

.tm-pd-dl-item:hover {
    border-color: var(--tm-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    color: var(--tm-ink);
}

.tm-pd-dl-icon {
    color: var(--tm-red);
    font-size: 1.05rem;
    flex-shrink: 0;
    line-height: 1;
}

.tm-pd-dl-name {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

.tm-pd-dl-arrow {
    color: var(--tm-body);
    flex-shrink: 0;
    font-size: 0.9rem;
    transition: transform 0.18s;
}

.tm-pd-dl-item:hover .tm-pd-dl-arrow {
    transform: translateX(3px);
    color: var(--tm-red);
}

/* Related Products Swiper */
.tm-pd-related-swiper {
    overflow: hidden;
    padding-bottom: 2px;
}

.tm-pd-rel-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--tm-line);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.tm-pd-rel-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.tm-pd-rel-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #101923;
    flex-shrink: 0;
}

.tm-pd-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.tm-pd-rel-card:hover .tm-pd-rel-img img {
    transform: scale(1.04);
}

.tm-pd-rel-body {
    padding: 1rem 1.1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tm-pd-rel-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.93rem;
    color: var(--tm-ink);
    margin-bottom: 0.6rem;
    line-height: 1.35;
    flex: 1;
}

.tm-pd-rel-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--tm-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tm-pd-rel-link:hover {
    color: #8a1320;
}

/* ============================================================
   PRODUCT DETAIL — SIDEBAR + BODY WRAPPER
   ============================================================ */

.tm-pd-body-wrapper {
    background: #0a0e14;
    position: relative;
    display: flex;
    /* Align sidebar start with the Bootstrap container left edge */
    padding-left: max(calc((100% - 1320px) / 2 + 0.75rem), 0.75rem);
}

/* ---- Sticky Red Sidebar ---- */
.tm-pd-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0a0e14;
    position: relative;
    z-index: 2;
}

.tm-pd-sidebar-nav {
    position: sticky;
    top: var(--tm-header-h);
    /* header height */
    display: flex;
    flex-direction: column;
    padding: 3.5rem 0;
}

.tm-pd-sidebar-link {
    display: block;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tm-pd-sidebar-link:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
}

.tm-pd-sidebar-link.is-active {
    color: #fff;
    border-left-color: var(--tm-red);
    background: rgba(191, 30, 46, 0.12);
}

/* ---- Content Area ---- */
.tm-pd-body-content {
    flex: 1;
    min-width: 0;
}

/* Section inner padding (replaces container) */
.tm-pd-body-inner {
    max-width: calc(1320px - 260px - 0.75rem);
    /* container width minus sidebar */
    padding: 4rem 3rem 3.5rem;
}

/* ---- Dark / Light Alternation ---- */
.tm-pd-body-section--dark {
    background: #17191c;
    color: #c8cdd4;
}

.tm-pd-body-section--light {
    background: #32373e;
    color: #c8cdd4;
}

/* Titles in dark context */
.tm-pd-body-section--dark .tm-pd-section-title,
.tm-pd-body-section--light .tm-pd-section-title {
    color: #fff;
}

/* Feature cards in dark context */
.tm-pd-body-section--dark .tm-pd-feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--tm-red);
}

.tm-pd-body-section--dark .tm-pd-feature-title {
    color: #fff;
}

.tm-pd-body-section--dark .tm-pd-feature-desc {
    color: #9ba3ae;
}

/* Specs table in dark context */
.tm-pd-body-section--light .tm-pd-specs-wrap {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.tm-pd-body-section--light .tm-pd-specs-table thead tr {
    background: rgba(255, 255, 255, 0.05);
}

.tm-pd-body-section--light .tm-pd-specs-table th {
    color: #9ba3ae;
}

.tm-pd-body-section--light .tm-pd-specs-table th:first-child {
    color: #fff;
}

.tm-pd-body-section--light .tm-pd-specs-table td {
    color: #b0b8c4;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.tm-pd-body-section--light .tm-pd-specs-table td:first-child {
    color: #e0e4e9;
}

/* Downloads in dark context */
.tm-pd-body-section--dark .tm-pd-dl-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e0e4e9;
}

.tm-pd-body-section--dark .tm-pd-dl-item:hover {
    border-color: var(--tm-red);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.tm-pd-body-section--dark .tm-pd-dl-name {
    color: #d0d5dc;
}

.tm-pd-body-section--dark .tm-pd-dl-arrow {
    color: #7a8290;
}

/* Related product cards in light context */
.tm-pd-body-section--light .tm-pd-rel-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.tm-pd-body-section--light .tm-pd-rel-title {
    color: #fff;
}

.tm-pd-body-section--light .tm-pd-rel-link {
    color: var(--tm-red);
}

/* Article cards in dark context */
.tm-pd-body-section--dark .tm-article-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.tm-pd-body-section--dark .tm-article-title {
    color: #fff;
}

.tm-pd-body-section--dark .tm-article-excerpt {
    color: #9ba3ae;
}

.tm-pd-body-section--dark .tm-article-cat {
    color: var(--tm-red);
}

.tm-pd-body-section--dark .tm-article-date {
    color: #7a8290;
}

/* ============================================================
   Video Hero Banner
   ============================================================ */
.tm-video-hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 540px;
    overflow: visible;
    /* allow tab buttons to overlap */
}

.tm-video-hero-inner {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #0a0a19;
}

.tm-video-hero-vid {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.tm-video-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 25, 0.40) 0%,
            rgba(10, 10, 25, 0.68) 70%,
            rgba(10, 10, 25, 0.80) 100%);
}

.tm-video-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    text-align: center;
    padding: 0 2rem;
    width: 100%;
    max-width: 960px;
    z-index: 2;
}

.tm-video-hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.tm-video-hero-desc {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto 2.25rem;
    line-height: 1.7;
    font-weight: 400;
}

.tm-video-hero-content .tm-split-actions {
    justify-content: center;
}


/* ============================================================
   Product Category Tabs (index-5 style, overlapping hero)
   ============================================================ */
.tm-product-tabs-section {
    position: relative;
}

.tm-vtab-buttons-wrap {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding: 0 var(--tm-shell-pad);
}

.tm-vtab-buttons {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.30);
}

.tm-vtab-btn {
    border: none;
    padding: 0;
    cursor: pointer;
    background: none;
    display: block;
    width: 100%;
}

.tm-vtab-btn-inner {
    padding: 40px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 165px;
    position: relative;
    transition: filter 0.2s ease;
}

/* Tab accent colors — photo on inactive, solid on active */
.tm-vtab-ndt {
    background-image:
        linear-gradient(rgba(191, 30, 46, 0.72), rgba(191, 30, 46, 0.72)),
        url('../img/demo-content/ndt.jpg');
    background-size: cover;
    background-position: center;
}

.tm-vtab-analytical {
    background-image:
        linear-gradient(rgba(0, 119, 191, 0.72), rgba(0, 119, 191, 0.72)),
        url('../img/demo-content/selective-focus-of-golden-stones-on-dark-sparkling-2026-01-06-00-38-53-utc.jpg');
    background-size: cover;
    background-position: center;
}

.tm-vtab-concrete {
    background-image:
        linear-gradient(rgba(0, 156, 173, 0.72), rgba(0, 156, 173, 0.72)),
        url('../img/demo-content/vasco-da-gama-bridge-ponte-vasco-da-gama-lisbon-2026-03-16-03-34-59-utc.jpg');
    background-size: cover;
    background-position: center;
}

.tm-vtab-btn.active .tm-vtab-ndt,
.tm-vtab-btn:hover .tm-vtab-ndt {
    background-image: linear-gradient(#8f1522, #8f1522), url('../img/demo-content/ndt.jpg');
}

.tm-vtab-btn.active .tm-vtab-analytical,
.tm-vtab-btn:hover .tm-vtab-analytical {
    background-image: linear-gradient(#005e99, #005e99), url('../img/demo-content/selective-focus-of-golden-stones-on-dark-sparkling-2026-01-06-00-38-53-utc.jpg');
}

.tm-vtab-btn.active .tm-vtab-concrete,
.tm-vtab-btn:hover .tm-vtab-concrete {
    background-image: linear-gradient(#007a89, #007a89), url('../img/demo-content/vasco-da-gama-bridge-ponte-vasco-da-gama-lisbon-2026-03-16-03-34-59-utc.jpg');
}

/* Active state: protrudes upward */
.tm-vtab-btn.active .tm-vtab-btn-inner {
    padding-top: 52px;
    padding-bottom: 52px;
    min-height: 185px;
    margin-top: -20px;
    z-index: 2;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.28);
}

.tm-vtab-btn.active .tm-vtab-btn-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.40);
}

.tm-vtab-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tm-vtab-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1.5px;
    line-height: 1;
}

.tm-vtab-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 5px;
    display: block;
    letter-spacing: 0.3px;
    font-weight: 400;
}

.tm-vtab-arrow {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s ease;
}

.tm-vtab-btn.active .tm-vtab-arrow,
.tm-vtab-btn:hover .tm-vtab-arrow {
    color: #fff;
    transform: translateX(4px);
}

/* Tab Panels container */
.tm-vtab-panels {
    max-width: 1220px;
    margin: 0 auto;
    /*min-height: 600px;*/
}

.tm-vtab-panel {
    display: none;
    /*height: 600px;*/
}

.tm-vtab-panel.active {
    display: flex;
    flex-direction: column;
}

/* Colored top border per active panel */
.tm-vtab-panel[data-panel="ndt"].active {
    border-top: 6px solid var(--tm-ndt);
}

.tm-vtab-panel[data-panel="analytical"].active {
    border-top: 6px solid var(--tm-analytical);
}

.tm-vtab-panel[data-panel="concrete"].active {
    border-top: 6px solid var(--tm-concrete);
}

/* Product grid — gap acts as separator lines */
.tm-vtab-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    padding: 40px 0 0 0;

}

.tm-vtab-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #f6f9fb;
    font-family: var(--font-body);
    color: var(--tm-ink);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
}

.tm-vtab-item::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.tm-vtab-item:hover {
    background: #fafafa;
}

.tm-vtab-panel[data-panel="ndt"] .tm-vtab-item:hover {
    background: #fdf2f3;
    color: var(--tm-ndt);
}

.tm-vtab-panel[data-panel="ndt"] .tm-vtab-item:hover::before {
    background: var(--tm-ndt);
}

.tm-vtab-panel[data-panel="analytical"] .tm-vtab-item:hover {
    background: #f0f7ff;
    color: var(--tm-analytical);
}

.tm-vtab-panel[data-panel="analytical"] .tm-vtab-item:hover::before {
    background: var(--tm-analytical);
}

.tm-vtab-panel[data-panel="concrete"] .tm-vtab-item:hover {
    background: #f0fbfc;
    color: var(--tm-concrete);
}

.tm-vtab-panel[data-panel="concrete"] .tm-vtab-item:hover::before {
    background: var(--tm-concrete);
}

.tm-vtab-item-img {
    flex: 0 0 33.333%;
    overflow: hidden;
    background: none;
    padding-left: 15px;
}

.tm-vtab-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tm-vtab-item>span {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 767.98px) {
    .tm-video-hero {
        height: 78vh;
        min-height: 440px;
    }

    .tm-video-hero-content {
        transform: translate(-50%, -60%);
        padding: 0 1.25rem;
    }

    .tm-vtab-buttons-wrap {
        margin-top: -56px;
        padding: 0 0;
    }

    .tm-vtab-buttons {
        grid-template-columns: 1fr;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    }

    .tm-vtab-btn-inner {
        min-height: 100px;
        padding: 22px 20px;
    }

    .tm-vtab-btn.active .tm-vtab-btn-inner {
        min-height: 108px;
        padding-top: 26px;
        padding-bottom: 26px;
        margin-top: 0;
        box-shadow: none;
    }

    .tm-vtab-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .tm-vtab-panel {
        height: auto;
    }

    .tm-vtab-item {
        flex-direction: row;
        align-items: stretch;
        font-size: 0.8rem;
    }

    .tm-vtab-item-img {
        flex: 0 0 38%;
    }

    .tm-vtab-item>span {
        padding: 0.75rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tm-vtab-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tm-vtab-buttons-wrap {
        padding: 0 1rem;
    }
}

/* ── Page Hero / Breadcrumb Banner (Migrated from v3) ── */
.tm-page-hero {
    background: url('../img/demo-content/product/product-bg1.webp') center center / cover no-repeat;
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.tm-page-hero-title {
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
}

.tm-breadcrumb {
    margin-bottom: 0.75rem;
}

.tm-breadcrumb .breadcrumb-item,
.tm-breadcrumb .breadcrumb-item a {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.tm-breadcrumb .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.tm-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
}

.tm-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}