/* =========================================================
   PRODUCTS — ORGANIZATION MAP

   1. Products hero
   2. Category tabs and product catalogue
   3. Industries we power
   4. Quality/testing section
   5. Tablet and mobile overrides

   IMPORTANT: Source order is intentionally preserved because
   later responsive/final rules are part of the active cascade.
========================================================= */

/* ==================================
   PRODUCTS PAGE
=================================== */

.products-page {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    color: #111111;
}

/* ==================================
   PRODUCTS HERO SECTION
=================================== */

.products-hero-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 540px;
    min-height: 540px;
    overflow: hidden;
    background-color: #030303;
}

/* ==================================
   HERO BACKGROUND
=================================== */

.products-hero-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.products-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.97) 0%,
            rgba(0, 0, 0, 0.91) 34%,
            rgba(0, 0, 0, 0.54) 62%,
            rgba(0, 0, 0, 0.2) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.03) 65%,
            rgba(0, 0, 0, 0.5) 100%
        );
}

/* ==================================
   HERO CONTAINER
=================================== */

.products-hero-container {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 32px));
    max-width: 1320px;
    height: 540px;
    min-height: 540px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: stretch;
}

/* ==================================
   HERO CONTENT
=================================== */

.products-hero-content {
    position: relative;
    top: 0;
    z-index: 5;
    align-self: stretch;
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 165px 0 0 18px;
    opacity: 0;
    transform: translateX(-42px);
    will-change: transform, opacity;
}

/* ==================================
   HERO TITLE GROUP
=================================== */

.products-title-group {
    width: 100%;
    max-width: 550px;
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
    transform: translateY(58px);
}

.products-title-line {
    display: block;
    width: 4px;
    height: 176px;
    min-height: 176px;
    background-color: var(--aei-red, #e30613);
}

/* ==================================
   HERO TYPOGRAPHY
=================================== */

.products-hero-title,
.products-hero-subtitle {
    margin: 0;
    padding: 0;
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.products-hero-title {
    color: #ffffff;
    font-size: clamp(36px, 3.1vw, 48px);
}

.products-hero-subtitle {
    margin-top: 8px;
    color: var(--aei-red, #e30613);
    font-size: clamp(32px, 2.8vw, 42px);
}

.products-hero-description {
    max-width: 510px;
    margin: 22px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

/* ==================================
   HERO PRODUCT IMAGE AREA
=================================== */

.products-hero-product-area {
    position: relative;
    right: auto;
    bottom: 55px;
    z-index: 3;
    align-self: stretch;
    width: 100%;
    height: 540px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 42px 0 14px;
    overflow: visible;
    pointer-events: none;
    opacity: 0;
    transform: translateX(42px);
    will-change: transform, opacity;
}

.products-hero-product-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: 100%;
    max-height: 475px;
    object-fit: contain;
    object-position: right bottom;
    filter:
        drop-shadow(
            0 22px 24px rgba(0, 0, 0, 0.55)
        );
    transform: scaleX(0.96) scaleY(1.06);
    transform-origin: right bottom;
}

/* ==================================
   HERO ENTRANCE ANIMATION
=================================== */

.products-hero-section.is-loaded
.products-hero-content,
.products-hero-section.is-loaded
.products-hero-product-area {
    opacity: 1;
    transform: translateX(0);
    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.products-hero-section.is-loaded
.products-hero-product-area {
    transition-delay: 0.12s;
}

/* ==================================
   HERO SMALL DESKTOP
=================================== */

@media screen and (max-width: 1199px) {
    .products-hero-container {
        grid-template-columns: 46% 54%;
    }

    .products-hero-content {
        padding-top: 165px;
        padding-left: 12px;
    }

    .products-hero-product-image {
        max-width: 680px;
        max-height: 450px;
    }
}

/* ==================================
   HERO TABLET
=================================== */

@media screen and (max-width: 991px) {
    .products-hero-section,
    .products-hero-container,
    .products-hero-product-area {
        height: 500px;
        min-height: 500px;
    }

    .products-hero-container {
        grid-template-columns: 48% 52%;
    }

    .products-hero-content {
        padding-top: 155px;
        padding-left: 10px;
    }

    .products-hero-product-area {
        padding-top: 48px;
        padding-bottom: 12px;
    }

    .products-hero-product-image {
        max-width: 580px;
        max-height: 410px;
    }
}

/* ==================================
   HERO MOBILE
=================================== */

@media screen and (max-width: 767px) {
    .products-hero-section,
    .products-hero-container {
        height: 470px;
        min-height: 470px;
    }

    .products-hero-background {
        object-position: 58% bottom;
    }

    .products-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.97) 0%,
                rgba(0, 0, 0, 0.86) 58%,
                rgba(0, 0, 0, 0.35) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.5) 100%
            );
    }

    .products-hero-container {
        display: block;
        padding: 0;
    }

    .products-hero-content {
        width: 72%;
        max-width: 550px;
        height: 100%;
        padding: 125px 0 0 2px;
    }

    .products-hero-title,
    .products-hero-subtitle {
        letter-spacing: -0.7px;
        white-space: normal;
    }

    .products-hero-description {
        max-width: 300px;
        line-height: 1.45;
    }

    .products-hero-description br {
        display: none;
    }

    .products-hero-product-area {
        position: absolute;
        right: -70px;
        bottom: 40px;
        width: 67%;
        height: 320px;
        min-height: 0;
        padding: 0;
    }

    .products-hero-product-image {
        max-width: 470px;
        max-height: 315px;
    }
}

