/* ============================================================
   APEX 999 PRODUCT PAGE
   Desktop + mobile layout based on supplied design references
============================================================ */

:root {
    --apex-orange: #ed862f;
    --apex-orange-dark: #d97826;
    --apex-bronze: #a87525;
    --apex-blue: #164990;
    --apex-cream: #fff7df;
    --apex-cream-soft: #fffaf0;
    --apex-black: #111111;
    --apex-text: #2e2e2e;
    --apex-gray-1: #f3f3f3;
    --apex-gray-2: #d1d1d1;
    --apex-gray-3: #9f9f9f;
}


/* ============================================================
   PAGE BASE
============================================================ */

.apex999-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: var(--apex-text);
    /* font-family: "Times New Roman", Times, serif; */
}

.apex999-page *,
.apex999-page *::before,
.apex999-page *::after {
    box-sizing: border-box;
}

.apex999-container {
    width: min(92%, 1420px);
    margin: 0 auto;
}

.apex999-section {
    padding: 38px 0;
}

.apex999-page p {
    margin: 0 0 13px;
    /* font-size: 18px; */
    line-height: 1.45;
}

.apex999-page h1,
.apex999-page h2,
.apex999-page h3 {
    font-family: "Teko", Arial, sans-serif;
}


/* ============================================================
   COMMON SECTION HEADING
============================================================ */

.apex999-section-heading {
    position: relative;
    margin-bottom: 20px;
    padding-top: 7px;
    border-top: 5px solid var(--apex-orange);
}

/* .apex999-section-heading::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 170px;
    height: 4px;
    background: var(--apex-orange);
} */

.apex999-section-heading h2 {
    display: inline-block;
    position: relative;
    margin: 0;
    padding-bottom: 5px;
    color: var(--apex-black);
    /* font-size: 26px; */
    font-weight: 500;
    line-height: 1;
    letter-spacing: .4px;
}

.apex999-section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    height: 5px;
    background: var(--apex-orange);
}


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

.apex999-hero {
    padding: 28px 0 12px;
}

.apex999-hero-grid {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 515px;
    align-items: stretch;
}


/* HERO VISUAL */

.apex999-hero-visual {
    position: relative;
    min-height: 515px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background-image:
        url("/static/img/productspageimages/apex-page-bg.png");
        background-repeat: no-repeat;

    background-position: left center;

    background-size: 100% 100%;

    background-color: transparent;

    z-index: 1;

    overflow: visible;
}

/* .apex999-silver-shape {
    position: absolute;

    top: 34px;
    left: 0;

    width: 42%;
    height: 495px;

    background-image:
        url("/static/img/productspageimages/apex-page-bg.png");

    background-repeat: no-repeat;

    background-position: left center;

    background-size: 100% 100%;

    background-color: transparent;

    z-index: 1;

    overflow: visible;
} */






/* .apex999-ribbon {
    position: absolute;
    z-index: 5;
    top: 92px;
    left: -24px;
    width: 56%;
    min-width: 310px;
    padding: 16px 28px 13px;
    color: #ffffff;
    background: var(--apex-orange);
    font-family: "Teko", Arial, sans-serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1;
    text-transform: uppercase;
}

.apex999-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -46px;
    width: 48px;
    height: 100%;
    background: var(--apex-orange);
    
}

.apex999-ribbon::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 18px;
    height: 14px;
    background: var(--apex-orange-dark);
    
} */

.apex999-product-stage {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 40px 36px;
}

/* .apex999-product-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    width: 58%;
    height: 50px;
    border-radius: 50%;
    background: rgba(55,55,55,.36);
    filter: blur(8px);
    z-index: -1;
} */

.apex999-product-image {
    width: auto;
    max-width: 64%;
    max-height: 365px;
    object-fit: contain;
    filter: drop-shadow(0 16px 13px rgba(0,0,0,.25));
}


/* HERO COPY */

.apex999-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 5% 42px 3%;
}

.apex999-title {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin: 0;
    font-size: clamp(58px, 5.5vw, 86px);
    font-weight: 600;
    line-height: .88;
    letter-spacing: 2px;
}

