/* ============================================================
   RMT — Brand tokens
   Primary  : #153462  (deep navy)
   Gold     : #BF9E3B  (accent)
   Blue     : #10488B  (link / secondary)
============================================================ */
:root {
    --rmt-primary: #153462;
    --rmt-primary-dark: #0d2244;
    --rmt-gold: #BF9E3B;
    --rmt-gold-soft: #d8bd62;
    --rmt-blue: #10488B;
    --rmt-blue-soft: #2a6ec1;
    --rmt-ink: #0e1a2e;
    --rmt-muted: #6b7280;
    --rmt-border: #e6e9ef;
    --rmt-bg-soft: #f5f7fb;
    --rmt-radius-sm: 8px;
    --rmt-radius-md: 14px;
    --rmt-radius-lg: 22px;
    --rmt-shadow-sm: 0 4px 14px rgba(21, 52, 98, 0.08);
    --rmt-shadow-md: 0 10px 30px rgba(21, 52, 98, 0.12);
    --rmt-shadow-lg: 0 20px 50px rgba(21, 52, 98, 0.18);
    --rmt-ease: cubic-bezier(0.65, 0, 0.076, 1);
}

img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

.owl-nav span {
    display: none;
}

/* ============================================================
   Header Menu — tighter, refined size
============================================================ */
.header .hfe-nav-menu li a,
.header .elementor-nav-menu li a,
.header .nv-nav-menu li a,
.header nav ul li a,
.header .menu li a {
    font-size: 14px !important;
    letter-spacing: 0.4px;
    font-weight: 600;
}

/* ============================================================
   Header — Sectors / Services dropdown
============================================================ */
.header .sub-menu,
.header ul.sub-menu,
.header .hfe-sub-menu,
.header .elementor-nav-menu .sub-menu {
    background: #ffffff !important;
    border: 1px solid var(--rmt-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 44px rgba(21, 52, 98, 0.16) !important;
    padding: 10px 0 !important;
    margin-top: 16px !important;
    min-width: 260px !important;
    overflow: visible !important;
    position: absolute;
}

/* Small pointer connecting the dropdown to its parent */
.header .sub-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 30px;
    width: 11px;
    height: 11px;
    background: #ffffff;
    border-top: 1px solid var(--rmt-border);
    border-left: 1px solid var(--rmt-border);
    transform: rotate(45deg);
    z-index: 1;
}

/* Item wrappers — strip any default dividers */
.header .sub-menu li {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

/* Item link — refined typography + ample tap area */
.header .sub-menu li a {
    position: relative;
    display: block !important;
    padding: 12px 26px 12px 30px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    font-family: 'Open Sans', sans-serif !important;
    color: var(--rmt-ink) !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    line-height: 1.45 !important;
    border: 0 !important;
    background: transparent !important;
    transition: padding-left 0.3s var(--rmt-ease),
                color 0.3s var(--rmt-ease),
                background 0.3s var(--rmt-ease) !important;
}

/* Gold accent bar that grows in on hover */
.header .sub-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 18px;
    background: var(--rmt-gold);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform 0.3s var(--rmt-ease);
    border-radius: 0 2px 2px 0;
}

.header .sub-menu li a:hover,
.header .sub-menu li a:focus {
    color: var(--rmt-primary) !important;
    background: rgba(21, 52, 98, 0.04) !important;
    padding-left: 38px !important;
}

.header .sub-menu li a:hover::before,
.header .sub-menu li a:focus::before {
    transform: translateY(-50%) scaleY(1);
}

/* Active item — pre-highlighted */
.header .sub-menu li.current-menu-item > a,
.header .sub-menu li.current_page_item > a {
    color: var(--rmt-primary) !important;
    background: rgba(191, 158, 59, 0.06) !important;
}

.header .sub-menu li.current-menu-item > a::before,
.header .sub-menu li.current_page_item > a::before {
    transform: translateY(-50%) scaleY(1);
}

/* ============================================================
   Footer Menu — gold chevron + hover slide
============================================================ */
.footer-menu ul li a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    padding-left: 18px !important;
    text-decoration: none !important;
    transition: color 0.3s var(--rmt-ease),
                padding-left 0.35s var(--rmt-ease);
}

.footer-menu ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--rmt-gold);
    border-right: 1.5px solid var(--rmt-gold);
    transform: translateY(-50%) rotate(45deg);
    transition: left 0.35s var(--rmt-ease),
                width 0.35s var(--rmt-ease),
                height 0.35s var(--rmt-ease),
                border-color 0.3s var(--rmt-ease);
    opacity: 0.85;
}

.footer-menu ul li a:hover {
    color: var(--rmt-gold) !important;
    padding-left: 24px !important;
}

.footer-menu ul li a:hover::before {
    left: 6px;
    width: 8px;
    height: 8px;
    opacity: 1;
}

.footer-menu ul li.current-menu-item > a,
.footer-menu ul li.current_page_item > a {
    color: var(--rmt-gold) !important;
}

.footer-menu ul li.current-menu-item > a::before,
.footer-menu ul li.current_page_item > a::before {
    opacity: 1;
}

/* ============================================================
   First-load loader (single-shot per session) — minimal bar
============================================================ */
.rmt-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: #fbfbfd;
    transition: opacity 0.55s var(--rmt-ease), visibility 0.55s var(--rmt-ease);
}

