﻿/*
Theme Name: Zhongshan Shengjia Lighting Safe 1.9.20
Theme URI: https://example.com/baifang-lighting
Author: Codex
Description: Corporate WordPress theme for lighting and electrical engineering companies, with homepage sections, article lists, pages, search, and responsive layout.
Version: 1.9.20
Requires at least: 6.0
Tested up to: 6.8.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: zs-lighting-safe-v1920
*/

:root {
    --ink: #172033;
    --muted: #667085;
    --line: #e7eaf0;
    --brand: #0a6fb7;
    --brand-dark: #084b7c;
    --accent: #d6a84f;
    --paper: #ffffff;
    --soft: #f6f8fb;
}

/* v1.9.16 footer registration links */
.copyright__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.footer-records {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-records a {
    color: inherit;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-records a:hover {
    color: #fff;
    opacity: 1;
}

@media (max-width: 900px) {
    .copyright__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-records {
        justify-content: center;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 32px));
}

.header__main,
.section__head--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header__main {
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--brand-dark);
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.custom-logo-link img {
    width: auto;
    max-height: 52px;
}

.primary-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    display: block;
    padding: 10px 14px;
    color: #243047;
    font-weight: 600;
    border-radius: 6px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: var(--brand);
    background: #eaf5fd;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #fff;
    background: #10324f;
}

.hero__media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0.56;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 25, 43, 0.9), rgba(8, 25, 43, 0.45), rgba(8, 25, 43, 0.15));
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 130px 0 120px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    width: min(780px, 100%);
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.08;
}

.hero p:not(.eyebrow) {
    width: min(620px, 100%);
    margin: 24px 0 34px;
    color: #e8f3fb;
    font-size: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    color: #122033;
    background: var(--accent);
    font-weight: 800;
}

.button:hover {
    background: #ffc94c;
}

.button--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.button--ghost:hover {
    color: #122033;
    background: #fff;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-banner {
    position: relative;
    width: min(1886px, calc(100% - 20px));
    margin: 0 auto;
    overflow: hidden;
    background: #102b45;
}

.home-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-banner__copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, 42vw);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.home-banner__copy p {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
}

.home-banner__copy h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
}

.home-banner__copy span {
    font-size: clamp(18px, 2.6vw, 30px);
    line-height: 1.5;
}

.image-showcase {
    padding-top: 64px;
}

.showcase-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 70px);
    align-items: stretch;
}

.showcase-images img {
    width: 100%;
    height: min(33vw, 624px);
    min-height: 360px;
    object-fit: cover;
    border-radius: 36px;
}

.showcase-copy {
    width: min(1280px, 100%);
    margin: 28px auto 0;
    text-align: center;
}

.showcase-copy h2 {
    margin: 0 0 18px;
    color: #93651a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
}

.showcase-copy p {
    margin: 0;
    color: #0f172a;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.85;
}

.section {
    padding: 82px 0;
}

.section--muted {
    background: var(--soft);
}

.section__head {
    margin-bottom: 32px;
}

.section__head h2,
.page-title h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
}

.feature-grid,
.post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

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

.product-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.product-filter {
    position: sticky;
    top: 132px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(16, 43, 69, 0.08);
}

.product-filter h2 {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: 20px;
}

.product-filter nav {
    display: grid;
    gap: 4px;
}

.product-filter a,
.product-filter__parent {
    display: flex;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    color: #0f2544;
    border: 0;
    border-radius: 6px;
    font-weight: 500;
}

.product-filter a:hover,
.product-filter a.is-active {
    color: #fff;
    background: var(--brand-dark);
}

.product-filter__parent {
    margin-top: 8px;
    color: var(--brand-dark);
    font-weight: 800;
}

.product-filter__children {
    display: grid;
    gap: 2px;
    margin: 0 0 8px 10px;
    padding-left: 10px;
    border-left: 1px solid var(--line);
}

.product-filter__children a {
    min-height: 32px;
    font-size: 14px;
}

.product-results {
    min-width: 0;
}

.product-layout .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

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

.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.feature-grid article,
.post-card,
.catalog-card,
.case-card,
.empty-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(16, 43, 69, 0.06);
}

.empty-card {
    padding: 28px;
}

.feature-grid article {
    padding: 28px;
}

.feature-grid span {
    color: var(--brand);
    font-weight: 900;
}

.feature-grid h3,
.post-card h3,
.catalog-card h3,
.case-card h3,
.empty-card h3 {
    margin: 10px 0;
    font-size: 22px;
    line-height: 1.35;
}

.feature-grid p,
.post-card p,
.catalog-card p,
.case-card p,
.empty-card p,
.content p,
.page-title p,
.site-footer p {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 48px;
    align-items: center;
}

.split h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stats div {
    min-height: 130px;
    padding: 22px;
    display: grid;
    align-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stats strong {
    color: var(--brand);
    font-size: 36px;
    line-height: 1;
}

.stats span {
    margin-top: 8px;
    color: var(--muted);
}

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

.post-card__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #dce8f2;
    overflow: hidden;
}

.catalog-card__thumb,
.case-card__thumb {
    display: block;
    overflow: hidden;
    background: #dce8f2;
}

.catalog-card__thumb {
    aspect-ratio: 1 / 1;
}

.case-card__thumb {
    aspect-ratio: 16 / 10;
}

.case-list .case-card__thumb {
    aspect-ratio: 4 / 3;
}

.catalog-card__thumb img,
.case-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.catalog-card__thumb img {
    object-position: top center;
}

