/* =========================================================
   PRODUCTS PAGE
   Layout only. Product copy, images and links stay.
========================================================= */

.products-page {
    background: #ffffff;
    color: #4a4a4a;
    font-family: "Google Sans Flex", sans-serif;
}

.products-page img {
    max-width: 100%;
}

.products-page .nav-toggle {
    display: none;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.products-page header {
    background: linear-gradient(to right, #ffffff, #eef8ff);
    box-shadow: 0 1px 0 rgba(0, 60, 143, 0.06), 0 8px 24px rgba(0, 40, 80, 0.06);
    padding: 0;
}

.products-page header .container {
    width: min(1160px, calc(100% - 48px));
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.products-page header .branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.products-page header .branding img {
    width: 118px;
    height: auto;
    margin-right: 16px;
}

.products-page header .company-info h1 {
    margin: 0;
    color: #0072BC;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.products-page header .company-info h1 span {
    color: #003C8F;
}

.products-page header .company-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}

.products-page header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
}

.products-page header nav a {
    position: relative;
    color: #003C8F;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
    text-decoration: none;
}

.products-page header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00AEEF;
    transition: width .25s ease;
}

.products-page header nav a:hover,
.products-page header nav a.active,
.products-page header nav a[href="products.html"] {
    color: #00AEEF;
}

.products-page header nav a:hover::after,
.products-page header nav a.active::after,
.products-page header nav a[href="products.html"]::after {
    width: 100%;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.products-page .products-hero {
    min-height: 0;
    background:
        linear-gradient(180deg, rgba(0, 28, 64, 0.55), rgba(0, 24, 56, 0.72)),
        url("../images/products/products-hero.jpg") center center / cover no-repeat;
}

.products-page .products-hero::after {
    display: none;
}

.products-page .products-hero .hero-container {
    display: block;
    width: min(1160px, calc(100% - 48px));
    max-width: 1160px;
    min-height: 0;
    margin: 0 auto;
    padding: 72px 0 48px;
}

.products-page .products-hero .hero-content {
    display: block;
    height: auto;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.products-page .hero-label {
    color: #4FC3F7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.products-page .products-hero h1 {
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.products-page .products-hero h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: #00AEEF;
}

.products-page .products-hero .hero-content > p {
    margin: 16px auto 0;
    max-width: 560px;
    color: #E5E5E5;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.products-page .breadcrumb {
    justify-content: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
}

.products-page .breadcrumb a {
    color: #ffffff;
}

.products-page .hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.products-page .hero-feature {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.products-page .hero-feature-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 16px;
}

.products-page .hero-feature strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.products-page .hero-feature span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 500;
}

/* ---------------------------------------------------------
   CATALOGUE
--------------------------------------------------------- */

.products-page .products-area {
    padding: 48px 0 72px;
    background: #F8FBFC;
}

.products-page .products-container {
    width: min(1160px, calc(100% - 48px));
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.products-page .product-sidebar {
    position: sticky;
    top: 102px;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 40, 80, 0.08);
    overflow: hidden;
}

.products-page .sidebar-title {
    padding: 20px 18px 14px;
    border-bottom: 1px solid #e7f0f6;
    color: #003C8F;
    font-size: 16px;
    font-weight: 800;
}

.products-page .sidebar-title i {
    margin-right: 8px;
    color: #0072BC;
}

.products-page .category-link {
    min-height: 48px;
    padding: 12px 18px;
    gap: 12px;
    border-bottom: 1px solid #eef4f8;
    color: #38516b;
    font-size: 14px;
    font-weight: 700;
}

.products-page .category-link i {
    width: 18px;
    color: #0072BC;
    font-size: 14px;
}

.products-page .category-link:hover {
    background: #eef8ff;
    color: #0072BC;
}

.products-page .category-link.active {
    background: #0072BC;
    color: #ffffff;
}

.products-page .category-link.active i {
    color: #ffffff;
}

.products-page .catalog-box {
    margin: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #e7f4fb;
}

.products-page .catalog-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #0072BC;
    color: #ffffff;
    font-size: 16px;
}