/* ==================================
   HERO SMALL MOBILE
=================================== */

@media screen and (max-width: 480px) {
    .products-hero-section,
    .products-hero-container {
        height: 430px;
        min-height: 430px;
    }

    .products-hero-content {
        width: 77%;
        padding-top: 110px;
    }

    .products-hero-product-area {
        right: -78px;
        width: 72%;
        height: 275px;
    }

    .products-hero-product-image {
        max-height: 270px;
    }
}

/* ==================================
   PRODUCTS CATALOG SECTION
=================================== */

.products-catalog-section {
    position: relative;
    width: 100%;
    padding: 70px 0 90px;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f7f7 48%,
            #ffffff 100%
        );
}

.products-catalog-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1320px, calc(100% - 32px));
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(227, 6, 19, 0.35),
            transparent
        );
    transform: translateX(-50%);
}

.products-catalog-container {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 32px));
    max-width: 1320px;
    margin: 0 auto;
}

/* ==================================
   CATEGORY TABS
=================================== */

.products-category-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    margin-bottom: 42px;
    padding: 6px;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.055);
}

.products-category-tab {
    position: relative;
    min-height: 48px;
    padding: 12px 8px;
    border: 0;
    border-right: 1px solid #eeeeee;
    background-color: transparent;
    color: #262626;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.25px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.products-category-tab:last-child {
    border-right: 0;
}

.products-category-tab::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 7px;
    left: 18px;
    height: 2px;
    background-color: var(--aei-red, #e30613);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.products-category-tab:hover {
    color: var(--aei-red, #e30613);
    background-color: #fff5f5;
}

.products-category-tab:hover::after,
.products-category-tab.is-active::after {
    transform: scaleX(1);
}

.products-category-tab.is-active {
    z-index: 2;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #f01825 0%,
            var(--aei-red, #e30613) 100%
        );
    box-shadow:
        0 7px 18px rgba(227, 6, 19, 0.22);
}

.products-category-tab.is-active::after {
    background-color: #ffffff;
}

/* ==================================
   PRODUCTS GRID
=================================== */

.products-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ==================================
   PRODUCT CARD
=================================== */

.products-catalog-card {
    position: relative;
    min-width: 0;
    min-height: 310px;
    padding: 24px 20px 20px;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
    background-color: #ffffff;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.045),
        0 1px 2px rgba(0, 0, 0, 0.03);
    text-align: center;

    /* Always visible */
    opacity: 1;
    transform: translateY(0);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.products-catalog-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--aei-red, #e30613),
            transparent
        );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.products-catalog-card::after {
    content: "";
    position: absolute;
    top: -75px;
    right: -75px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(227, 6, 19, 0.035);
    transition:
        width 0.35s ease,
        height 0.35s ease;
}

.products-catalog-card:hover {
    border-color: rgba(227, 6, 19, 0.26);
    transform: translateY(-7px);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.1),
        0 5px 12px rgba(227, 6, 19, 0.055);
}

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

.products-catalog-card:hover::after {
    width: 175px;
    height: 175px;
}

.products-catalog-card.is-hidden {
    display: none;
}

/* ==================================
   PRODUCT IMAGE
=================================== */

.products-catalog-image-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 4px 10px;
}