.apex999-title-apex {
    color: #080808;
}

.apex999-title-999 {
    color: var(--apex-bronze);
    background: linear-gradient(
        180deg,
        #8c5a16 0%,
        #a96f1c 20%,
        #bd8730 45%,
        #c5913b 60%,
        #ad7726 79%,
        #8f5d17 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apex999-next-generation {
    margin-top: 26px;
    color: #0b0b0b;
    font-family: "Teko", Arial, sans-serif;
    font-size: clamp(30px, 2.8vw, 45px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.apex999-premium-band {
    width: 100%;
    margin-top: 10px;
    padding: 8px 22px 5px;
    color: #ffffff;
    background: linear-gradient(
        90deg,
        #7d7d7d 0%,
        #9d8a74 19%,
        var(--apex-orange) 54%,
        #f2b67a 78%,
        rgba(255,255,255,0) 100%
    );
    font-family: "Teko", Arial, sans-serif;
    font-size: clamp(28px, 2.55vw, 41px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.apex999-hero-description {
    max-width: 720px;
    margin-top: 34px;
}

.apex999-hero-description p {
    color: #272727;
    /* font-size: 18px; */
    line-height: 1.35;
}


/* ============================================================
   INTRO + PERFORMANCE FOCUS
============================================================ */

.apex999-intro-section {
    padding-top: 26px;
}

.apex999-intro-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 30px;
    align-items: stretch;
}

.apex999-copy-block {
    padding-right: 8px;
}

.apex999-performance-card {
    position: relative;
    min-height: 230px;
    padding: 36px 34px 26px 42px;
    background: var(--apex-cream);
    border-left: 6px solid var(--apex-orange);
}

.apex999-performance-kicker {
    display: block;
    color: var(--apex-orange);
    /* font-size: 18px; */
    font-weight: 500;
    letter-spacing: 2px;
    font-family: "Teko", Arial, sans-serif;
}

.apex999-performance-number {
    display: block;
    margin-top: 10px;
    color: var(--apex-blue);
    font-family: "Teko", Arial, sans-serif;
    font-size: 88px;
    font-weight: 600;
    line-height: .85;
}

.apex999-performance-label {
    display: block;
    margin-top: 12px;
    color: #111111;
    /* font-size: 18px; */
    font-weight: 500;
}

.apex999-performance-line {
    width: 48px;
    height: 3px;
    margin: 24px 0 16px;
    background: var(--apex-orange);
}

.apex999-performance-card small {
    color: #777777;
    /* font-size: 9px; */
    line-height: 1.35;
}


/* ============================================================
   BENEFITS
============================================================ */

.apex999-benefits-section {
    padding-top: 22px;
}

.apex999-section-intro {
    max-width: 1180px;
    margin-bottom: 24px !important;
}

.apex999-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 64px;
}

.apex999-benefit-item,
.apex999-advantage-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 16px;
    align-items: flex-start;
}

.apex999-benefit-dot {
    width: 58px;
    height: 58px;
    display: block;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--apex-orange);
}

.apex999-benefit-item h3,
.apex999-advantage-item h3 {
    margin: 0 0 4px;
    color: #111111;
    /* font-size: 22px; */
    font-weight: 500;
    line-height: 1;
    letter-spacing: .3px;
}

.apex999-benefit-item p,
.apex999-advantage-item p {
    margin: 0;
    color: #333333;
    /* font-size: 18px; */
    line-height: 1.35;
}

.apex999-benefit-wide {
    grid-column: span 2;
    max-width: 980px;
}


/* ============================================================
   GAJANAN ADVANTAGE
============================================================ */

.apex999-advantage-section {
    padding-top: 28px;
}

.apex999-advantage-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 28px;
    align-items: start;
}

.apex999-advantage-intro {
    margin-bottom: 18px !important;
}

.apex999-advantage-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.apex999-quality-card {
    background: var(--apex-cream);
    border-left: 7px solid var(--apex-orange);
    min-height: 440px;
}