.products-page .catalog-content strong {
    color: #003C8F;
    font-size: 14px;
}

.products-page .catalog-content span {
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.products-page .catalog-box > a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #0072BC;
    font-size: 14px;
}

.products-page .product-category-section {
    scroll-margin-top: 110px;
    margin-bottom: 48px;
}

.products-page .section-heading {
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
}

.products-page .section-heading span {
    margin-bottom: 8px;
    color: #0072BC;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.products-page .section-heading h2 {
    margin: 0 0 8px;
    color: #003C8F;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.products-page .section-heading p {
    margin: 0;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
}

.products-page .product-count {
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: #e7f4fb;
    color: #0072BC;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

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

.products-page .product-card {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 40, 80, 0.07);
    overflow: hidden;
}

.products-page .product-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(0, 40, 80, 0.12);
}

.products-page .product-image {
    height: 190px;
    padding: 18px;
    background: #f7fbfe;
}

.products-page .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products-page .product-tag {
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #0072BC;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.products-page .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 18px;
}

.products-page .product-info h3 {
    margin: 0 0 6px;
    color: #003C8F;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.products-page .product-info p {
    min-height: 0;
    margin: 0 0 14px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.products-page .product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.products-page .product-actions .btn-outline,
.products-page .product-actions .btn-primary {
    width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.products-page .product-actions .btn-outline {
    border: 1.5px solid #0072BC;
    background: #ffffff;
    color: #0072BC;
}

.products-page .product-actions .btn-outline:hover {
    background: #eef8ff;
    color: #003C8F;
    border-color: #003C8F;
}

.products-page .product-actions .btn-primary {
    border: 0 !important;
    background: #009FE3 !important;
    color: #ffffff !important;
}

.products-page .product-actions .btn-primary:hover {
    background: #007BC1 !important;
    border-color: #007BC1 !important;
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   WHY
--------------------------------------------------------- */

.products-page .why-section {
    margin: 0;
    padding: 28px 0 64px;
    border: 0;
    background: #F8FBFC;
}

.products-page .why-container {
    width: min(1160px, calc(100% - 48px));
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.products-page .why-item {
    display: block;
    padding: 22px 18px;
    border: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 40, 80, 0.06);
}

.products-page .why-item > i {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e7f4fb;
    color: #0072BC;
    font-size: 18px;
}

.products-page .why-item h3 {
    margin: 0 0 6px;
    color: #003C8F;
    font-size: 16px;
    font-weight: 800;
}

.products-page .why-item p {
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.products-page .footer {
    padding: 72px 0 0;
    background: #111111;
}

.products-page .footer .footer-grid {
    width: min(1160px, calc(100% - 48px));
}

.products-page .footer h2,
.products-page .footer h4 {
    color: #ffffff;
    font-size: 18px;
}

.products-page .footer h4::after,
.products-page .footer-about h2::after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 10px;
    background: #00AEEF;
}

.products-page .footer .footer-email,
.products-page .footer .footer-email a,
.products-page footer.footer .footer-grid .footer-email {
    white-space: normal;
    overflow-wrap: anywhere;
}

.products-page .back-top {
    z-index: 20;
    border-radius: 50%;
    background: #0d9de3;
    color: #ffffff;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .products-page header .company-info h1,
    .products-page header .company-info p {
        white-space: normal;
    }

    .products-page header .company-info h1 {
        font-size: 18px;
    }

    .products-page header .branding img {
        width: 100px;
    }

    .products-page header nav {
        gap: 16px;
    }

    .products-page .products-hero h1 {
        font-size: 42px;
    }

    .products-page .product-grid,
    .products-page .why-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .products-page header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        width: min(1160px, calc(100% - 32px));
        min-height: 72px;
    }

    .products-page header .company-info {
        display: none;
    }

    .products-page header .branding img {
        width: 112px;
        margin-right: 0;
    }

    .products-page .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 11px 9px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .products-page .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #003C8F;
        transition: transform .2s ease, opacity .2s ease;
    }

    .products-page header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .products-page header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .products-page header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .products-page header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 8px 0 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: linear-gradient(to right, #ffffff, #eef8ff);
        box-shadow: 0 16px 28px rgba(0, 40, 80, 0.12);
    }

    .products-page header.nav-open nav {
        display: flex;
    }

    .products-page header nav a {
        padding: 14px 22px;
        font-size: 16px;
        text-align: left;
    }

    .products-page header nav a::after {
        display: none;
    }

    .products-page .products-hero .hero-container {
        width: min(1160px, calc(100% - 32px));
        padding: 48px 0 32px;
    }

    .products-page .products-hero h1 {
        font-size: 36px;
    }

    .products-page .hero-features {
        grid-template-columns: 1fr;
    }

    .products-page .products-container {
        display: block;
        width: min(1160px, calc(100% - 32px));
    }

    .products-page .product-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 22px;
        padding: 16px;
    }

    .products-page .sidebar-title {
        width: 100%;
        padding: 0 0 8px;
        border-bottom: 0;
    }

    .products-page .category-link {
        width: auto;
        min-height: 40px;
        margin: 0;
        padding: 8px 14px;
        border: 1px solid #d5e7f4;
        border-radius: 999px;
        background: #ffffff;
    }

    .products-page .category-link.active {
        border-color: #0072BC;
    }

    .products-page .catalog-box {
        display: flex;
        width: 100%;
        margin: 8px 0 0;
    }

    .products-page .section-heading {
        display: block;
    }

    .products-page .product-count {
        display: inline-block;
        margin-top: 12px;
    }

    .products-page .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-page .footer-about {
        grid-column: 1 / -1;
    }

}