.catalog-card:hover img,
.case-card:hover img {
    transform: none;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.post-card:hover .post-card__thumb img {
    transform: scale(1.04);
}

.post-card__body {
    padding: 22px;
}

.catalog-card__body,
.case-card__body {
    padding: 22px;
}

.catalog-card__body {
    padding: 14px 16px 16px;
}

.case-list .case-card__body {
    padding: 14px 16px 16px;
}

.catalog-card__body h3 {
    color: var(--brand-dark);
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
}

.case-list .case-card__body h3 {
    font-size: 17px;
    line-height: 1.35;
}

.case-list .case-card__body p {
    font-size: 14px;
}

.product-specs {
    display: grid;
    gap: 2px;
    margin-top: 10px;
    color: #25324a;
    font-size: 13px;
    line-height: 1.55;
}

.product-specs div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.product-specs span:first-child {
    color: var(--muted);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: stretch;
}

.contact-panel__intro,
.contact-panel__items {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(16, 43, 69, 0.06);
}

.contact-panel__intro h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.contact-panel__items {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-item span {
    color: var(--muted);
    font-weight: 700;
}

.contact-item strong {
    color: var(--brand-dark);
    font-size: 18px;
    word-break: break-word;
}

.case-card__body span {
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    color: var(--brand-dark);
    background: #eaf5fd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.page-title--with-search {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
}

.term-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -10px 0 30px;
}

.term-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    color: #31415c;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
}

.term-tabs a:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 36px;
    align-items: start;
}

.article-wrap,
.news-list {
    min-width: 0;
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(16, 43, 69, 0.06);
}

.news-item__thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--soft);
    border-radius: 6px;
}

.news-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item__body h2 {
    margin: 8px 0 10px;
    font-size: 25px;
    line-height: 1.35;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.article-meta a {
    color: var(--brand);
}

.news-sidebar {
    display: grid;
    gap: 18px;
}

.widget {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(16, 43, 69, 0.06);
}

.widget-title {
    margin: 0 0 14px;
    font-size: 20px;
}

.widget ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget li {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.widget li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: start;
}

.detail-media {
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
}

.detail-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.16;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 26px;
}

.meta-list span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    color: #31415c;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
}

.post-card time {
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.text-link {
    color: var(--brand);
    font-weight: 800;
}

.page-title {
    margin-bottom: 34px;
}

.article__header {
    margin-bottom: 26px;
}

.article__header h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.16;
}

.article__cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.content {
    font-size: 18px;
}

.content h2,
.content h3 {
    margin-top: 34px;
    line-height: 1.3;
}

.content a {
    color: var(--brand);
    text-decoration: underline;
}

.content img {
    border-radius: 8px;
}