.apex999-quality-card-inner {
    padding: 32px 28px 30px;
}

.apex999-quality-company {
    display: block;
    color: var(--apex-blue);
    font-family: "Teko", Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
}

.apex999-quality-title {
    display: block;
    margin-top: 4px;
    color: var(--apex-orange);
    font-family: "Teko", Arial, sans-serif;
    font-size: 54px;
    font-weight: 500;
    line-height: .9;
    letter-spacing: 2px;
}

.apex999-quality-subtitle {
    display: block;
    margin-top: 10px;
    color: #222222;
    font-family: "Teko", Arial, sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
}

.apex999-quality-line {
    width: 120px;
    height: 3px;
    margin: 18px 0 22px;
    background: var(--apex-orange);
}

.apex999-quality-points {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.apex999-quality-points span {
    color: var(--apex-orange);
    font-family: "Teko", Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
}


/* ============================================================
   DESIGNED FOR
============================================================ */

.apex999-designed-section {
    padding-top: 18px;
    padding-bottom: 22px;
}

.apex999-designed-section p {
    margin-top: -4px;
}


/* ============================================================
   COMMITMENT
============================================================ */

.apex999-commitment-section {
    padding-top: 18px;
    padding-bottom: 72px;
}

.apex999-commitment-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}

.apex999-commitment-box {
    min-height: 220px;
    padding: 30px 34px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--apex-cream);
    border-right: 7px solid var(--apex-orange);
}

.apex999-commitment-box span {
    color: var(--apex-orange);
    font-family: "Teko", Arial, sans-serif;
    font-size: clamp(30px, 3vw, 47px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 2px;
}

.apex999-commitment-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0 18px 10px;
}

.apex999-commitment-copy h2 {
    margin: 0 0 14px;
    color: #111111;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.apex999-commitment-copy p {
    max-width: 760px;
}


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

@media (max-width: 1100px) {

    .apex999-container {
        width: 94%;
    }

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

    /* .apex999-ribbon {
        min-width: 260px;
        font-size: 25px;
    } */

    .apex999-product-image {
        max-width: 72%;
    }

    .apex999-benefits-grid {
        gap: 26px 34px;
    }

    .apex999-quality-points span {
        font-size: 19px;
    }
}


/* ============================================================
   MOBILE
   Mirrors supplied mobile reference:
   - Product visual first
   - Title/copy below
   - Performance card below hero copy
   - Benefits one column
   - Quality card BEFORE advantage list
   - Commitment box above commitment copy
============================================================ */