.products-catalog-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(
            0 12px 12px rgba(0, 0, 0, 0.16)
        );
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.products-catalog-card:hover
.products-catalog-image {
    transform: scale(1.055) translateY(-3px);
    filter:
        drop-shadow(
            0 17px 16px rgba(0, 0, 0, 0.21)
        );
}

/* ==================================
   PRODUCT NAME
=================================== */

.products-catalog-name {
    position: relative;
    z-index: 2;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #eeeeee;
    color: #171717;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.15px;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.products-catalog-card:hover
.products-catalog-name {
    border-color: rgba(227, 6, 19, 0.3);
    color: var(--aei-red, #e30613);
}

/* ==================================
   CATALOG TABLET
=================================== */

@media screen and (max-width: 991px) {
    .products-catalog-section {
        padding: 60px 0 75px;
    }

    .products-category-tabs {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .products-category-tab:nth-child(3) {
        border-right: 0;
    }

    .products-category-tab:nth-child(-n + 3) {
        border-bottom: 1px solid #eeeeee;
    }

    .products-catalog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ==================================
   CATALOG MOBILE
=================================== */

@media screen and (max-width: 767px) {
    .products-catalog-section {
        padding: 42px 0 58px;
    }

    .products-category-tabs {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        margin-bottom: 27px;
        padding: 5px;
        scrollbar-width: none;
    }

    .products-category-tabs::-webkit-scrollbar {
        display: none;
    }

    .products-category-tab {
        flex: 0 0 auto;
        min-width: 128px;
        min-height: 42px;
        border-right: 0;
        border-bottom: 0;
        font-size: 9px;
    }

    .products-category-tab::after {
        right: 15px;
        bottom: 5px;
        left: 15px;
    }

    .products-catalog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-catalog-card {
        min-height: 215px;
        padding: 13px 9px 14px;
    }

    .products-catalog-image-wrap {
        height: 145px;
        margin-bottom: 10px;
        padding: 2px 5px;
    }

    .products-catalog-name {
        padding-top: 10px;
        font-size: 11px;
    }

    .products-catalog-card:hover {
        transform: translateY(-4px);
    }
}

/* ==================================
   CATALOG SMALL MOBILE
=================================== */

@media screen and (max-width: 380px) {
    .products-catalog-grid {
        gap: 9px;
    }

    .products-catalog-card {
        min-height: 195px;
    }

    .products-catalog-image-wrap {
        height: 128px;
    }

    .products-catalog-name {
        font-size: 10px;
    }
}

/* ==================================
   INTERACTIVE 3D PRODUCT DEPTH
=================================== */

.products-catalog-image-wrap {
    --product-tilt-x: 0deg;
    --product-tilt-y: 0deg;
    --product-shine-x: 50%;
    --product-shine-y: 35%;
    perspective: 900px;
    transform-style: preserve-3d;
}

.products-catalog-image-wrap::after {
    content: "";
    position: absolute;
    inset: 7% 8%;
    z-index: 3;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle at var(--product-shine-x) var(--product-shine-y),
        rgba(255, 255, 255, 0.48),
        rgba(255, 255, 255, 0.12) 22%,
        transparent 55%
    );
    mix-blend-mode: screen;
    transform: translateZ(32px);
    transition: opacity 0.25s ease;
}

.products-catalog-image-wrap.is-3d-active::after {
    opacity: 0.72;
}

.products-catalog-image-wrap .products-catalog-image {
    transform:
        rotateX(var(--product-tilt-x))
        rotateY(var(--product-tilt-y))
        translateZ(22px)
        scale(1.02);
    transform-style: preserve-3d;
    will-change: transform, filter;
    transition: transform 0.16s ease-out, filter 0.25s ease;
}

.products-catalog-card:hover .products-catalog-image-wrap .products-catalog-image {
    transform:
        rotateX(var(--product-tilt-x))
        rotateY(var(--product-tilt-y))
        translateZ(30px)
        scale(1.065);
    filter:
        drop-shadow(0 22px 18px rgba(0, 0, 0, 0.24))
        drop-shadow(8px 7px 7px rgba(227, 6, 19, 0.08));
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
    .products-catalog-image-wrap .products-catalog-image,
    .products-catalog-card:hover .products-catalog-image-wrap .products-catalog-image {
        transform: none;
        transition: none;
    }

    .products-catalog-image-wrap::after {
        display: none;
    }
}

/* ==================================
   REDUCED MOTION
=================================== */

@media (prefers-reduced-motion: reduce) {
    .products-hero-content,
    .products-hero-product-area {
        opacity: 1;
        transform: none;
        transition: none !important;
    }

    .products-catalog-card {
        opacity: 1;
        transform: none;
        transition: none !important;
    }

    .products-catalog-image,
    .products-category-tab {
        transition: none !important;
    }
}

/* =========================================
   INDUSTRIES WE POWER
========================================= */

.industries-power-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 335px;
    display: flex;
    align-items: center;
    padding: 38px 30px 30px;
    overflow: hidden;
    background-color: #050608;
}

/* =========================================
   BACKGROUND IMAGE
========================================= */

.industries-power-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    opacity: 0.75;
    filter:
        grayscale(5%)
        brightness(1.08)
        contrast(1);
    transform: scale(1.03);
}

/* =========================================
   DARK OVERLAY
========================================= */

.industries-power-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 6, 0.7) 0%,
            rgba(5, 6, 8, 0.43) 45%,
            rgba(5, 6, 8, 0.41) 60%,
            rgba(3, 4, 6, 0.68) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.36)
        );
}