.rmt-loader__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    animation: rmtBrandFade 0.7s var(--rmt-ease) 0.05s forwards;
}

.rmt-loader__brand-main {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--rmt-primary);
    letter-spacing: 7px;
    line-height: 1;
    padding-left: 7px; /* compensate for trailing letter-spacing */
}

.rmt-loader__brand-sub {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--rmt-gold);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    line-height: 1;
    padding: 0 14px;
}

.rmt-loader__brand-sub::before,
.rmt-loader__brand-sub::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 1px;
    background: var(--rmt-gold);
    opacity: 0.6;
}

.rmt-loader__brand-sub::before { left: 0; }
.rmt-loader__brand-sub::after  { right: 0; }

@keyframes rmtBrandFade {
    to { opacity: 1; transform: translateY(0); }
}

.rmt-loader__bar {
    position: relative;
    width: 220px;
    height: 2px;
    background: rgba(21, 52, 98, 0.10);
    border-radius: 100px;
    overflow: hidden;
}

.rmt-loader__shuttle {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70px;
    background: linear-gradient(90deg,
        rgba(21, 52, 98, 0) 0%,
        var(--rmt-primary) 35%,
        var(--rmt-gold) 65%,
        rgba(191, 158, 59, 0) 100%);
    border-radius: 100px;
    animation: rmtLoaderShuttle 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.rmt-loader--out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Repeat-visit guard — set by inline script before paint */
html.rmt-no-loader .rmt-loader { display: none !important; }

/* Lock scroll while loader is up so the banner can finish painting cleanly */
html:not(.rmt-no-loader):not(.rmt-loader-done) body { overflow: hidden; }

@keyframes rmtLoaderShuttle {
    0%   { left: -70px; }
    100% { left: 220px; }
}

@media screen and (max-width: 480px) {
    .rmt-loader { gap: 26px; }
    .rmt-loader__brand-main {
        font-size: 24px;
        letter-spacing: 5px;
        padding-left: 5px;
    }
    .rmt-loader__brand-sub {
        font-size: 9px;
        letter-spacing: 2.8px;
    }
    .rmt-loader__bar { width: 180px; }
    @keyframes rmtLoaderShuttle {
        0%   { left: -60px; }
        100% { left: 180px; }
    }
}

[tabindex="-1"]:focus,
input:read-write:focus,
select:focus,
textarea:focus {
    box-shadow: none !important;
    --formfieldbordercolor: none;
}

/* ============================================================
   Page Banner
============================================================ */
.page-banner .page-container .page-heading h2,
.page-banner .page-container .page-description {
    color: #fff !important;
}

.page-banner .page-container .page-heading h2 {
    font-size: 44px !important;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.elementor-243 .elementor-element.elementor-element-89fee97::before,
.elementor-243 .elementor-element.elementor-element-89fee97>.elementor-background-video-container::before,
.elementor-243 .elementor-element.elementor-element-89fee97>.e-con-inner>.elementor-background-video-container::before,
.elementor-243 .elementor-element.elementor-element-89fee97>.elementor-background-slideshow::before,
.elementor-243 .elementor-element.elementor-element-89fee97>.e-con-inner>.elementor-background-slideshow::before,
.elementor-243 .elementor-element.elementor-element-89fee97>.elementor-motion-effects-container>.elementor-motion-effects-layer::before,
.page-banner::before {
    background-color: transparent !important;
    --background-overlay: '' !important;
    background-image: linear-gradient(180deg, rgba(21, 52, 98, 0.20) 0%, var(--rmt-primary) 100%) !important;
    opacity: 0.90;
}

/* ============================================================
   Home Banner — editorial / framed style
   Content sits vertically centered on the left with a gold accent
   rail; minimal text-link CTA; narrow numbered dot rail at bottom.
============================================================ */
.banner-wrap {
    height: 90vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #0a1a30;
}

.banner-wrap .banner-item {
    width: 100%;
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.banner-wrap .banner-item .image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-wrap .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    transition: transform 8s ease-out;
    transform: scale(1.06);
}

.banner-wrap .owl-item.active .banner-item img,
.banner-wrap .slick-active .banner-item img {
    transform: scale(1);
}

.banner-wrap .banner-item .image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 22, 44, 0.85) 0%, rgba(8, 22, 44, 0.55) 38%, rgba(8, 22, 44, 0.15) 65%, rgba(8, 22, 44, 0) 100%),
        linear-gradient(180deg, rgba(8, 22, 44, 0.05) 0%, rgba(8, 22, 44, 0.35) 100%);
    z-index: 1;
}

.banner-wrap .banner-item .banner-content {
    position: absolute;
    inset: 0;
    color: #fff;
    z-index: 2;
    padding: 0 8%;
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
}

.banner-wrap .banner-item .banner-inner {
    position: relative;
    max-width: 620px;
    padding-left: 28px;
}

/* Gold accent rail on the left of the content block */
.banner-wrap .banner-item .banner-accent {
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--rmt-gold) 0%, rgba(191, 158, 59, 0) 100%);
    transform: translateY(-50%);
    transition: height 1.1s var(--rmt-ease) 0.1s;
}

