﻿/* =========================================================
   PXM SOFTWARE SOLUTIONS
   Responsive Styles

   File: pxm-responsive.css

   Purpose:
   Responsive overrides for tablets, mobile devices,
   navigation, cards, hero content, and layout components.
   ========================================================= */


/* =========================================================
   Extra Large and Below
   < 1200px
   ========================================================= */

@media (max-width: 1199.98px) {

    .pxm-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }


    .pxm-process-arrow {
        display: none;
    }


    .pxm-feature-shell {
        padding: 3rem;
    }


    .pxm-tech-visual {
        min-height: 500px;
    }


    .pxm-orbit-three {
        width: 430px;
        height: 430px;
    }
}


/* =========================================================
   Large and Below
   < 992px
   ========================================================= */

@media (max-width: 991.98px) {

    /* -----------------------------------------------------
       General Section Spacing
       ----------------------------------------------------- */

    .pxm-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }


    /* -----------------------------------------------------
       Navigation
       ----------------------------------------------------- */

    .pxm-navbar {
        min-height: 76px;
    }


    .pxm-navbar-logo {
        width: 130px;
    }


    .pxm-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1.25rem;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: var(--pxm-radius-md);
        background: rgba(4, 22, 55, 0.98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
    }


    .pxm-navbar .navbar-nav {
        gap: 0.35rem;
    }


    .pxm-navbar .nav-link {
        padding: 0.8rem 0.5rem !important;
    }


        .pxm-navbar .nav-link::after {
            display: none;
        }


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .pxm-home-hero,
    .pxm-hero {
        min-height: auto;
    }


    .pxm-hero-content {
        padding-top: 4.5rem;
        padding-bottom: 5rem;
    }


    .pxm-hero-copy {
        max-width: 760px;
    }


    .pxm-hero-description {
        max-width: 700px;
    }


    .pxm-tech-visual {
        min-height: 500px;
        margin: 3rem auto 0;
    }


    /* -----------------------------------------------------
       Split Layout
       ----------------------------------------------------- */

    .pxm-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }


    .pxm-split-content {
        max-width: none;
    }


    /* -----------------------------------------------------
       Feature Shell
       ----------------------------------------------------- */

    .pxm-feature-shell {
        padding: 2.5rem;
    }


    /* -----------------------------------------------------
       Product Preview
       ----------------------------------------------------- */

    .pxm-product-preview {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       Final CTA
       ----------------------------------------------------- */

    .pxm-final-cta .row > div:first-child {
        margin-bottom: 1rem;
    }


    /* -----------------------------------------------------
       Footer
       ----------------------------------------------------- */

    .pxm-footer-brand {
        max-width: 500px;
        margin-bottom: 1rem;
    }


    .pxm-nav-dropdown > .dropdown-menu {
        top: calc(100% - 2px);
    }


    .pxm-nav-dropdown:hover > .dropdown-menu {
        display: block;
    }

}


/* =========================================================
   Medium and Below
   < 768px
   ========================================================= */