/* =========================================
   RED BACKGROUND GLOW
========================================= */

.industries-power-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 750px;
    height: 260px;
    border-radius: 50%;
    background-color: rgba(237, 28, 36, 0.07);
    filter: blur(90px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* =========================================
   SECTION CONTAINER
========================================= */

.industries-power-container {
    position: relative;
    width: min(1320px, calc(100% - 32px));
    max-width: 1320px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}

/* =========================================
   HEADING
========================================= */

.industries-power-heading {
    margin-bottom: 25px;
}

.industries-power-label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2.8px;
}

.industries-power-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 2.4vw, 35px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.industries-power-heading h2 span {
    color: #ed1c24;
}

/* =========================================
   HEADING LIGHTNING MARK
========================================= */

.industries-heading-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 10px;
}

.industries-heading-mark span {
    width: 58px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.55)
        );
}

.industries-heading-mark span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.55),
            transparent
        );
}

.industries-heading-mark i {
    color: #ed1c24;
    font-size: 18px;
    filter:
        drop-shadow(
            0 0 7px rgba(237, 28, 36, 0.6)
        );
}

/* =========================================
   INDUSTRIES GRID
========================================= */

.industries-power-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 34px;
}

.industries-power-item {
    position: relative;
    min-width: 0;
    padding: 5px 0;
    text-align: center;
}

/* =========================================
   ICON BOX
========================================= */

.industries-power-icon {
    position: relative;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    overflow: hidden;
    border: 2px solid #ed1c24;
    border-radius: 14px;
    color: #ed1c24;
    background:
        linear-gradient(
            145deg,
            rgba(24, 25, 29, 0.9),
            rgba(5, 6, 8, 0.88)
        );
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(237, 28, 36, 0.08),
        inset 0 0 18px rgba(237, 28, 36, 0.025);
    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.industries-power-icon::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -60%;
    width: 45%;
    height: 240%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: left 0.55s ease;
}

.industries-power-icon i {
    position: relative;
    z-index: 2;
    font-size: 31px;
    line-height: 1;
}

/* =========================================
   INDUSTRY TITLES
========================================= */

.industries-power-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.15px;
    white-space: nowrap;
    transition: color 0.35s ease;
}

/* =========================================
   HOVER EFFECT
========================================= */

.industries-power-item:hover
.industries-power-icon {
    color: #ffffff;
    border-color: #ff353d;
    background:
        linear-gradient(
            145deg,
            #f5262f,
            #bf0710
        );
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.42),
        0 0 25px rgba(237, 28, 36, 0.3);
    transform: translateY(-7px);
}

.industries-power-item:hover
.industries-power-icon::before {
    left: 135%;
}

.industries-power-item:hover h3 {
    color: #ed1c24;
}

/* =========================================
   BOTTOM DESCRIPTION
========================================= */