.banner-wrap .owl-item.active .banner-item .banner-accent,
.banner-wrap .slick-active .banner-item .banner-accent {
    height: 76%;
}

.banner-wrap .overflow {
    overflow: hidden;
    display: block;
}

/* Tag — minimal: small dash + uppercase letter-spaced label */
.banner-wrap .banner-item .banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    transform: translateY(110%);
    transition: transform 0.9s var(--rmt-ease);
}

.banner-wrap .owl-item.active .banner-item .banner-tag,
.banner-wrap .slick-active .banner-item .banner-tag {
    transform: translateY(0%);
}

.banner-wrap .banner-item .banner-tag .banner-tag__line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--rmt-gold);
}

.banner-wrap .owl-item .banner-item .banner-content h6.main-heading {
    font-size: 12px;
    font-family: "Open Sans", Sans-serif;
    line-height: 1;
    font-weight: 600;
    color: var(--rmt-gold);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    margin: 0;
    width: auto;
}

.banner-wrap .owl-item .banner-item .banner-content h5.heading {
    font-size: 42px;
    font-family: "Open Sans", Sans-serif;
    line-height: 1.12;
    font-weight: 700;
    width: 100%;
    letter-spacing: -0.6px;
    color: #fff;
    margin: 0 0 22px;
    transition: transform 1s var(--rmt-ease) 0.1s;
    transform: translateY(110%);
}

.banner-wrap .owl-item.active .banner-item .banner-content h5.heading,
.banner-wrap .slick-active .banner-item .banner-content h5.heading {
    transform: translateY(0%);
}

.banner-wrap .owl-item .banner-item .banner-content p.sub-heading {
    margin: 0 0 36px;
    font-size: 16px;
    text-transform: none;
    font-weight: 300;
    max-width: 480px;
    width: 100%;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    transform: translateY(110%);
    transition: transform 1s var(--rmt-ease) 0.2s;
}

.banner-wrap .owl-item.active .banner-item .banner-content p.sub-heading,
.banner-wrap .slick-active .banner-item .banner-content p.sub-heading {
    transform: translateY(0%);
}

/* CTA — minimal text link with arrow */
.banner-wrap .banner-item .banner-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 10px;
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transform: translateY(110%);
    transition: transform 1s var(--rmt-ease) 0.3s,
                color 0.35s var(--rmt-ease),
                gap 0.35s var(--rmt-ease);
}

.banner-wrap .owl-item.active .banner-item .banner-cta,
.banner-wrap .slick-active .banner-item .banner-cta {
    transform: translateY(0%);
}

.banner-wrap .banner-item .banner-cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 1px;
    background: var(--rmt-gold);
    transition: width 0.45s var(--rmt-ease);
}

.banner-wrap .banner-item .banner-cta:hover {
    color: var(--rmt-gold);
    gap: 20px;
}

.banner-wrap .banner-item .banner-cta:hover::before {
    width: 100%;
}

.banner-wrap .banner-item .banner-cta__arrow {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 1px;
    background: currentColor;
}

.banner-wrap .banner-item .banner-cta__arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -4px;
    width: 9px;
    height: 9px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

/* Banner nav — small, minimal arrows in the bottom-right */
.banner-wrap .owl-nav {
    position: absolute;
    bottom: 70px;
    right: 8%;
    display: flex;
    justify-content: end;
    gap: 8px;
    width: auto;
    z-index: 5;
}

.banner-wrap .owl-nav button {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.30) !important;
    background-color: transparent !important;
    padding: 22px !important;
    border-radius: 50%;
    transition: all 0.35s var(--rmt-ease);
}

.banner-wrap .owl-nav button:hover {
    background-color: var(--rmt-gold) !important;
    border-color: var(--rmt-gold) !important;
}

.banner-wrap .owl-nav button span {
    display: none;
}

.banner-wrap .owl-nav button::before {
    content: '\f104';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: fontawesome;
    font-size: 14px;
    color: #fff;
}

.banner-wrap .owl-nav button.owl-next::before {
    content: '\f105';
}

/* Banner dots — narrow numbered rail aligned with content (bottom-left) */
.banner-wrap .owl-dots {
    position: absolute;
    bottom: 50px;
    left: calc(8% + 28px);
    padding: 0;
    width: auto;
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 4;
    counter-reset: rmt-slide;
}

.banner-wrap .owl-dots button.owl-dot {
    flex: 0 0 auto;
    width: 38px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.22);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    transition: width 0.4s var(--rmt-ease), background-color 0.3s;
    counter-increment: rmt-slide;
}

.banner-wrap .owl-dots button.owl-dot:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

.banner-wrap .owl-dots button.owl-dot.active {
    width: 64px;
    background-color: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.banner-wrap .owl-dots button.owl-dot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    width: 100%;
    height: 100%;
    transition: all 0.3s;
}

.banner-wrap .owl-dots button.owl-dot.active::before {
    background: var(--rmt-gold);
    animation: width 5s linear;
}