.article__footer {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 4px 6px 4px 0;
    padding: 0 10px;
    color: var(--brand);
    background: #eaf5fd;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.post-nav div {
    min-height: 64px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.related-posts {
    margin-top: 44px;
}

.comments-area {
    margin-top: 44px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.comment-list {
    margin: 0 0 24px;
    padding-left: 20px;
}

.comment-list li {
    margin: 0 0 18px;
}

.comment-form {
    display: grid;
    gap: 14px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
}

.comment-form .submit {
    width: auto;
    min-height: 44px;
    padding: 0 20px;
    color: #fff;
    background: var(--brand);
    border: 0;
    font-weight: 800;
}

.search-form {
    display: flex;
    width: min(560px, 100%);
    gap: 10px;
}

.search-form label {
    flex: 1;
}

.search-field {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.search-form button {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: var(--brand);
}

.nav-links {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.nav-links a,
.nav-links span,
.pagination a,
.pagination span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.nav-links .current,
.pagination .current {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.site-footer {
    color: #dbe8f2;
    background: #102b45;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 40px;
    padding: 54px 0;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
    margin: 0 0 14px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer a {
    color: #dbe8f2;
}

.copyright {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #a8bdcf;
    font-size: 14px;
}

.error-page {
    text-align: center;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 116px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        width: min(1160px, calc(100% - 32px));
        margin: 0 auto;
        padding: 14px 0;
        display: grid;
        gap: 4px;
    }

    .feature-grid,
    .post-grid,
    .catalog-grid,
    .case-grid,
    .case-list,
    .split,
    .footer__grid,
    .detail-layout,
    .content-layout,
    .product-layout,
    .contact-panel,
    .news-item,
    .post-nav {
        grid-template-columns: 1fr;
    }

    .product-filter {
        position: static;
    }

    .page-title--with-search {
        align-items: stretch;
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .home-banner {
        width: 100%;
    }

    .home-banner__copy {
        width: min(520px, calc(100% - 40px));
    }

    .showcase-images {
        grid-template-columns: 1fr;
    }

    .showcase-images img {
        height: auto;
        min-height: 0;
        border-radius: 24px;
    }

    .hero {
        min-height: 560px;
    }
}

@media (max-width: 560px) {
    .brand span {
        font-size: 17px;
    }

    .hero__content {
        padding: 96px 0 88px;
    }

    .hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .section {
        padding: 56px 0;
    }

    .search-form {
        flex-direction: column;
    }
}

/* v1.8.8 richer homepage treatment */
body {
    background: linear-gradient(180deg, #ffffff 0, #f7fbff 34%, #ffffff 100%);
}

.home-banner {
    border-radius: 0 0 18px 18px;
    box-shadow: 0 26px 70px rgba(11, 39, 66, 0.18);
}

.home-banner__copy::before {
    content: "";
    position: absolute;
    inset: -24px -34px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(6, 28, 48, 0.26);
    backdrop-filter: blur(3px);
}

.home-ribbon {
    position: relative;
    z-index: 2;
    margin-top: -34px;
}

.home-ribbon__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(16, 43, 69, 0.12);
}

.home-ribbon__grid div {
    min-height: 76px;
    display: grid;
    align-content: center;
    padding: 14px 18px;
    border-left: 4px solid var(--accent);
    background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.home-ribbon__grid strong {
    color: var(--brand);
    font-size: 28px;
    line-height: 1;
}

.home-ribbon__grid span {
    margin-top: 6px;
    color: #475569;
    font-weight: 700;
}

.image-showcase {
    padding-top: 86px;
    background: linear-gradient(90deg, rgba(245, 180, 42, 0.1), transparent 28%, rgba(10, 111, 183, 0.08));
}

.showcase-images img {
    box-shadow: 0 28px 64px rgba(16, 43, 69, 0.14);
}

.showcase-images img:nth-child(2) {
    transform: translateY(-26px);
}

.showcase-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.showcase-track span {
    min-height: 48px;
    display: grid;
    place-items: center;
    color: #0f2544;
    background: #fff;
    border: 1px solid var(--line);
    border-bottom: 3px solid var(--accent);
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(16, 43, 69, 0.06);
}

.section--layered {
    background: linear-gradient(135deg, #ffffff 0%, #edf7ff 42%, #fff8e8 100%);
}

.feature-grid article {
    position: relative;
    min-height: 218px;
    border-top: 4px solid var(--brand);
}

.feature-grid article:nth-child(even) {
    border-top-color: var(--accent);
    transform: translateY(22px);
}

.feature-grid span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #eaf5fd;
    border-radius: 50%;
}

.section--products {
    background: linear-gradient(180deg, #f5f8fb, #ffffff);
}

.product-sparks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -12px 0 28px;
}

.product-sparks span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(16, 43, 69, 0.05);
}

.catalog-card {
    box-shadow: 0 14px 32px rgba(16, 43, 69, 0.08);
}

.catalog-card:hover,
.case-card:hover,
.post-card:hover {
    border-color: rgba(10, 111, 183, 0.32);
    box-shadow: 0 22px 48px rgba(16, 43, 69, 0.14);
}

.section--case-wall {
    color: #fff;
    background: linear-gradient(135deg, #0d2d4b 0%, #123f62 58%, #2f5c73 100%);
}

.section--case-wall .section__head h2,
.section--case-wall .text-link {
    color: #fff;
}

.section--case-wall .case-card {
    color: var(--ink);
}

.section--about-rich {
    background: linear-gradient(135deg, #fffaf0 0%, #f1f8ff 46%, #ffffff 100%);
}

.split--rich {
    padding: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(16, 43, 69, 0.08);
}

.stats div:nth-child(1) {
    background: #eaf5fd;
}

.stats div:nth-child(2) {
    background: #fff7e0;
}

.stats div:nth-child(3) {
    background: #edf7ef;
}

.about-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.about-checks span {
    padding: 12px 14px;
    color: #0f2544;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .home-ribbon__grid,
    .showcase-track,
    .about-checks {
        grid-template-columns: 1fr;
    }

    .showcase-images img:nth-child(2),
    .feature-grid article:nth-child(even) {
        transform: none;
    }
}

/* v1.9.5 orange visual system and richer inner pages */
body {
    background: linear-gradient(180deg, #fffaf5 0, #fff7ed 30%, #ffffff 68%);
}

.site-header {
    border-top: 4px solid var(--brand);
}

.primary-nav a::after {
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.home-banner__copy::before {
    content: none;
    display: none;
}

.home-banner {
    box-shadow: 0 26px 70px rgba(154, 52, 18, 0.2);
}

.home-ribbon__grid {
    border-color: rgba(249, 115, 22, 0.18);
    box-shadow: 0 18px 48px rgba(154, 52, 18, 0.12);
}

.home-ribbon__grid div {
    border-left-color: var(--brand);
    background:
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.28), transparent 35%),
        linear-gradient(135deg, #ffffff, #fff7ed);
}

.home-ribbon__grid strong,
.feature-grid span,
.stats strong,
.text-link {
    color: var(--brand);
}

.image-showcase {
    background:
        radial-gradient(circle at 18% 10%, rgba(250, 204, 21, 0.22), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.15), transparent 24%),
        linear-gradient(90deg, rgba(255, 247, 237, 0.95), #ffffff 45%, #fff7ed);
}

.showcase-track span {
    border-bottom-color: var(--brand);
    box-shadow: 0 12px 30px rgba(154, 52, 18, 0.08);
}

.section--layered {
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.2), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #fff7ed 48%, #ffedd5 100%);
}

.feature-grid article {
    border-top-color: var(--brand);
    box-shadow: 0 20px 48px rgba(154, 52, 18, 0.08);
}

.feature-grid article:nth-child(even) {
    border-top-color: var(--accent);
}

.feature-grid span {
    background: #ffedd5;
}

.section--products {
    background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.product-sparks span {
    color: var(--brand-dark);
    border-color: rgba(249, 115, 22, 0.18);
    background: #fffaf5;
}

.catalog-card:hover,
.case-card:hover,
.post-card:hover {
    border-color: rgba(249, 115, 22, 0.38);
    box-shadow: 0 22px 48px rgba(154, 52, 18, 0.15);
}

.section--case-wall {
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(250, 204, 21, 0.22), transparent 28%),
        linear-gradient(135deg, #431407 0%, #9a3412 56%, #f97316 100%);
}

.section--about-rich {
    background:
        radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.18), transparent 25%),
        linear-gradient(135deg, #fffaf0 0%, #fff7ed 46%, #ffffff 100%);
}

.split--rich,
.inner-rich,
.product-filter,
.catalog-card,
.case-card,
.post-card,
.sidebar-widget {
    box-shadow: 0 22px 54px rgba(154, 52, 18, 0.08);
}

.stats div:nth-child(1) {
    background: #ffedd5;
}

.stats div:nth-child(2) {
    background: #fef3c7;
}

.stats div:nth-child(3) {
    background: #fff7ed;
}

.inner-rich {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    padding: 28px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(250, 204, 21, 0.25), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #fff7ed 58%, #ffedd5 100%);
}

.inner-rich::before {
    content: "";
    position: absolute;
    top: -64px;
    right: -34px;
    width: 190px;
    height: 190px;
    border: 28px solid rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.inner-rich__intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.inner-rich__intro h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
}

.inner-rich__intro > p {
    margin: 0;
    color: #7c2d12;
    font-size: 17px;
}

.inner-rich__cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.inner-rich__cards article {
    min-height: 174px;
    padding: 22px;
    border: 1px solid rgba(249, 115, 22, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
}

.inner-rich__cards span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-radius: 50%;
    font-weight: 900;
}

.inner-rich__cards h3 {
    margin: 16px 0 8px;
    font-size: 22px;
}

.inner-rich__cards p {
    margin: 0;
    color: #7c2d12;
}

.inner-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(135deg, #431407, #9a3412);
    border-radius: 8px;
}

.inner-cta strong,
.inner-cta span {
    display: block;
}

.inner-cta strong {
    font-size: 20px;
}

.inner-cta span {
    color: rgba(255, 255, 255, 0.78);
}

.inner-cta a {
    flex: 0 0 auto;
    padding: 10px 18px;
    color: #431407;
    background: var(--accent);
    border-radius: 999px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .inner-rich__intro,
    .inner-rich__cards {
        grid-template-columns: 1fr;
    }

    .inner-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* v1.9.5 cleaner orange and navy balance */
body {
    background: linear-gradient(180deg, #ffffff 0, #f6f8fb 38%, #ffffff 100%);
}

.site-header {
    border-top-color: var(--brand);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--brand);
}

.page-title .eyebrow,
.section__head .eyebrow,
.inner-rich .eyebrow {
    color: var(--brand);
}

.page-title h1,
.section__head h2,
.inner-rich__intro h2,
.inner-rich__cards h3,
.catalog-card h3,
.case-card h3,
.post-card h3 {
    color: #071b35;
}

.section--muted,
.section--products,
.image-showcase,
.section--about-rich {
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 183, 3, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section--layered {
    background:
        radial-gradient(circle at 8% 10%, rgba(249, 115, 22, 0.12), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 54%, #fff7ed 100%);
}

.home-ribbon__grid div,
.feature-grid article,
.catalog-card,
.case-card,
.post-card,
.sidebar-widget,
.inner-rich__cards article {
    border-color: rgba(11, 53, 88, 0.12);
    background: rgba(255, 255, 255, 0.94);
}

.feature-grid span,
.inner-rich__cards span {
    background: linear-gradient(135deg, #0b3558, #f97316);
}

.inner-rich {
    border-color: rgba(249, 115, 22, 0.22);
    background:
        radial-gradient(circle at 96% 0, rgba(255, 183, 3, 0.24), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 56%, #fff7ed 100%);
}

.inner-rich__intro > p,
.inner-rich__cards p {
    color: #526176;
}

.inner-cta {
    color: #fff;
    background:
        radial-gradient(circle at 92% 20%, rgba(255, 183, 3, 0.22), transparent 28%),
        linear-gradient(135deg, #071b35 0%, #0b3558 72%, #f97316 100%);
}

.inner-cta a {
    color: #071b35;
    background: linear-gradient(135deg, #ffb703, #ffd166);
}

.section--case-wall {
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 183, 3, 0.18), transparent 28%),
        linear-gradient(135deg, #071b35 0%, #0b3558 62%, #f97316 100%);
}

.stats div:nth-child(1),
.stats div:nth-child(2),
.stats div:nth-child(3) {
    background: #ffffff;
    border: 1px solid rgba(11, 53, 88, 0.1);
}

.catalog-card:hover,
.case-card:hover,
.post-card:hover {
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 24px 52px rgba(11, 53, 88, 0.12);
}

/* v1.9.5 previous tone refinements */
.site-header {
    border-top: 0;
}

body {
    background:
        radial-gradient(circle at 90% 12%, rgba(251, 191, 36, 0.16), transparent 25%),
        linear-gradient(180deg, #fffaf0 0%, #fff7ed 38%, #ffffff 100%);
}

.site-footer {
    color: #fff7ed;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(135deg, #92400e 0%, #d97706 48%, #f59e0b 100%);
}

.site-footer h2,
.site-footer h3,
.site-footer a {
    color: #fff;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.78);
}

.copyright {
    border-top-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.8);
}

.section--case-wall,
.inner-cta {
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #92400e 0%, #d97706 58%, #f59e0b 100%);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.page-title .eyebrow,
.section__head .eyebrow,
.inner-rich .eyebrow,
.text-link {
    color: #d97706;
}

/* v1.9.5 premium export style */
:root {
    --ink: #0b1628;
    --muted: #657489;
    --line: #e6ebf2;
    --brand: #0a6fb7;
    --brand-dark: #062b49;
    --accent: #d6a84f;
    --paper: #ffffff;
    --soft: #f5f8fb;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 8%, rgba(10, 111, 183, 0.08), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fb 42%, #ffffff 100%);
}

.site-header {
    border-top: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 34px rgba(6, 43, 73, 0.08);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.page-title .eyebrow,
.section__head .eyebrow,
.inner-rich .eyebrow,
.text-link {
    color: var(--brand);
}

.primary-nav a::after {
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.page-title h1,
.section__head h2,
.inner-rich__intro h2,
.inner-rich__cards h3,
.catalog-card h3,
.case-card h3,
.post-card h3 {
    color: #071b35;
}

.home-banner {
    box-shadow: 0 28px 72px rgba(6, 43, 73, 0.18);
}

.home-ribbon__grid,
.split--rich,
.inner-rich,
.product-filter,
.catalog-card,
.case-card,
.post-card,
.sidebar-widget,
.contact-item {
    border-color: rgba(6, 43, 73, 0.1);
    box-shadow: 0 22px 58px rgba(6, 43, 73, 0.08);
}

.section--muted,
.section--products,
.image-showcase,
.section--about-rich {
    background:
        radial-gradient(circle at 12% 12%, rgba(214, 168, 79, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.section--layered {
    background:
        radial-gradient(circle at 84% 12%, rgba(10, 111, 183, 0.1), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4f8fc 54%, #eef5fb 100%);
}

.home-ribbon__grid div,
.feature-grid article,
.catalog-card,
.case-card,
.post-card,
.sidebar-widget,
.inner-rich__cards article {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(6, 43, 73, 0.1);
}

.home-ribbon__grid div,
.feature-grid article {
    border-left-color: var(--accent);
}

.home-ribbon__grid strong,
.stats strong {
    color: var(--brand);
}

.feature-grid span,
.inner-rich__cards span {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.showcase-track span {
    border-bottom-color: var(--accent);
}

.inner-rich {
    background:
        radial-gradient(circle at 94% 0, rgba(214, 168, 79, 0.18), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef5fb 100%);
}

.inner-rich::before {
    border-color: rgba(10, 111, 183, 0.08);
}

.inner-rich__intro > p,
.inner-rich__cards p {
    color: #526176;
}

.section--case-wall,
.inner-cta,
.site-footer {
    color: #eaf3fb;
    background:
        radial-gradient(circle at 18% 20%, rgba(214, 168, 79, 0.16), transparent 28%),
        linear-gradient(135deg, #061a2f 0%, #082f4f 58%, #0a6fb7 100%);
}

.section--case-wall .section__head h2,
.section--case-wall .text-link,
.site-footer h2,
.site-footer h3,
.site-footer a {
    color: #fff;
}

.site-footer p {
    color: rgba(234, 243, 251, 0.72);
}

.copyright {
    border-top-color: rgba(255, 255, 255, 0.14);
    color: rgba(234, 243, 251, 0.76);
}

.inner-cta a {
    color: #061a2f;
    background: linear-gradient(135deg, #f0d58d, var(--accent));
}

.button,
.search-submit,
.pagination .current,
.nav-links .current {
    background: linear-gradient(135deg, var(--brand), #0f7fc9);
    border-color: transparent;
}

.catalog-card:hover,
.case-card:hover,
.post-card:hover {
    border-color: rgba(214, 168, 79, 0.52);
    box-shadow: 0 28px 64px rgba(6, 43, 73, 0.14);
}

/* v1.9.5 reference-inspired lighting export homepage */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(6, 43, 73, 0.08);
    box-shadow: 0 18px 48px rgba(6, 43, 73, 0.08);
}

.header__main {
    min-height: 72px;
}

.primary-nav a {
    font-weight: 700;
    letter-spacing: 0;
}

.home-banner {
    width: 100%;
    min-height: clamp(520px, 72vh, 760px);
    margin: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 72% 25%, rgba(214, 168, 79, 0.28), transparent 26%),
        linear-gradient(90deg, #02040a 0%, #101319 46%, #1c1a15 100%);
}

.home-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 38%, rgba(0, 0, 0, 0.04) 72%),
        radial-gradient(circle at 74% 24%, rgba(214, 168, 79, 0.16), transparent 28%);
    pointer-events: none;
}

.home-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.home-banner__copy {
    z-index: 1;
    left: min(10vw, 140px);
    top: 50%;
    transform: translateY(-50%);
    width: min(560px, 48vw);
    text-align: left;
    text-shadow: none;
}

.home-banner__copy p {
    color: var(--accent);
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-banner__copy h1 {
    font-size: clamp(42px, 5vw, 78px);
    font-weight: 500;
    letter-spacing: 0;
}

.home-banner__copy span {
    display: block;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(18px, 2vw, 28px);
}

.home-ribbon {
    margin: 0;
    padding: 48px 0 24px;
    background: #fff;
}

.home-ribbon__grid {
    box-shadow: none;
    border-radius: 0;
    border-width: 1px 0;
}

.home-ribbon__grid div {
    min-height: 68px;
    border-left: 0;
    border-bottom: 2px solid rgba(214, 168, 79, 0.22);
    background: #fff;
}

.home-ribbon__grid strong {
    font-size: 26px;
}

.image-showcase {
    background: #fff;
}

.showcase-images {
    gap: 0;
}

.showcase-images img {
    min-height: 360px;
    height: min(30vw, 480px);
    border-radius: 0;
    filter: saturate(0.92) contrast(1.04);
}

.showcase-copy h2,
.section__head h2 {
    font-weight: 500;
}

.showcase-track {
    max-width: 980px;
    margin: 42px auto 0;
}

.showcase-track span {
    min-height: 54px;
    background: #fff;
    box-shadow: none;
}

.section--products {
    background: #fff;
}

.product-sparks {
    justify-content: center;
}

.product-sparks span {
    color: #526176;
    border-color: rgba(6, 43, 73, 0.1);
    background: #fff;
}

.catalog-card,
.post-card,
.case-card {
    border-radius: 0;
    box-shadow: none;
}

.catalog-card__thumb,
.case-card__thumb,
.post-card__thumb {
    background: #eef2f6;
}

.catalog-card h3,
.case-card h3,
.post-card h3 {
    font-weight: 700;
}

.section--case-wall {
    position: relative;
    background:
        linear-gradient(rgba(4, 16, 29, 0.78), rgba(4, 16, 29, 0.78)),
        url("assets/gallery-road.png") center / cover no-repeat;
}

.section--case-wall .case-card {
    background: rgba(255, 255, 255, 0.94);
}

.section--about-rich {
    color: #fff;
    background:
        radial-gradient(circle at 16% 28%, rgba(214, 168, 79, 0.22), transparent 28%),
        radial-gradient(circle at 82% 68%, rgba(10, 111, 183, 0.24), transparent 34%),
        linear-gradient(135deg, #03101d 0%, #071c32 48%, #101821 100%);
}

.section--about-rich .split--rich {
    background: rgba(3, 18, 32, 0.58);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.section--about-rich h2,
.section--about-rich .eyebrow {
    color: #fff;
}

.section--about-rich p,
.section--about-rich .stats span {
    color: rgba(255, 255, 255, 0.74);
}

.section--about-rich .about-checks span,
.section--about-rich .stats div {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

main > .section:nth-of-type(8) {
    background:
        linear-gradient(rgba(5, 18, 33, 0.72), rgba(5, 18, 33, 0.72)),
        url("assets/gallery-courtyard.png") center / cover no-repeat;
}

main > .section:nth-of-type(8) .section__head h2,
main > .section:nth-of-type(8) .section__head .eyebrow,
main > .section:nth-of-type(8) .text-link {
    color: #fff;
}

main > .section:nth-of-type(8) .post-grid {
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
}

.site-footer {
    background: #232323;
}

@media (max-width: 900px) {
    .home-banner__copy {
        left: 24px;
        width: min(560px, calc(100% - 48px));
    }

    .home-banner {
        min-height: 560px;
    }

    .showcase-images {
        gap: 12px;
    }
}

/* v1.9.5 slider, restored showcase images, mobile product display */
.brand span {
    display: inline-block;
    max-width: 320px;
    color: #061a2f;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.home-banner__slides,
.home-banner__slide {
    position: absolute;
    inset: 0;
}

.home-banner__slide {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.home-banner__slide.is-active {
    opacity: 1;
}

.home-banner__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-banner > img {
    display: none;
}

.home-banner__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 28px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.home-banner__dots button {
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.home-banner__dots button.is-active {
    background: var(--accent);
}

.image-showcase {
    padding-top: 86px;
    background: linear-gradient(90deg, rgba(245, 180, 42, 0.1), transparent 28%, rgba(10, 111, 183, 0.08));
}

.showcase-images {
    gap: clamp(28px, 5vw, 70px);
}

.showcase-images img {
    height: min(33vw, 624px);
    min-height: 360px;
    border-radius: 36px;
    box-shadow: 0 28px 64px rgba(16, 43, 69, 0.14);
    filter: none;
}

.showcase-images img:nth-child(2) {
    transform: translateY(-26px);
}

@media (max-width: 900px) {
    .site-header {
        position: relative;
    }

    .header__main {
        min-height: 112px;
        align-items: center;
    }

    .brand img,
    .custom-logo-link img {
        width: auto;
        max-height: 64px;
    }

    .brand span {
        font-size: 20px;
    }

    .home-banner {
        min-height: 0;
        aspect-ratio: 16 / 6.2;
        background: #05070c;
    }

    .home-banner::after {
        display: none;
    }

    .home-banner__slide img {
        object-fit: contain;
        background: #05070c;
    }

    .home-banner__copy {
        display: none;
    }

    .home-banner__dots {
        bottom: 8px;
    }

    .home-banner__dots button {
        width: 22px;
    }

    .home-ribbon {
        display: none;
    }

    .image-showcase {
        padding: 54px 0;
    }

    .showcase-images {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-images img,
    .showcase-images img:nth-child(2) {
        height: auto;
        min-height: 0;
        border-radius: 24px;
        transform: none;
    }

    .section--products .section__head {
        justify-content: center;
        text-align: center;
    }

    .section--products .section__head .text-link,
    .product-sparks {
        display: none;
    }

    .section--products .section__head h2::after,
    .page-title h1::after {
        content: "PRODUCT DISPLAY";
        display: block;
        margin-top: 6px;
        color: #222;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .product-layout {
        display: block;
    }

    .product-filter {
        display: none;
    }

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

    .catalog-card {
        border: 1px solid #e8e8e8;
        background: #fff;
    }

    .catalog-card__thumb {
        aspect-ratio: 1 / 1;
        background: #fff;
    }

    .catalog-card__thumb img {
        object-fit: contain;
        object-position: center;
        padding: 16px;
    }

    .catalog-card__body {
        padding: 0;
        background: #3f3f3f;
        text-align: center;
    }

    .catalog-card__body h3 {
        margin: 0;
        padding: 12px 8px;
        color: #fff;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 500;
    }

    .catalog-card__body p,
    .catalog-card__body .product-specs,
    .catalog-card__body span {
        display: none;
    }
}

/* v1.9.5 mobile banner, showcase and product taxonomy fixes */
@media (max-width: 900px) {
    .home-banner {
        width: 100%;
        min-height: 0;
        aspect-ratio: auto;
        background: transparent;
        overflow: hidden;
    }

    .home-banner__slides {
        position: relative;
        inset: auto;
        width: 100%;
    }

    .home-banner__slide {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .home-banner__slide.is-active {
        position: relative;
        pointer-events: auto;
    }

    .home-banner__slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        background: transparent;
    }

    .home-banner__dots {
        bottom: 10px;
    }

    .showcase-images {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
    }

    .showcase-images img,
    .showcase-images img:nth-child(2) {
        width: 100%;
        height: 210px;
        min-height: 0;
        object-fit: cover;
        border-radius: 14px;
        transform: none;
    }

    .showcase-track {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        margin-top: 24px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .showcase-track span {
        flex: 0 0 128px;
        min-height: 42px;
        padding: 0 10px;
        white-space: nowrap;
        font-size: 13px;
    }

    .product-layout {
        display: block;
    }

    .product-filter {
        display: block;
        margin-bottom: 20px;
        padding: 16px;
    }

    .product-filter h2 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .product-filter nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .product-filter a,
    .product-filter__children a {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 8px 13px;
        white-space: nowrap;
    }

    .product-filter__children {
        display: contents;
    }
}

@media (max-width: 480px) {
    .showcase-images img,
    .showcase-images img:nth-child(2) {
        height: 168px;
    }
}

/* v1.9.5 mobile visibility, menu, category and rounded-card fixes */
.product-sparks a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(16, 43, 69, 0.05);
}

.catalog-card,
.post-card,
.case-card,
.empty-card,
.catalog-card__thumb,
.case-card__thumb,
.post-card__thumb {
    border-radius: 16px;
}

.catalog-card,
.post-card,
.case-card {
    overflow: hidden;
}

.menu-toggle {
    position: relative;
    z-index: 80;
}

@media (max-width: 900px) {
    .site-header {
        z-index: 80;
        overflow: visible;
    }

    .primary-nav {
        z-index: 70;
        top: 100%;
        box-shadow: 0 18px 40px rgba(6, 43, 73, 0.12);
    }

    .primary-nav.is-open {
        display: block;
    }

    body.nav-open .primary-nav {
        display: block;
    }

    .home-banner {
        display: block;
        width: 100%;
        min-height: 1px;
        aspect-ratio: auto;
        background: #05070c;
        overflow: hidden;
    }

    .home-banner__slides {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        min-height: 1px;
    }

    .home-banner__slide {
        position: absolute;
        inset: 0;
        opacity: 0;
    }

    .home-banner__slide.is-active {
        position: relative;
        opacity: 1;
    }

    .home-banner__slide img {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        background: #05070c;
    }

    .home-banner__copy {
        display: none;
    }

    .home-banner__dots {
        bottom: 10px;
    }

    .product-sparks {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .product-sparks a {
        flex: 0 0 auto;
    }

    .product-filter {
        display: block;
        position: static;
    }

    .catalog-card,
    .post-card,
    .case-card {
        border-radius: 12px;
    }

    .catalog-card__thumb,
    .case-card__thumb,
    .post-card__thumb {
        border-radius: 12px 12px 0 0;
    }
}



/* v1.9.6 requested interaction and navigation fixes */
.brand span {
    max-width: 360px;
    color: #071b35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.home-banner__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.28);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-banner__arrow:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.42);
}

.home-banner__arrow--prev {
    left: 28px;
}

.home-banner__arrow--next {
    right: 28px;
}

.post-card,
.case-card,
.catalog-card {
    border-radius: 18px !important;
    overflow: hidden;
}

.post-card__thumb,
.case-card__thumb,
.catalog-card__thumb {
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden;
}

@media (max-width: 900px) {
    .site-header {
        z-index: 9999;
        overflow: visible;
    }

    .brand span {
        font-size: 15px;
        line-height: 1.3;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9998;
        visibility: hidden;
        pointer-events: none;
    }

    .primary-nav.is-open,
    body.nav-open .primary-nav {
        display: block !important;
        visibility: visible;
        pointer-events: auto;
    }

    .home-banner__arrow {
        width: 36px;
        height: 36px;
        font-size: 30px;
    }

    .home-banner__arrow--prev {
        left: 10px;
    }

    .home-banner__arrow--next {
        right: 10px;
    }
}

/* v1.9.8 remove old reference-brand background from about block */
.section--about-rich {
    background:
        radial-gradient(circle at 16% 28%, rgba(214, 168, 79, 0.22), transparent 28%),
        radial-gradient(circle at 82% 68%, rgba(10, 111, 183, 0.24), transparent 34%),
        linear-gradient(135deg, #03101d 0%, #071c32 48%, #101821 100%) !important;
}

/* v1.9.9 simplify busy sections and align company-title typography */
.site-header {
    backdrop-filter: none !important;
}

.brand,
.brand span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

.brand span {
    color: #071b35 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
}

.section--case-wall,
.section--about-rich,
main > .section:nth-of-type(8) {
    color: var(--ink) !important;
    background: #fff !important;
}

.section--about-rich .split--rich {
    color: var(--ink) !important;
    background: #fff !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
}

.section--about-rich h2,
.section--about-rich .eyebrow,
.section--case-wall .section__head h2,
.section--case-wall .text-link,
main > .section:nth-of-type(8) .section__head h2,
main > .section:nth-of-type(8) .section__head .eyebrow,
main > .section:nth-of-type(8) .text-link {
    color: var(--ink) !important;
}

.section--about-rich p,
.section--about-rich .stats span {
    color: var(--muted) !important;
}

.section--about-rich .about-checks span,
.section--about-rich .stats div {
    color: var(--ink) !important;
    background: #fff !important;
    border-color: var(--line) !important;
}

main > .section:nth-of-type(8) .post-grid {
    background: transparent !important;
    padding: 0 !important;
}

/* v1.9.10 fix custom-logo markup so company title is styled reliably */
.brand {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

.brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand > span {
    display: inline-block !important;
    color: #071b35 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
}

/* v1.9.11 homepage mobile structure and honors section */
.section--honors {
    background: #fff;
}

.section--honors .section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.section--honors .section__head p:last-child {
    margin: 8px 0 0;
    color: var(--muted);
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.honor-card {
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(16, 43, 69, 0.08);
    overflow: hidden;
}

.honor-card img {
    width: 100%;
    aspect-ratio: 1.48 / 1;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 12px;
}

@media (max-width: 900px) {
    main > .section--products,
    main > .section--case-wall {
        display: none !important;
    }

    .feature-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .feature-grid article {
        min-height: 176px;
        padding: 18px 14px !important;
    }

    .feature-grid span {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .feature-grid h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .feature-grid p {
        font-size: 13px;
        line-height: 1.65;
    }

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

    .honor-card {
        padding: 8px;
        border-radius: 14px;
    }

    .honor-card img {
        border-radius: 10px;
    }
}

/* v1.9.16 compact project-service block and contact dock */

.site-contact-dock {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 60;
    display: grid;
    gap: 2px;
    transform: translateY(-50%);
}

.site-contact-dock__item {
    position: relative;
    width: 86px;
    min-height: 78px;
    padding: 12px 8px;
    display: grid;
    place-items: center;
    gap: 5px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: rgba(7, 27, 53, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 34px rgba(7, 27, 53, 0.18);
    backdrop-filter: blur(8px);
}

.site-contact-dock__item:first-child {
    border-radius: 16px 16px 4px 4px;
}

.site-contact-dock__item:last-child {
    border-radius: 4px 4px 16px 16px;
}

.site-contact-dock__icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    color: #071b35;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    background: var(--accent);
    border-radius: 999px;
}

.site-contact-dock strong {
    font-size: 13px;
    line-height: 1.25;
}

.site-contact-dock em {
    font-size: 11px;
    font-style: normal;
    line-height: 1.25;
    opacity: 0.82;
    word-break: break-all;
}

.site-contact-dock__qr {
    position: absolute;
    right: calc(100% + 12px);
    top: 0;
    width: 150px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 46px rgba(7, 27, 53, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-contact-dock__wechat:hover .site-contact-dock__qr {
    opacity: 1;
    transform: translateX(0);
}

.site-contact-dock__qr img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.mobile-contact-bar,
.mobile-wechat-modal {
    display: none;
}

.section--about-rich {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
}

.section--about-rich .split--rich {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr) !important;
    gap: 28px !important;
    padding: 32px !important;
}

.section--about-rich .about-checks {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.section--about-rich .stats {
    align-content: stretch;
    gap: 12px !important;
}

.section--about-rich .stats div {
    min-height: auto !important;
    padding: 20px !important;
}

@media (max-width: 900px) {
    body {
        padding-bottom: 76px;
    }

    body.wechat-modal-open {
        overflow: hidden;
    }

    .menu-toggle {
        height: 40px;
    }

    .site-contact-dock {
        display: none;
    }

    .mobile-contact-bar {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 14px;
        z-index: 80;
        min-height: 54px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        overflow: hidden;
        color: #fff;
        background: linear-gradient(135deg, #075c9c, #071b35);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(7, 27, 53, 0.28);
    }

    .mobile-contact-bar__item {
        min-width: 0;
        min-height: 54px;
        padding: 8px 12px;
        display: inline-grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        color: #fff;
        font: inherit;
        text-decoration: none;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .mobile-contact-bar__wechat {
        background: #168748;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-contact-bar__item span {
        width: 34px;
        height: 34px;
        display: inline-grid;
        place-items: center;
        color: #071b35;
        background: var(--accent);
        border-radius: 999px;
    }

    .mobile-contact-bar__wechat span {
        color: #168748;
        background: #fff;
        font-size: 12px;
        font-weight: 900;
    }

    .mobile-contact-bar__item strong {
        font-size: 15px;
        line-height: 1.2;
        text-align: left;
        white-space: nowrap;
    }

    .mobile-wechat-modal {
        position: fixed;
        inset: 0;
        z-index: 120;
        display: grid;
        place-items: center;
        padding: 24px;
    }

    .mobile-wechat-modal[hidden] {
        display: none;
    }

    .mobile-wechat-modal__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(4, 18, 35, 0.72);
        border: 0;
    }

    .mobile-wechat-modal__panel {
        position: relative;
        z-index: 1;
        width: min(320px, 100%);
        padding: 24px;
        display: grid;
        gap: 14px;
        justify-items: center;
        color: var(--ink);
        text-align: center;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 28px 70px rgba(4, 18, 35, 0.32);
    }

    .mobile-wechat-modal__panel > strong {
        font-size: 20px;
    }

    .mobile-wechat-modal__panel img {
        width: min(230px, 100%);
        aspect-ratio: 1;
        object-fit: contain;
        border: 1px solid var(--line);
        border-radius: 14px;
    }

    .mobile-wechat-modal__panel p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
    }

    .mobile-wechat-modal__close {
        position: absolute;
        top: 8px;
        right: 10px;
        width: 36px;
        height: 36px;
        color: var(--ink);
        font-size: 26px;
        line-height: 1;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .section--about-rich {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .section--about-rich .split--rich {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    .section--about-rich h2 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .section--about-rich .about-checks {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .section--about-rich .about-checks span {
        min-height: 50px !important;
        padding: 12px !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    .section--about-rich .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .section--about-rich .stats div {
        min-height: 82px !important;
        padding: 12px 8px !important;
        text-align: center;
    }

    .section--about-rich .stats strong {
        font-size: 24px !important;
    }

    .section--about-rich .stats span {
        font-size: 12px !important;
    }
}

/* v1.9.17: keep the mobile logo, company name, and menu within the header. */
@media (max-width: 900px) {
    .header__main {
        min-height: 92px;
        gap: 8px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(82px, 108px) minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .brand .custom-logo-link {
        width: 100%;
        min-width: 0;
    }

    .brand img,
    .brand .custom-logo-link img {
        width: 100%;
        max-width: 108px;
        height: auto;
        max-height: 48px;
        object-fit: contain;
    }

    .brand span {
        min-width: 0;
        font-size: 14px !important;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .menu-toggle {
        flex: 0 0 50px;
        width: 50px;
        padding: 0 7px;
    }
}

@media (max-width: 420px) {
    .header__main {
        min-height: 84px;
        gap: 6px;
    }

    .brand {
        grid-template-columns: minmax(74px, 92px) minmax(0, 1fr);
        gap: 6px;
    }

    .brand img,
    .brand .custom-logo-link img {
        max-width: 92px;
        max-height: 42px;
    }

    .brand span {
        font-size: 12px !important;
        line-height: 1.25;
    }

    .menu-toggle {
        flex-basis: 46px;
        width: 46px;
        padding: 0 5px;
        font-size: 13px;
    }
}