.industries-power-description {
    margin: 21px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.industries-power-description strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 991px) {
    .industries-power-section {
        min-height: auto;
        padding: 48px 24px 44px;
    }

    .industries-power-background {
        object-position: center;
    }

    .industries-power-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 22px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {
    .industries-power-section {
        padding: 43px 18px 40px;
    }

    .industries-power-heading {
        margin-bottom: 27px;
    }

    .industries-power-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .industries-power-heading h2 {
        font-size: 24px;
    }

    .industries-heading-mark span {
        width: 43px;
    }

    .industries-power-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 14px;
    }

    .industries-power-icon {
        width: 66px;
        height: 66px;
        margin-bottom: 11px;
    }

    .industries-power-icon i {
        font-size: 27px;
    }

    .industries-power-item h3 {
        font-size: 11px;
        white-space: normal;
    }

    .industries-power-description {
        max-width: 310px;
        margin-top: 27px;
        font-size: 12px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .industries-power-icon,
    .industries-power-icon::before,
    .industries-power-item h3 {
        transition: none;
    }
}

/* =========================================
   INDUSTRIES SCROLL ANIMATION
========================================= */

.industries-power-heading,
.industries-power-description {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.industries-power-item {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.industries-power-section.is-visible
.industries-power-heading,
.industries-power-section.is-visible
.industries-power-description,
.industries-power-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .industries-power-heading,
    .industries-power-description,
    .industries-power-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   PRODUCT QUALITY SECTION
========================================= */

.products-quality-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 34px 0;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #fafafa 48%,
            #ffffff 100%
        );
    border-bottom: 3px solid var(--aei-red, #ed111f);
}

.products-quality-container {
    position: relative;
    width: min(1320px, calc(100% - 32px));
    max-width: 1320px;
    min-height: 285px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(245px, 0.85fr)
        minmax(420px, 1.35fr)
        minmax(255px, 0.85fr);
    align-items: stretch;
    gap: 42px;
}

/* =========================================
   LEFT CONTENT
========================================= */

.products-quality-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 0;
}

.products-quality-content h2 {
    margin: 0;
    padding: 0;
    color: #080808;
    font-size: clamp(27px, 2.1vw, 34px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.products-quality-line {
    display: block;
    width: 27px;
    height: 3px;
    margin: 12px 0 13px;
    background-color: var(--aei-red, #ed111f);
}

.products-quality-content > p {
    max-width: 290px;
    margin: 0;
    padding: 0;
    color: #3f3f3f;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
}

/* =========================================
   QUALITY CHECK POINTS
========================================= */

.products-quality-points {
    display: grid;
    gap: 7px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.products-quality-points li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #262626;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.25;
}

.products-quality-points i {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: var(--aei-red, #ed111f);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 900;
    box-shadow: 0 3px 8px rgba(237, 17, 31, 0.18);
}

/* =========================================
   CENTER IMAGE
========================================= */

.products-quality-image-area {
    position: relative;
    width: 100%;
    height: 285px;
    overflow: hidden;
    background-color: #dddddd;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.products-quality-image-area::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.07);
    pointer-events: none;
}

.products-quality-image-area::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.01) 45%,
            rgba(0, 0, 0, 0.17) 100%
        );
    pointer-events: none;
}

.products-quality-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.65s ease,
        filter 0.65s ease;
}

.products-quality-image-area:hover .products-quality-image {
    transform: scale(1.035);
    filter: contrast(1.03);
}

/* AEI text over image */

.products-quality-image-badge {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 3;
    color: var(--aei-red, #ed111f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
    transform: rotate(-5deg);
}

/* =========================================
   RIGHT TESTING LIST
========================================= */

.products-quality-tests {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.products-quality-test {
    position: relative;
    min-height: 48px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #dedede;
    transition:
        padding-left 0.3s ease,
        border-color 0.3s ease;
}

.products-quality-test:last-child {
    border-bottom: 0;
}

.products-quality-test-icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #252525;
    background-color: transparent;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    font-size: 15px;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.products-quality-test h3 {
    margin: 0;
    padding: 0;
    color: #181818;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.products-quality-test:hover {
    padding-left: 5px;
    border-color: rgba(237, 17, 31, 0.35);
}

.products-quality-test:hover .products-quality-test-icon {
    color: #ffffff;
    background-color: var(--aei-red, #ed111f);
    border-color: var(--aei-red, #ed111f);
    transform: scale(1.06);
}

/* =========================================
   SMALL DESKTOP
========================================= */

@media screen and (max-width: 1199px) {
    .products-quality-container {
        grid-template-columns:
            minmax(220px, 0.8fr)
            minmax(365px, 1.3fr)
            minmax(230px, 0.8fr);
        gap: 30px;
    }

    .products-quality-content h2 {
        font-size: 29px;
    }

    .products-quality-image-area {
        height: 275px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 991px) {
    .products-quality-section {
        padding: 32px 0;
    }

    .products-quality-container {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 30px;
    }

    .products-quality-image-area {
        height: 280px;
    }

    .products-quality-tests {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 0;
        border-top: 1px solid #e0e0e0;
    }

    .products-quality-test {
        min-height: 95px;
        grid-template-columns: 1fr;
        align-content: center;
        justify-items: center;
        gap: 8px;
        padding: 12px 8px;
        border-right: 1px solid #e0e0e0;
        border-bottom: 0;
        text-align: center;
    }

    .products-quality-test:last-child {
        border-right: 0;
    }

    .products-quality-test:hover {
        padding-left: 8px;
    }

    .products-quality-test h3 {
        font-size: 10px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 767px) {
    .products-quality-section {
        padding: 28px 0;
    }

    .products-quality-container {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 23px;
    }

    .products-quality-content {
        padding: 0;
    }

    .products-quality-content h2 {
        font-size: 27px;
    }

    .products-quality-content > p {
        max-width: 370px;
        font-size: 11px;
    }

    .products-quality-points li {
        font-size: 10.5px;
    }

    .products-quality-image-area {
        height: 255px;
    }

    .products-quality-tests {
        width: 100%;
        display: block;
        padding: 0;
        border-top: 0;
    }

    .products-quality-test {
        min-height: 50px;
        grid-template-columns: 34px minmax(0, 1fr);
        justify-items: initial;
        gap: 12px;
        padding: 8px 0;
        border-right: 0;
        border-bottom: 1px solid #dedede;
        text-align: left;
    }

    .products-quality-test:last-child {
        border-bottom: 0;
    }

    .products-quality-test h3 {
        font-size: 11px;
    }

    .products-quality-test:hover {
        padding-left: 5px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 480px) {
    .products-quality-content h2 {
        font-size: 25px;
    }

    .products-quality-image-area {
        height: 220px;
    }

    .products-quality-image-badge {
        right: 17px;
        bottom: 15px;
        font-size: 31px;
    }
}

/* =========================================
   SHARED RESPONSIVE SECTION WIDTHS
   Matches the hero container
========================================= */

@media screen and (max-width: 1399px) {
    .products-hero-container,
    .products-catalog-section::before,
    .products-catalog-container,
    .industries-power-container,
    .products-quality-container {
        width: min(1140px, calc(100% - 32px));
    }
}

@media screen and (max-width: 1199px) {
    .products-hero-container,
    .products-catalog-section::before,
    .products-catalog-container,
    .industries-power-container,
    .products-quality-container {
        width: min(960px, calc(100% - 32px));
    }
}

@media screen and (max-width: 991px) {
    .products-hero-container,
    .products-catalog-section::before,
    .products-catalog-container,
    .industries-power-container,
    .products-quality-container {
        width: min(720px, calc(100% - 32px));
    }
}

@media screen and (max-width: 767px) {
    .products-hero-container,
    .products-catalog-section::before,
    .products-catalog-container,
    .industries-power-container,
    .products-quality-container {
        width: min(540px, calc(100% - 22px));
    }
}

@media screen and (max-width: 575px) {
    .products-hero-container,
    .products-catalog-section::before,
    .products-catalog-container,
    .industries-power-container,
    .products-quality-container {
        width: calc(100% - 22px);
    }
}
.products-catalog-card[data-product] {
    cursor: pointer;
}

.products-catalog-card[data-product]:focus-visible {
    outline: 3px solid rgba(223, 21, 29, 0.28);
    outline-offset: 4px;
}

/* Reference-style compact product catalogue */
.products-catalog-section {
    padding: 58px 0 86px;
    background: #fafafa;
}

.products-catalog-container {
    width: min(1180px, calc(100% - 32px));
}

.products-category-tabs {
    margin-bottom: 26px;
    padding: 0;
    border: 0;
    border-bottom: 2px solid #ececec;
    border-radius: 0;
    box-shadow: none;
}

.products-category-tab {
    min-height: 45px;
    border: 0;
    font-size: 9px;
}

.products-category-tab::after { bottom: -2px; height: 2px; }
.products-category-tab.is-active { box-shadow: none; }

.products-catalog-grid {
    gap: 16px;
}

.products-catalog-card {
    min-height: 0;
    padding: 15px 14px 16px;
    border-color: #e7e7e7;
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(0,0,0,.055);
}

.products-catalog-card::after { display: none; }

.products-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,.1);
}

.products-catalog-image-wrap {
    height: 235px;
    margin-bottom: 8px;
    padding: 8px 16px;
}

.products-catalog-name {
    padding-top: 11px;
    font-size: 12px;
}

@media (max-width: 767px) {
    .products-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .products-catalog-card { padding: 10px 8px 13px; }
    .products-catalog-image-wrap { height: 165px; padding: 4px 6px; }
    .products-catalog-name { font-size: 10px; }
}

@media (max-width: 430px) {
    .products-catalog-image-wrap { height: 140px; }
}
@media screen and (min-width: 992px) {
  .products-page .industries-power-container.industries-power-container {
    width: calc(100% - 60px) !important;
    max-width: 1360px !important;
    margin-inline: auto !important;
  }
}
@media screen and (max-width: 767px) {
  .products-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .products-catalog-card {
    min-height: 0 !important;
    padding: 7px 5px 9px !important;
  }

  .products-catalog-image-wrap {
    height: 100px !important;
    margin-bottom: 5px !important;
    padding: 3px !important;
  }

  .products-catalog-name {
    padding-top: 6px !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

}

@media screen and (max-width: 430px) {
  .products-catalog-image-wrap {
    height: 88px !important;
  }

  .products-catalog-name {
    font-size: 7px !important;
  }
}
@media screen and (max-width: 767px) {
  .products-category-tabs {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .products-category-tab {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 7px 3px !important;
    border-right: 1px solid #eeeeee !important;
    border-bottom: 1px solid #eeeeee !important;
    font-size: 7.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .products-category-tab:nth-child(3n) {
    border-right: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  .products-quality-section {
    padding: 22px 0 !important;
  }

  .products-quality-container.products-quality-container {
    width: calc(100% - 24px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    align-items: stretch !important;
    gap: 12px 8px !important;
  }

  .products-quality-content {
    padding: 6px 0 !important;
  }

  .products-quality-content h2 {
    font-size: 17px !important;
    line-height: 1 !important;
    letter-spacing: -0.4px !important;
  }

  .products-quality-line {
    width: 22px !important;
    height: 2px !important;
    margin: 7px 0 !important;
  }

  .products-quality-content > p {
    max-width: 100% !important;
    font-size: 7px !important;
    line-height: 1.45 !important;
  }

  .products-quality-points {
    gap: 4px !important;
    margin-top: 8px !important;
  }

  .products-quality-points li {
    gap: 5px !important;
    font-size: 6.5px !important;
  }

  .products-quality-points i {
    flex-basis: 11px !important;
    width: 11px !important;
    height: 11px !important;
    font-size: 7px !important;
  }

  .products-quality-image-area {
    width: 100% !important;
    height: 190px !important;
  }

  .products-quality-image-badge {
    right: 10px !important;
    bottom: 9px !important;
    font-size: 23px !important;
  }

  .products-quality-tests {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #e2e2e2 !important;
  }

  .products-quality-test {
    min-height: 68px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 3px !important;
    border: 0 !important;
    border-right: 1px solid #e2e2e2 !important;
    text-align: center !important;
  }

  .products-quality-test:last-child {
    border-right: 0 !important;
  }

  .products-quality-test-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 10px !important;
  }

  .products-quality-test h3 {
    font-size: 6.5px !important;
    line-height: 1.25 !important;
  }
}
@media screen and (max-width: 767px) {
  .products-hero-section,
  .products-hero-container {
    height: 250px !important;
    min-height: 250px !important;
  }
}
@media screen and (max-width: 767px) {
  .products-hero-content {
    position: relative !important;
    top: -90px !important;
  }
}

@media screen and (max-width: 767px) {
  .products-hero-content {
    width: 46% !important;
    max-width: 220px !important;
  }

  .products-title-group {
    max-width: 220px !important;
    grid-template-columns: 3px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .products-title-line {
    width: 3px !important;
    height: 70px !important;
    min-height: 70px !important;
  }

  .products-hero-title,
  .products-hero-subtitle {
    max-width: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
  }

  .products-hero-description {
    max-width: 175px !important;
    margin-top: 5px !important;
    font-size: 7.5px !important;
    line-height: 1.35 !important;
  }
}
@media screen and (max-width: 767px) {
  .products-hero-product-image {
    scale: 0.78 !important;
    transform-origin: right bottom !important;
  }
}
@media screen and (max-width: 767px) {
    .products-hero-product-area {
        right: -28px !important;
        bottom: 48px !important;
    }

    .products-hero-product-image {
        transform-origin: center bottom !important;
        animation: productsHeroFloat 3s ease-in-out infinite !important;
    }
}

@keyframes productsHeroFloat {
    0%,
    100% {
        transform: translateY(-4px) scaleY(1.04);
    }

    50% {
        transform: translateY(-12px) scaleY(1.04);
    }
}
/* =========================================
   PAGE CONTAINER WIDTH SYSTEM
========================================= */

:is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
}

@media (min-width: 576px) {
    :is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) { max-width: 540px !important; }
}

@media (min-width: 768px) {
    :is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) { max-width: 720px !important; }
}

@media (min-width: 992px) {
    :is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) { max-width: 960px !important; }
}

@media (min-width: 1200px) {
    :is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) { max-width: 1140px !important; }
}

@media (min-width: 1400px) {
    :is(main .container,.products-hero-container,.products-catalog-container,.products-quality-container,.industries-power-container) { max-width: 1320px !important; }
}

/* =========================================
   PRODUCTS HERO — MOBILE HEIGHT
========================================= */

@media screen and (max-width: 480px) {

    .products-hero-section,
    .products-hero-container {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
}
/* =========================================
   PRODUCTS HERO CONTENT — SMALL MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .products-hero-content {
        width: 40% !important;
        max-width: 155px !important;
    }

    .products-hero-content::before {
        width: 2px !important;
    }

    .products-hero-title,
    .products-hero-subtitle {
        font-size: 12px !important;
        line-height: 1.05 !important;
        letter-spacing: -0.2px !important;
    }

    .products-hero-description {
        max-width: 135px !important;
        margin-top: 4px !important;
        font-size: 5.5px !important;
        line-height: 1.3 !important;
    }
}
/* =========================================
   PRODUCTS INDUSTRIES — SAME AS SERVICES
   MOBILE ONLY
========================================= */

@media screen and (max-width: 480px) {

    .industries-power-section {
        min-height: 0 !important;
        padding: 24px 15px 22px !important;
    }

    .industries-power-container {
        width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .industries-power-background {
        opacity: 0.75 !important;
        object-position: center !important;
        filter:
            grayscale(5%)
            brightness(1.08)
            contrast(1) !important;
    }

    .industries-power-heading {
        margin-bottom: 16px !important;
    }

    .industries-power-label {
        margin-bottom: 3px !important;
        font-size: 7px !important;
        letter-spacing: 1.8px !important;
    }

    .industries-power-heading h2 {
        font-size: 19px !important;
        line-height: 1.05 !important;
    }

    .industries-heading-mark {
        gap: 7px !important;
        margin-top: 6px !important;
    }

    .industries-heading-mark span {
        width: 34px !important;
    }

    .industries-heading-mark i {
        font-size: 14px !important;
    }

    .industries-power-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 10px !important;
    }

    .industries-power-item {
        padding: 0 !important;
    }

    .industries-power-icon {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 6px !important;
        border-radius: 11px !important;
    }

    .industries-power-icon i {
        font-size: 21px !important;
    }

    .industries-power-item h3 {
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .industries-power-description {
        max-width: 290px !important;
        margin-top: 16px !important;
        font-size: 8px !important;
        line-height: 1.35 !important;
    }
}
@media screen and (max-width: 480px) {

    .products-catalog-section {
        padding-top: 30px !important;
        padding-bottom: 38px !important;
    }
}
/* =========================================
   PRODUCT QUALITY — SLIGHTLY COMPACT MOBILE
========================================= */

@media screen and (max-width: 480px) {

    .products-quality-section {
        padding: 18px 0 !important;
    }

    .products-quality-container.products-quality-container {
        gap: 9px 8px !important;
    }

    .products-quality-image-area {
        height: 180px !important;
    }

    .products-quality-test {
        min-height: 62px !important;
        padding: 6px 3px !important;
    }
}

/* =========================================
   PRODUCT QUALITY — MOBILE TEXT CLARITY
========================================= */

@media screen and (max-width: 480px) {

    .products-quality-content > p {
        font-size: 8px !important;
        line-height: 1.4 !important;
    }

    .products-quality-points li {
        font-size: 7.5px !important;
        line-height: 1.3 !important;
    }

    .products-quality-test h3 {
        font-size: 7px !important;
        line-height: 1.2 !important;
    }

    .products-quality-content,
    .products-quality-test h3 {
        transform: none !important;
        filter: none !important;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}