@keyframes width {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* ============================================================
   Home Page Industries Slider — nav (shared w/ products)
============================================================ */
.industries-carousel.owl-carousel .owl-stage {
    position: relative;
    padding: 20px 0;
}

.industries-carousel.owl-carousel .owl-nav,
.product-cat-card__carousel .owl-nav {
    display: flex;
    justify-content: end;
    position: relative;
    gap: 8px;
}

.industries-carousel.owl-carousel .owl-nav button,
.product-cat-card__carousel .owl-nav button {
    background: var(--rmt-primary) !important;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    margin: 20px 6px;
    position: relative;
    pointer-events: visible;
    transition: all 0.4s var(--rmt-ease);
    border: 1px solid var(--rmt-primary) !important;
    overflow: hidden;
}

.industries-carousel.owl-carousel .owl-nav button:hover,
.product-cat-card__carousel .owl-nav button:hover {
    box-shadow: 0 10px 24px rgba(21, 52, 98, 0.35);
    transform: translateY(-2px);
}

.industries-carousel.owl-carousel .owl-nav button.owl-prev::before,
.product-cat-card__carousel .owl-nav button.owl-prev::before {
    content: "\f104";
    position: absolute;
    font-family: fontawesome;
    color: #fff;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    z-index: 2;
}

.industries-carousel.owl-carousel .owl-nav button.owl-prev::after,
.product-cat-card__carousel .owl-nav button.owl-prev::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--rmt-gold);
    transition: all 0.45s var(--rmt-ease);
}

.industries-carousel.owl-carousel .owl-nav button.owl-prev:hover::after,
.product-cat-card__carousel .owl-nav button.owl-prev:hover::after {
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 1;
}

.industries-carousel.owl-carousel .owl-nav button.owl-prev:hover::before,
.product-cat-card__carousel .owl-nav button.owl-prev:hover::before {
    color: #fff;
    z-index: 2;
}

.industries-carousel.owl-carousel .owl-nav button.owl-next::before,
.product-cat-card__carousel .owl-nav button.owl-next::before {
    content: "\f105";
    position: absolute;
    font-family: fontawesome;
    color: #fff;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    z-index: 2;
}

.industries-carousel.owl-carousel .owl-nav button.owl-next::after,
.product-cat-card__carousel .owl-nav button.owl-next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--rmt-gold);
    transition: all 0.45s var(--rmt-ease);
}

.industries-carousel.owl-carousel .owl-nav button.owl-next:hover::after,
.product-cat-card__carousel .owl-nav button.owl-next:hover::after {
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 1;
}

.industries-carousel.owl-carousel .owl-nav button.owl-next:hover::before,
.product-cat-card__carousel .owl-nav button.owl-next:hover::before {
    color: #fff;
    z-index: 2;
}

/* ============================================================
   Clients — carousel + grid, unified modern card
============================================================ */
.clients .client-item {
    position: relative;
}

.clients .client-item .image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding: 22px;
    margin: 10px;
    background-color: #fff;
    border-radius: var(--rmt-radius-md);
    border: 1px solid var(--rmt-border);
    transition: transform 0.35s var(--rmt-ease),
                box-shadow 0.35s var(--rmt-ease),
                border-color 0.35s var(--rmt-ease);
    position: relative;
    overflow: hidden;
}

.clients .client-item .image::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rmt-primary), var(--rmt-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--rmt-ease);
}

.clients .client-item .image:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--rmt-shadow-md);
}

.clients .client-item .image:hover::after {
    transform: scaleX(1);
}

.clients .client-item .image img {
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.4s var(--rmt-ease), opacity 0.4s var(--rmt-ease), transform 0.4s var(--rmt-ease);
    max-height: 100%;
}

.clients .client-item .image:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px;
}

/* ============================================================
   Contact Form — refined editorial style
============================================================ */
.form-submit {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 22px;
}

.form-submit .basic-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    width: 100%;
}

.form-submit .basic-details > div {
    width: 100%;
}

.form-submit p {
    margin-bottom: 0;
    position: relative;
}

/* Inline validation tip */
.form-submit .wpcf7-not-valid-tip {
    color: #d92d20;
    font-size: 11px;
    text-align: end;
    font-weight: 600;
    font-family: "Open Sans", Sans-serif;
    display: block;
    position: absolute;
    right: 0;
    top: -22px;
    letter-spacing: 0.2px;
}

/* Submission response (success / error message bubble) */
.wpcf7-response-output {
    border: 1px solid var(--rmt-primary) !important;
    background: rgba(21, 52, 98, 0.04);
    color: var(--rmt-primary);
    font-family: "Open Sans", Sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 18px !important;
    width: 100% !important;
    margin: 0 !important;
    margin-top: 14px !important;
    border-radius: 10px;
}

.form-submit .input-field {
    position: relative;
    width: 100%;
}