@media (max-width: 767px) {

    .apex999-container {
        width: calc(100% - 34px);
    }

    .apex999-page p {
        /* font-size: 13px; */
        line-height: 1.35;
    }

    .apex999-section {
        padding: 24px 0;
    }


    /* HERO */

    .apex999-hero {
        padding-top: 18px;
    }

    .apex999-hero-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .apex999-hero-visual {
        min-height: 365px;
    }

    .apex999-silver-shape {
        inset: 0;
        border-bottom-right-radius: 72% 34%;
        
    }

    /* .apex999-ribbon {
        top: 63px;
        left: -10px;
        width: 58%;
        min-width: 210px;
        padding: 11px 18px 9px;
        font-size: 21px;
        letter-spacing: 1px;
    } */

    /* .apex999-ribbon::after {
        right: -34px;
        width: 36px;
    } */

    .apex999-product-stage {
        padding: 78px 22px 28px;
    }

    .apex999-product-image {
        max-width: 54%;
        max-height: 245px;
    }

    .apex999-product-stage::after {
        bottom: 44px;
        width: 42%;
        height: 32px;
    }

    .apex999-hero-copy {
        padding: 8px 8px 0;
    }

    .apex999-title {
        gap: 12px;
        font-size: 55px;
        letter-spacing: 1px;
    }

    .apex999-next-generation {
        margin-top: 17px;
        font-size: 27px;
        letter-spacing: .8px;
    }

    .apex999-premium-band {
        width: calc(100% + 34px);
        margin-left: -17px;
        margin-top: 9px;
        padding: 7px 17px 5px 34px;
        font-size: 25px;
        letter-spacing: .8px;
        white-space: nowrap;
    }

    .apex999-hero-description {
        margin-top: 20px;
    }

    .apex999-hero-description p {
        /* font-size: 12px; */
        line-height: 1.25;
    }


    /* INTRO */

    .apex999-intro-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .apex999-copy-block {
        order: 2;
        padding-right: 0;
    }

    .apex999-performance-card {
        order: 1;
        width: 58%;
        min-width: 250px;
        min-height: 180px;
        padding: 26px 24px 20px 34px;
    }

    .apex999-performance-number {
        font-size: 70px;
    }

    .apex999-performance-label {
        font-size: 11px;
    }

    .apex999-performance-card small {
        font-size: 8px;
    }


    /* SECTION HEADING */

    .apex999-section-heading {
        margin-bottom: 14px;
    }

    .apex999-section-heading::after {
        width: 120px;
    }

    .apex999-section-heading h2 {
        font-size: 21px;
    }


    /* BENEFITS */

    .apex999-section-intro {
        margin-bottom: 16px !important;
    }

    .apex999-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .apex999-benefit-wide {
        grid-column: auto;
        max-width: none;
    }

    .apex999-benefit-item,
    .apex999-advantage-item {
        grid-template-columns: 48px 1fr;
        gap: 12px;
    }

    .apex999-benefit-dot {
        width: 44px;
        height: 44px;
    }

    .apex999-benefit-item h3,
    .apex999-advantage-item h3 {
        font-size: 17px;
    }

    .apex999-benefit-item p,
    .apex999-advantage-item p {
        font-size: 11px;
        line-height: 1.25;
    }


    /* ADVANTAGE - QUALITY CARD FIRST */

    .apex999-advantage-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .apex999-quality-card {
        order: 1;
        width: 64%;
        min-width: 270px;
        min-height: 390px;
    }

    .apex999-advantage-copy {
        order: 2;
    }

    .apex999-quality-card-inner {
        padding: 26px 22px;
    }

    .apex999-quality-company {
        font-size: 18px;
    }

    .apex999-quality-title {
        font-size: 46px;
    }

    .apex999-quality-subtitle {
        font-size: 20px;
    }

    .apex999-quality-points {
        gap: 25px;
    }

    .apex999-quality-points span {
        font-size: 18px;
    }

    .apex999-advantage-list {
        gap: 14px;
    }


    /* DESIGNED FOR */

    .apex999-designed-section {
        padding-top: 14px;
    }


    /* COMMITMENT */

    .apex999-commitment-section {
        padding-bottom: 48px;
    }

    .apex999-commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .apex999-commitment-box {
        width: 74%;
        min-width: 290px;
        min-height: 190px;
        padding: 24px 20px 22px;
        border-left: 5px solid var(--apex-orange);
        border-right: 0;
    }

    .apex999-commitment-box span {
        font-size: 32px;
    }

    .apex999-commitment-copy {
        padding: 0;
    }

    .apex999-commitment-copy h2 {
        font-size: 19px;
    }
}


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

@media (max-width: 430px) {

    .apex999-container {
        width: calc(100% - 28px);
    }

    .apex999-hero-visual {
        min-height: 325px;
    }

    /* .apex999-ribbon {
        top: 56px;
        min-width: 195px;
        font-size: 19px;
    } */

    .apex999-product-image {
        max-width: 57%;
        max-height: 220px;
    }

    .apex999-title {
        font-size: 49px;
    }

    .apex999-next-generation {
        font-size: 24px;
    }

    .apex999-premium-band {
        width: calc(100% + 28px);
        margin-left: -14px;
        padding-left: 28px;
        font-size: 21px;
    }

    .apex999-performance-card {
        width: 62%;
        min-width: 230px;
    }

    .apex999-quality-card {
        width: 69%;
        min-width: 250px;
    }

    .apex999-commitment-box {
        width: 82%;
        min-width: 260px;
    }
}