@media (max-width: 767.98px) {

    /* -----------------------------------------------------
       Typography
       ----------------------------------------------------- */

    h1 {
        font-size: clamp( 2.6rem, 11vw, 3.8rem );
    }


    h2 {
        font-size: clamp( 2rem, 8vw, 2.8rem );
    }


    /* -----------------------------------------------------
       Sections
       ----------------------------------------------------- */

    .pxm-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }


    .pxm-page-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }


    .pxm-section-header {
        margin-bottom: 3rem;
    }

    .pxm-service-visual {
        height: 210px;
    }


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .pxm-hero-content {
        padding-top: 3.5rem;
        padding-bottom: 4.5rem;
    }


    .pxm-hero-title {
        margin-bottom: 1.25rem;
    }


    .pxm-hero-description {
        font-size: 1rem;
    }


    .pxm-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }


        .pxm-hero-actions .btn {
            width: 100%;
        }


    .pxm-hero-proof {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin-top: 2.75rem;
    }


    .pxm-proof-item {
        max-width: none;
    }


    /* -----------------------------------------------------
       Hero Technology Graphic
       ----------------------------------------------------- */

    .pxm-tech-visual {
        min-height: 420px;
    }


    .pxm-tech-glow {
        width: 290px;
        height: 290px;
    }


    .pxm-core {
        width: 125px;
        height: 125px;
    }


    .pxm-orbit-one {
        width: 210px;
        height: 210px;
    }


    .pxm-orbit-two {
        width: 290px;
        height: 290px;
    }


    .pxm-orbit-three {
        width: 365px;
        height: 365px;
    }


    .pxm-tech-node {
        width: 120px;
        padding: 0.65rem 0.75rem;
    }


        .pxm-tech-node small {
            display: none;
        }


    .node-integrate {
        left: 1%;
    }


    .node-analyze {
        right: 1%;
    }


    /* -----------------------------------------------------
       Process
       ----------------------------------------------------- */

    .pxm-process {
        grid-template-columns: 1fr;
    }


    .pxm-process-step {
        min-height: auto;
    }


    /* -----------------------------------------------------
       Feature Shell
       ----------------------------------------------------- */

    .pxm-feature-shell {
        padding: 2rem 1.25rem;
    }


    /* -----------------------------------------------------
       Product Preview
       ----------------------------------------------------- */

    .pxm-product-preview {
        padding: 1rem 0;
    }


    .pxm-product-window {
        transform: none;
    }


        .pxm-product-window:hover {
            transform: translateY(-3px);
        }


    .pxm-dashboard-preview {
        grid-template-columns: 64px 1fr;
        min-height: 260px;
    }


    .preview-kpis {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }


        .preview-kpis div {
            height: 42px;
        }


    .preview-chart {
        height: 120px;
    }


    /* -----------------------------------------------------
       Trust Band
       ----------------------------------------------------- */

    .pxm-trust-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    /* -----------------------------------------------------
       Footer
       ----------------------------------------------------- */

    .pxm-footer {
        padding-top: 4rem;
    }


    .pxm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-top: 3rem;
    }

    .pxm-case-study-visual {
        min-height: auto;
        margin-top: 2rem;
    }


    .pxm-case-study-device {
        transform: none;
    }


    .pxm-case-study-screen {
        grid-template-columns: 70px 1fr;
        min-height: 300px;
    }


    .pxm-demo-dashboard {
        grid-template-columns: 1fr;
    }


    .pxm-demo-panel {
        display: none;
    }

    .pxm-innovation-intro {
        padding-top: 0.5rem;
    }


    .pxm-innovation-card {
        padding: 1.5rem;
    }

    .pxm-final-cta-actions {
        flex-direction: column;
    }

        .pxm-final-cta-actions .btn {
            width: 100%;
        }

    .pxm-cta-step {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        padding-left: 0;
        padding-right: 0;
    }

    .pxm-article-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .pxm-article-nav-empty {
        display: none;
    }


    .pxm-article-nav-all {
        grid-row: 1;
        text-align: center;
    }


    .pxm-article-nav-previous {
        justify-content: flex-start;
    }


    .pxm-article-nav-next {
        justify-content: flex-end;
    }
}


/* =========================================================
   Small and Below
   < 576px
   ========================================================= */

@media (max-width: 575.98px) {

    /* -----------------------------------------------------
       General
       ----------------------------------------------------- */

    body {
        font-size: 0.96rem;
    }


    .pxm-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }


    /* -----------------------------------------------------
       Navigation
       ----------------------------------------------------- */

    .pxm-navbar {
        min-height: 70px;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }


    .pxm-navbar-logo {
        width: 118px;
    }


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .pxm-hero-content {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }


    .pxm-hero-proof {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       Hero Graphic
       ----------------------------------------------------- */

    .pxm-tech-visual {
        min-height: 360px;
    }


    .pxm-tech-glow {
        width: 230px;
        height: 230px;
    }


    .pxm-core {
        width: 105px;
        height: 105px;
    }


        .pxm-core span {
            font-size: 1rem;
        }


    .pxm-orbit-one {
        width: 170px;
        height: 170px;
    }


    .pxm-orbit-two {
        width: 235px;
        height: 235px;
    }


    .pxm-orbit-three {
        width: 305px;
        height: 305px;
    }


    .pxm-tech-node {
        width: 98px;
        padding: 0.55rem 0.65rem;
    }


        .pxm-tech-node strong {
            font-size: 0.62rem;
        }


    .node-automate {
        right: 0;
        top: 7%;
    }


    .node-integrate {
        left: 0;
        top: 30%;
    }


    .node-analyze {
        right: 0;
        top: 44%;
    }


    .node-transform {
        left: 3%;
        bottom: 7%;
    }


    .node-innovate {
        right: 3%;
        bottom: 8%;
    }


    /* -----------------------------------------------------
       Service Cards
       ----------------------------------------------------- */

    .pxm-service-card {
        padding: 1.5rem;
    }


        .pxm-service-card p {
            min-height: auto;
        }

    .pxm-service-visual {
        height: 200px;
    }


    .pxm-service-content {
        padding: 1.5rem 1.4rem;
    }

    /* -----------------------------------------------------
       Insight Cards
       ----------------------------------------------------- */

    .pxm-insight-image {
        height: 150px;
    }


    /* -----------------------------------------------------
       Page CTA
       ----------------------------------------------------- */

    .pxm-page-cta {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .pxm-innovation-image-wrap {
        border-radius: var(--pxm-radius-lg);
    }
}