/* Label — small, uppercase, letter-spaced */
.form-submit .input-field p label {
    color: var(--rmt-primary);
    font-family: 'Open Sans', sans-serif;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

/* Required asterisk in gold */
.form-submit .input-field p label .wpcf7-form-control-wrap + *,
.form-submit .input-field p label::after {
    color: var(--rmt-gold);
}

/* Input / select / textarea — clean, premium */
.form-submit .input-field p input,
.form-submit .input-field p select,
.form-submit .input-field p textarea {
    background: #ffffff;
    border: 1.5px solid var(--rmt-border);
    border-radius: 10px;
    font-size: 14.5px;
    height: 54px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: var(--rmt-ink) !important;
    position: relative;
    z-index: 2;
    padding: 0 18px;
    transition: border-color 0.3s var(--rmt-ease),
                box-shadow 0.3s var(--rmt-ease),
                background 0.3s var(--rmt-ease);
}

.form-submit .input-field p input::placeholder,
.form-submit .input-field p textarea::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

.form-submit .input-field p textarea {
    height: 140px !important;
    padding: 14px 18px;
    line-height: 1.6;
    resize: vertical;
    min-height: 100px;
}

/* Custom select chevron */
.form-submit .input-field p select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23153462' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Focus — gold border + soft glow */
.form-submit .input-field p input:focus,
.form-submit .input-field p select:focus,
.form-submit .input-field p textarea:focus {
    box-shadow: 0 0 0 4px rgba(191, 158, 59, 0.18) !important;
    border-color: var(--rmt-gold) !important;
    background: #ffffff;
    outline: none;
}

/* Invalid state */
.form-submit .input-field p input.wpcf7-not-valid,
.form-submit .input-field p select.wpcf7-not-valid,
.form-submit .input-field p textarea.wpcf7-not-valid {
    border-color: rgba(217, 45, 32, 0.6) !important;
}

/* Submit row — recaptcha left, button right */
.form-submit .submit {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

.form-submit .submit span.wpcf7-form-control-wrap.recaptcha {
    transform: scale(0.85);
    transform-origin: left center;
}

.form-submit .submit .wpcf7-spinner {
    background-color: var(--rmt-bg-soft);
    margin-right: 12px;
}

.form-submit .submit p {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    gap: 14px;
}

/* Submit button — modern pill with gold sweep on hover */
.form-submit .submit .submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1;
    border: 0;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 24px rgba(21, 52, 98, 0.25);
    transition: color 0.35s var(--rmt-ease),
                transform 0.4s var(--rmt-ease),
                box-shadow 0.4s var(--rmt-ease);
}

/* Gold sweep fill */
.form-submit .submit .submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
    transform: translateX(-101%);
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.076, 1);
    z-index: -1;
}

/* Arrow */
.form-submit .submit .submit-btn::after {
    content: "\2192"; /* → */
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s var(--rmt-ease);
}

.form-submit .submit .submit-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(191, 158, 59, 0.38);
    cursor: pointer;
}

.form-submit .submit .submit-btn:hover::before {
    transform: translateX(0);
}

.form-submit .submit .submit-btn:hover::after {
    transform: translateX(6px);
}

.form-submit .submit .submit-btn:active {
    transform: translateY(-1px);
}

.form-submit .submit .submit-btn:focus-visible {
    outline: 2px solid var(--rmt-gold);
    outline-offset: 4px;
}

/* Mobile */
@media screen and (max-width: 767px) {
    .form-submit {
        row-gap: 18px;
    }
    .form-submit .basic-details {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .form-submit .input-field p input,
    .form-submit .input-field p select {
        height: 50px;
        font-size: 14px;
    }
    .form-submit .input-field p textarea {
        height: 120px !important;
    }
    .form-submit .submit {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 14px;
    }
    .form-submit .submit p {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .form-submit .submit .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 28px;
        font-size: 12px;
        letter-spacing: 1.4px;
    }
    .form-submit .submit span.wpcf7-form-control-wrap.recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* ============================================================
   Contact Button — pill with gold sweep + arrow slide
   Selector targets the inner <a> because Elementor wraps the
   link inside a container that carries the .contact-btn class.
============================================================ */
.contact-btn a {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    padding: 15px 34px !important;
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%) !important;
    background-color: var(--rmt-primary) !important;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 100px !important;
    border: 0 !important;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(21, 52, 98, 0.25);
    transition: color 0.35s var(--rmt-ease),
                transform 0.4s var(--rmt-ease),
                box-shadow 0.4s var(--rmt-ease);
}

/* Gold fill that sweeps in from the left */
.contact-btn a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
    transform: translateX(-101%);
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.076, 1);
    z-index: -1;
}

/* Arrow — unicode glyph, inherits color from button */
.contact-btn a::after {
    content: "\2192"; /* → */
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s var(--rmt-ease);
    color: inherit;
}

.contact-btn a:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(191, 158, 59, 0.38);
}

.contact-btn a:hover::before {
    transform: translateX(0);
}

.contact-btn a:hover::after {
    transform: translateX(6px);
}

.contact-btn a:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(191, 158, 59, 0.3);
}

.contact-btn a:focus-visible {
    outline: 2px solid var(--rmt-gold);
    outline-offset: 4px;
}

/* Neutralize Elementor's inner button text/icon wrapper spans so they
   don't impose their own font, padding, or layout on the inner content. */
.contact-btn a .elementor-button-content-wrapper,
.contact-btn a .elementor-button-text,
.contact-btn a span {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .contact-btn a {
        padding: 13px 26px !important;
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
        gap: 10px;
    }
    .contact-btn a::after { font-size: 16px; }
}

/* ============================================================
   Products by Category — tabbed view + anchored cards
============================================================ */

/* Tab navigation */
.products-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: var(--rmt-bg-soft);
    border-radius: 100px;
    margin-bottom: 32px;
    align-items: center;
    justify-content: flex-start;
}