@media (max-width: 640px) {

    .products-page .products-hero h1,
    .products-page .section-heading h2 {
        font-size: 30px;
    }

    .products-page .products-hero .hero-content > p {
        font-size: 15px;
    }

    .products-page .product-grid,
    .products-page .why-container,
    .products-page .footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .products-page .product-image {
        height: 180px;
    }

}

/* =====================================================
   OUR PRODUCT BRANDS
   Product page only
===================================================== */

.products-page .product-brands-section {
    padding: 64px 0;
    background: #f5f9fc;
}

.products-page .product-brands-section > .container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.products-page .product-brands-heading {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.products-page .product-brands-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #0072BC;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.products-page .product-brands-heading h2 {
    margin: 0 0 14px;
    color: #173b59;
    font-size: 32px;
    font-weight: 800;
}

.products-page .product-brands-heading p {
    margin: 0;
    color: #647789;
    font-size: 15px;
    line-height: 1.8;
}

.products-page .product-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.products-page .product-brand-card {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 20px;
    border: 1px solid #e1eaf1;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.products-page .product-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(23, 59, 89, 0.09);
}

.products-page .product-brand-card h3 {
    margin: 0 0 12px;
    color: #173b59;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.products-page .product-brand-card p {
    margin: 0;
    color: #647789;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .products-page .product-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .products-page .product-brands-section {
        padding: 44px 0;
    }

    .products-page .product-brands-heading {
        margin-bottom: 26px;
    }

    .products-page .product-brands-heading h2 {
        font-size: 28px;
    }

    .products-page .product-brands-grid {
        grid-template-columns: 1fr;
    }

    .products-page .product-brand-card {
        min-height: 120px;
    }
}


/* =====================================================
   PRODUCT BRANDS - FULL-WIDTH HEADING AND 2x3 GRID
===================================================== */

.products-page .product-brands-section > .container {
    display: block;
}

.products-page .product-brands-heading {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.products-page .product-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

.products-page .product-brand-card {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .products-page .product-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .products-page .product-brands-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   PRODUCT BRAND LOGOS
   Preserve logo proportions inside brand cards
===================================================== */

.products-page .product-brand-card img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}


/* =====================================================
   PRODUCT BRAND LOGOS
   Keep original proportions without stretching
===================================================== */

.products-page .product-brand-card img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