.products-tabs__btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 18px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 100px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--rmt-primary) !important;
    letter-spacing: 0.2px;
    line-height: 1.2;
    cursor: pointer;
    text-shadow: none;
    box-shadow: none;
    transition: background 0.3s var(--rmt-ease),
                color 0.3s var(--rmt-ease),
                box-shadow 0.3s var(--rmt-ease),
                transform 0.3s var(--rmt-ease);
    white-space: nowrap;
}

.products-tabs__btn:hover,
.products-tabs__btn:focus {
    background: rgba(21, 52, 98, 0.10) !important;
    color: var(--rmt-primary) !important;
    outline: none;
}

.products-tabs__btn.is-active,
.products-tabs__btn.is-active:hover,
.products-tabs__btn.is-active:focus {
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(21, 52, 98, 0.28);
}

.products-tabs__btn:focus-visible {
    outline: 2px solid var(--rmt-gold);
    outline-offset: 2px;
}

/* Ensure children inherit color so Elementor's nested-span styling can't override */
.products-tabs__btn .products-tabs__label {
    color: inherit;
    text-transform: capitalize;
}

.products-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    background: rgba(21, 52, 98, 0.12);
    color: var(--rmt-primary);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.3s, color 0.3s;
}

.products-tabs__btn:hover .products-tabs__count,
.products-tabs__btn:focus .products-tabs__count {
    background: rgba(21, 52, 98, 0.18);
    color: var(--rmt-primary);
}

.products-tabs__btn.is-active .products-tabs__count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Hide cards when filtered out */
.product-cat-card.is-hidden {
    display: none;
}

/* Card container */
.products-by-cat {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-cat-card {
    background: #ffffff;
    border: 1px solid var(--rmt-border);
    border-radius: var(--rmt-radius-md);
    padding: 28px 28px 22px;
    box-shadow: 0 6px 22px rgba(21, 52, 98, 0.06);
    scroll-margin-top: 100px;
    position: relative;
}

.product-cat-card__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rmt-border);
}

.product-cat-card__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-cat-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--rmt-gold);
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.product-cat-card__tag-line {
    width: 26px;
    height: 1px;
    background: var(--rmt-gold);
    display: inline-block;
}

.product-cat-card__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--rmt-primary);
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.15;
    text-transform: capitalize;
}

.product-cat-card__count {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--rmt-primary);
    background: var(--rmt-bg-soft);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Individual product card inside the carousel */
.p-card {
    background: #fff;
    border-radius: var(--rmt-radius-md);
    border: 1px solid var(--rmt-border);
    overflow: hidden;
    position: relative;
    transition: border-color 0.35s var(--rmt-ease),
                transform 0.35s var(--rmt-ease),
                box-shadow 0.35s var(--rmt-ease);
}

.p-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rmt-primary), var(--rmt-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--rmt-ease);
    z-index: 3;
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(21, 52, 98, 0.10);
    border-color: transparent;
}

.p-card:hover::before {
    transform: scaleX(1);
}

.p-card__img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rmt-bg-soft) 0%, #ffffff 100%);
    padding: 20px;
    overflow: hidden;
}

.p-card__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--rmt-ease);
}

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

.p-card__title {
    margin: 14px 18px 18px;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--rmt-ink);
    line-height: 1.4;
    letter-spacing: -0.1px;
    transition: color 0.3s var(--rmt-ease);
}

.p-card:hover .p-card__title {
    color: var(--rmt-primary);
}

/* Carousel dots hidden — only arrows */
.product-cat-card__carousel .owl-dots {
    display: none;
}

/* Hide nav arrows entirely when the carousel has nothing to scroll
   (Owl adds .disabled to .owl-nav when items count ≤ visible items) */
.product-cat-card__carousel .owl-nav.disabled {
    display: none;
}

/* ============================================================
   Home Features — Why Choose Us
============================================================ */
.home-features {
    padding: 100px 8%;
    background: linear-gradient(180deg, #ffffff 0%, var(--rmt-bg-soft) 100%);
}

.home-features__header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.home-features__tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--rmt-gold);
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

.home-features__tag-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--rmt-gold);
}

.home-features__heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.6px;
    color: var(--rmt-ink);
    margin: 0 0 16px;
}

.home-features__intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rmt-muted);
    margin: 0;
}

.home-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.home-features__card {
    position: relative;
    padding: 38px 28px 32px;
    background: #fff;
    border: 1px solid var(--rmt-border);
    border-radius: var(--rmt-radius-md);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.5s var(--rmt-ease),
                box-shadow 0.5s var(--rmt-ease),
                border-color 0.45s var(--rmt-ease);
}

/* Navy gradient layer that slides up from the bottom on hover */
.home-features__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(191, 158, 59, 0.18) 0%, rgba(191, 158, 59, 0) 45%),
        linear-gradient(160deg, var(--rmt-primary) 0%, var(--rmt-primary-dark) 100%);
    transform: translateY(101%);
    transition: transform 0.65s var(--rmt-ease);
    z-index: -1;
}

/* Gold rail on left edge — grows in after the bg slides up */
.home-features__rail {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.55s var(--rmt-ease) 0.15s;
    z-index: 1;
}

.home-features__card:hover,
.home-features__card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 30px 55px rgba(21, 52, 98, 0.28);
    border-color: transparent;
}

.home-features__card:hover::before,
.home-features__card:focus-within::before {
    transform: translateY(0);
}

.home-features__card:hover .home-features__rail,
.home-features__card:focus-within .home-features__rail {
    transform: scaleY(1);
}

.home-features__num {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--rmt-gold);
    letter-spacing: 2px;
    opacity: 0.55;
    transition: opacity 0.45s var(--rmt-ease),
                transform 0.45s var(--rmt-ease),
                color 0.4s var(--rmt-ease);
}

.home-features__card:hover .home-features__num,
.home-features__card:focus-within .home-features__num {
    opacity: 1;
    color: var(--rmt-gold-soft);
    transform: translateY(-2px);
}

.home-features__icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 18px rgba(21, 52, 98, 0.22);
    transition: transform 0.5s var(--rmt-ease),
                background 0.5s var(--rmt-ease),
                box-shadow 0.5s var(--rmt-ease);
    position: relative;
    z-index: 1;
}

/* Subtle pulsing gold ring around icon on hover */
.home-features__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(191, 158, 59, 0.6);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s var(--rmt-ease), transform 0.55s var(--rmt-ease);
}

.home-features__card:hover .home-features__icon,
.home-features__card:focus-within .home-features__icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
    box-shadow: 0 14px 32px rgba(191, 158, 59, 0.45);
}

.home-features__card:hover .home-features__icon::after,
.home-features__card:focus-within .home-features__icon::after {
    opacity: 1;
    transform: scale(1.08);
}

.home-features__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--rmt-ink);
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition: color 0.4s var(--rmt-ease);
}

.home-features__card:hover .home-features__title,
.home-features__card:focus-within .home-features__title {
    color: #fff;
}

.home-features__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--rmt-muted);
    margin: 0;
    transition: color 0.4s var(--rmt-ease);
}

.home-features__card:hover .home-features__desc,
.home-features__card:focus-within .home-features__desc {
    color: rgba(255, 255, 255, 0.80);
}

/* ============================================================
   Home Industries — bento grid
============================================================ */
.home-industries {
    padding: 100px 8%;
    background: #fff;
}

.home-industries__header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.home-industries__tag,
.home-process__tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--rmt-gold);
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

.home-industries__tag-line,
.home-process__tag-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--rmt-gold);
}

.home-industries__heading,
.home-process__heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.6px;
    color: var(--rmt-ink);
    margin: 0 0 16px;
}

.home-industries__intro,
.home-process__intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--rmt-muted);
    margin: 0;
}

/* Bento grid layout — asymmetric */
.home-industries__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 280px 280px;
    gap: 18px;
}

.home-industries__tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--rmt-radius-md);
    display: block;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
}

.home-industries__tile--hero        { grid-column: 1 / 4; grid-row: 1 / 3; }
.home-industries__tile--wide-top    { grid-column: 4 / 6; grid-row: 1; }
.home-industries__tile--small-top   { grid-column: 6;     grid-row: 1; }
.home-industries__tile--small-bottom{ grid-column: 4;     grid-row: 2; }
.home-industries__tile--wide-bottom { grid-column: 5 / 7; grid-row: 2; }

.home-industries__image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-industries__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--rmt-ease);
}

.home-industries__tile:hover .home-industries__image img {
    transform: scale(1.07);
}

.home-industries__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 22, 44, 0.10) 0%, rgba(8, 22, 44, 0.55) 60%, rgba(8, 22, 44, 0.88) 100%);
    transition: background 0.45s ease;
}

.home-industries__tile:hover .home-industries__overlay {
    background: linear-gradient(180deg, rgba(8, 22, 44, 0.25) 0%, rgba(8, 22, 44, 0.75) 50%, rgba(8, 22, 44, 0.94) 100%);
}

.home-industries__content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 2;
}

.home-industries__accent {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--rmt-gold);
    margin-bottom: 14px;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.5s var(--rmt-ease);
}

.home-industries__tile:hover .home-industries__accent {
    transform: scaleX(1);
}

.home-industries__pill {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--rmt-gold);
    margin-bottom: 4px;
}

.home-industries__name {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 4px 0 0;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.home-industries__tile--hero .home-industries__name {
    font-size: 32px;
    letter-spacing: -0.4px;
}

.home-industries__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--rmt-ease),
                opacity 0.4s var(--rmt-ease) 0.05s,
                margin 0.4s var(--rmt-ease);
}

.home-industries__tile:hover .home-industries__desc {
    max-height: 140px;
    opacity: 1;
    margin-top: 12px;
}

.home-industries__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rmt-gold);
    margin-top: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--rmt-ease) 0.1s,
                transform 0.4s var(--rmt-ease) 0.1s,
                gap 0.3s var(--rmt-ease);
}

.home-industries__tile:hover .home-industries__cta {
    opacity: 1;
    transform: translateY(0);
}

.home-industries__tile:hover .home-industries__cta {
    gap: 14px;
}

.home-industries__arrow {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.home-industries__arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3.5px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

/* ============================================================
   Home Process — 4-step timeline
============================================================ */
.home-process {
    padding: 100px 8%;
    background: linear-gradient(180deg, var(--rmt-bg-soft) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.home-process__header {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.home-process__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.home-process__step {
    position: relative;
    padding: 36px 26px 32px;
    background: #fff;
    border: 1px solid var(--rmt-border);
    border-radius: var(--rmt-radius-md);
    transition: transform 0.4s var(--rmt-ease),
                box-shadow 0.4s var(--rmt-ease),
                border-color 0.4s var(--rmt-ease);
}

.home-process__step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(21, 52, 98, 0.10);
    border-color: transparent;
}

/* Dashed connector between steps */
.home-process__connector {
    position: absolute;
    top: 76px;
    right: -28px;
    width: 28px;
    height: 2px;
    background-image: linear-gradient(90deg, var(--rmt-gold) 50%, transparent 50%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    opacity: 0.6;
}

.home-process__step:last-child .home-process__connector {
    display: none;
}

.home-process__num {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--rmt-bg-soft);
    line-height: 1;
    letter-spacing: -1px;
    transition: color 0.4s var(--rmt-ease);
}

.home-process__step:hover .home-process__num {
    color: rgba(191, 158, 59, 0.22);
}

.home-process__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rmt-primary) 0%, var(--rmt-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 18px rgba(21, 52, 98, 0.22);
    transition: transform 0.45s var(--rmt-ease),
                background 0.45s var(--rmt-ease),
                box-shadow 0.45s var(--rmt-ease),
                border-radius 0.45s var(--rmt-ease);
    position: relative;
    z-index: 1;
}

.home-process__step:hover .home-process__icon {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
    box-shadow: 0 12px 24px rgba(191, 158, 59, 0.35);
    border-radius: 50%;
}

.home-process__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--rmt-ink);
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
    transition: color 0.3s;
}

.home-process__step:hover .home-process__title {
    color: var(--rmt-primary);
}

.home-process__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--rmt-muted);
    margin: 0;
}

/* ============================================================
   Products Page
============================================================ */
/* ============================================================
   Products Categories Navigation — sticky anchor rail
============================================================ */

/* Smooth scroll site-wide for anchor links */
html { scroll-behavior: smooth; }

/* Offset anchor targets so they aren't hidden under the sticky header */
[id^="cat-"] { scroll-margin-top: 100px; }

.products-cat-nav {
    background: #ffffff;
    border: 1px solid var(--rmt-border);
    border-radius: var(--rmt-radius-md);
    padding: 22px 24px 18px;
    box-shadow: 0 6px 18px rgba(21, 52, 98, 0.06);
    position: sticky;
    top: 100px;
    font-family: 'Open Sans', sans-serif;
}

.products-cat-nav__title {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--rmt-primary);
    margin: 0 0 18px;
    padding-bottom: 12px;
    letter-spacing: -0.2px;
}

.products-cat-nav__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--rmt-gold) 0%, var(--rmt-gold-soft) 100%);
}

.products-cat-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.products-cat-nav__item {
    margin: 0;
    padding: 0;
    border: 0;
    flex: 0 0 auto;
}

/* Pill button */
.products-cat-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--rmt-bg-soft);
    border: 1px solid var(--rmt-border);
    border-radius: 100px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--rmt-primary);
    text-decoration: none;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s var(--rmt-ease),
                color 0.3s var(--rmt-ease),
                border-color 0.3s var(--rmt-ease),
                transform 0.3s var(--rmt-ease),
                box-shadow 0.3s var(--rmt-ease);
}

/* Hide the old dot + arrow nodes — pill takes their job */
.products-cat-nav__dot,
.products-cat-nav__arrow {
    display: none;
}

.products-cat-nav__text {
    display: inline-block;
}

.products-cat-nav__link:hover,
.products-cat-nav__link:focus-visible {
    background: var(--rmt-primary);
    border-color: var(--rmt-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(21, 52, 98, 0.22);
    outline: none;
}

.products-cat-nav__link:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(21, 52, 98, 0.18);
}

/* :target highlight — when a category is anchored to */
[id^="cat-"]:target {
    animation: catTargetFlash 1.6s var(--rmt-ease);
}

@keyframes catTargetFlash {
    0%   { background-color: rgba(191, 158, 59, 0); }
    25%  { background-color: rgba(191, 158, 59, 0.08); }
    100% { background-color: rgba(191, 158, 59, 0); }
}

/* Tablet — slightly tighter pills */
@media screen and (max-width: 1024px) {
    .products-cat-nav {
        padding: 18px 20px 16px;
    }
    .products-cat-nav__title {
        font-size: 19px;
    }
    .products-cat-nav__link {
        font-size: 12.5px;
        padding: 8px 16px;
    }
}

/* Mobile — horizontal scroller of pills, lose sticky */
@media screen and (max-width: 767px) {
    .products-cat-nav {
        position: static;
        padding: 16px 18px;
    }
    .products-cat-nav__title {
        font-size: 18px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }
    .products-cat-nav__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        margin: 0 -18px;
        padding-left: 18px;
        padding-right: 18px;
    }
    .products-cat-nav__item {
        scroll-snap-align: start;
    }
    .products-cat-nav__link {
        padding: 8px 14px;
        font-size: 12.5px;
    }
    .products-cat-nav__link:hover,
    .products-cat-nav__link:focus-visible {
        transform: none;
    }
}
