:root {
    --tj-blue: #00338D;
    --tj-blue-dark: #001A4A;
    --tj-orange: #EE7D1B;
    --tj-bg: #F5F6FA;
    --tj-white: #FFFFFF;
    --tj-text: #1E2024;
    --tj-text-muted: #6B7280;
    --tj-border: #E5E7EB;

    --tj-radius-card: 12px;
    --tj-radius-button: 8px;
    --tj-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --tj-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--tj-text);
    background: var(--tj-white);
    line-height: 1.6;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 51, 141, 0.97);
    color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}

.logo-mark {
    width: 132px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    background: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
}

.site-nav a {
    position: relative;
    opacity: 0.92;
}

.site-nav a:hover {
    color: var(--tj-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-menu {
    position: relative;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: white;
    border-radius: var(--tj-radius-button);
    padding: 8px 11px;
    cursor: pointer;
    font-weight: 700;
}

.language-switch-bars {
    display: grid;
    gap: 3px;
}

.language-switch-bars span {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.language-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 160;
    display: none;
    min-width: 168px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: white;
    box-shadow: var(--tj-shadow-hover);
}

.language-menu.is-open .language-options {
    display: block;
}

.language-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--tj-text);
}

.language-options a:hover,
.language-options a.is-active {
    background: rgba(0, 51, 141, 0.06);
    color: var(--tj-blue);
}

.language-options span {
    display: inline-flex;
    width: 32px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--tj-blue);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.language-options strong {
    font-size: 14px;
}

.header-cta {
    background: var(--tj-orange);
    color: white;
    padding: 10px 16px;
    border-radius: var(--tj-radius-button);
    font-weight: 600;
}

.header-cta:hover {
    background: #E06A00;
}

.site-main {
    min-height: 60vh;
}

.site-footer {
    background: var(--tj-blue-dark);
    color: white;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 64px 0;
}

.site-footer h3,
.footer-heading {
    margin-top: 0;
}

.footer-heading {
    margin-bottom: 14px;
    color: white;
    font-weight: 800;
}

.footer-logo {
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    margin-bottom: 18px;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    margin: 8px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.footer-legal a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
}

.police-record img {
    width: 18px;
    height: 20px;
}

@media (max-width: 900px) {
    .header-inner {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 18px;
        padding-bottom: 4px;
    }

    .header-actions {
        gap: 8px;
    }

    .logo-mark {
        width: 104px;
    }

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

@media (max-width: 560px) {
    .site-nav {
        font-size: 14px;
    }

    .header-cta,
    .language-switch {
        padding: 8px 10px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 48px 0;
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
    }
}

.tj-hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(0, 51, 141, 0.92), rgba(0, 26, 74, 0.95)),
        radial-gradient(circle at right center, rgba(238, 125, 27, 0.25), transparent 36%);
    color: white;
    overflow: hidden;
}

.tj-hero-inner {
    display: flex;
    align-items: center;
}

.tj-hero-content {
    max-width: 760px;
}

.tj-section-label {
    color: var(--tj-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tj-hero h1 {
    font-size: clamp(44px, 5.8vw, 76px);
    line-height: 1.06;
    margin: 0 0 24px;
}

.tj-hero h1 span {
    display: block;
}

.tj-hero p {
    font-size: 18px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
}

.tj-hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.tj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tj-btn:hover {
    transform: translateY(-2px);
}

.tj-btn-primary {
    background: var(--tj-orange);
    color: white;
    box-shadow: 0 8px 20px rgba(238, 125, 27, 0.28);
}

.tj-btn-primary:hover {
    background: #E06A00;
}

.tj-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}

.tj-btn-outline {
    border: 1px solid var(--tj-blue);
    color: var(--tj-blue);
    background: white;
}

.tj-btn-outline:hover {
    background: var(--tj-blue);
    color: white;
}

.tj-section {
    padding: 88px 0;
}

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

.tj-section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.tj-section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin: 0 0 12px;
}

.tj-section-heading p {
    color: var(--tj-text-muted);
}

.tj-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tj-card-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.tj-card {
    background: white;
    border: 1px solid var(--tj-border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--tj-shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tj-shadow-hover);
}

.tj-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.tj-card p {
    color: var(--tj-text-muted);
    margin: 0;
}

.tj-cta-section {
    padding: 88px 0;
    background: linear-gradient(135deg, var(--tj-blue), var(--tj-blue-dark));
    color: white;
    text-align: center;
}

.tj-cta-section h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin: 0 0 12px;
}

.tj-cta-section p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
}

.tj-page-hero {
    padding: 68px 0 58px;
    background:
        linear-gradient(135deg, rgba(0, 51, 141, 0.96), rgba(0, 26, 74, 0.98)),
        linear-gradient(90deg, transparent 0, transparent 75%, rgba(238, 125, 27, 0.18) 75%);
    color: white;
}

.template-product-index .tj-section {
    padding: 34px 0 88px;
}

.template-product-index .tj-page-hero {
    padding: 46px 0 40px;
}

.template-product-index .tj-page-hero h1 {
    font-size: clamp(36px, 4vw, 48px);
}

.template-product-index .tj-page-hero p:not(.tj-section-label) {
    font-size: 16px;
}

.tj-page-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.12;
    margin: 0 0 18px;
}

.tj-page-hero p:not(.tj-section-label) {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.product-catalog-bar {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: end;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    margin-bottom: 24px;
    padding: 22px;
    box-shadow: var(--tj-shadow-card);
}

.product-catalog-bar h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin: 0 0 6px;
}

.product-catalog-bar span {
    color: var(--tj-text-muted);
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.product-filter a {
    border: 1px solid var(--tj-border);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--tj-text-muted);
    background: white;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.product-filter a.is-active,
.product-filter a:hover {
    border-color: var(--tj-blue);
    background: var(--tj-blue);
    color: white;
}

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

.product-grid-compact {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    box-shadow: var(--tj-shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tj-shadow-hover);
}

.product-card-image {
    position: relative;
    display: flex;
    aspect-ratio: 1.38;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, #F7F9FC, #E9EEF7),
        var(--tj-bg);
    color: var(--tj-text-muted);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    max-width: 92%;
    max-height: 88%;
    object-fit: contain;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 22px;
}

.product-category {
    width: fit-content;
    border-radius: 999px;
    background: rgba(238, 125, 27, 0.1);
    color: var(--tj-orange);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    margin: 0 0 8px;
}

.product-card h3,
.product-summary h1 {
    margin-top: 0;
}

.product-card h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-card p {
    color: var(--tj-text-muted);
}

.product-model,
.product-meta {
    font-weight: 700;
    color: var(--tj-text);
}

.product-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}

.product-card-specs span {
    border: 1px solid var(--tj-border);
    border-radius: 6px;
    padding: 5px 8px;
    color: var(--tj-text-muted);
    font-size: 13px;
    background: #FAFBFD;
}

.product-card-actions,
.product-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
}

.pagination a {
    color: var(--tj-blue);
    font-weight: 700;
}

.empty-state {
    border: 1px dashed var(--tj-border);
    border-radius: 8px;
    padding: 48px;
    text-align: center;
    background: var(--tj-bg);
}

.product-detail {
    padding: 32px 0 72px;
    background:
        linear-gradient(180deg, #F5F7FB 0, #FFFFFF 280px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--tj-text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--tj-blue);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 34px;
    align-items: start;
}

.product-detail-panel {
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    padding: 26px;
    box-shadow: 0 18px 48px rgba(0, 26, 74, 0.08);
}

.product-main-image {
    position: relative;
    display: flex;
    aspect-ratio: 1.24;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background:
        linear-gradient(145deg, #F8FAFD, #E8EEF7);
    color: var(--tj-text-muted);
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    max-width: 94%;
    max-height: 92%;
    object-fit: contain;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.product-gallery figure {
    margin: 0;
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1.33;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--tj-border);
}

.product-gallery figcaption {
    margin-top: 6px;
    color: var(--tj-text-muted);
    font-size: 13px;
}

.product-summary {
    position: sticky;
    top: 112px;
    border-left: 1px solid var(--tj-border);
    padding-left: 32px;
}

.product-summary-head {
    border-bottom: 1px solid var(--tj-border);
    padding-bottom: 18px;
}

.product-summary h1 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    margin-bottom: 12px;
}

.product-intro {
    color: var(--tj-text-muted);
    font-size: 18px;
    margin: 18px 0;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 8px;
}

.product-badges span {
    border: 1px solid rgba(0, 51, 141, 0.14);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(0, 51, 141, 0.05);
    color: var(--tj-blue);
    font-size: 13px;
    font-weight: 700;
}

.product-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.product-spec-list div {
    display: block;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: #FAFBFD;
    padding: 12px;
}

.product-spec-list dt {
    color: var(--tj-text-muted);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.product-spec-list dd {
    margin: 0;
    font-weight: 700;
}

.product-service-box {
    display: grid;
    gap: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0, 51, 141, 0.06), rgba(238, 125, 27, 0.08));
    margin-top: 16px;
    padding: 14px;
}

.product-service-box div {
    display: grid;
    gap: 2px;
}

.product-service-box strong {
    color: var(--tj-blue);
}

.product-service-box span {
    color: var(--tj-text-muted);
    font-size: 14px;
}

.product-placeholder {
    position: relative;
    display: grid;
    width: min(340px, 80%);
    aspect-ratio: 1;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 1px solid rgba(0, 51, 141, 0.18);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.44)),
        repeating-linear-gradient(45deg, rgba(0, 51, 141, 0.06) 0, rgba(0, 51, 141, 0.06) 2px, transparent 2px, transparent 14px);
    color: var(--tj-text-muted);
    text-align: center;
}

.product-placeholder::before,
.product-placeholder::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    border: 1px solid rgba(0, 51, 141, 0.16);
}

.product-placeholder::before {
    inset: 11%;
}

.product-placeholder::after {
    inset: 24%;
    border-color: rgba(238, 125, 27, 0.25);
}

.product-placeholder strong,
.placeholder-brand {
    position: relative;
    z-index: 1;
}

.product-placeholder strong {
    color: var(--tj-blue);
    font-size: 20px;
}

.placeholder-brand {
    color: var(--tj-orange);
    font-size: 12px;
    font-weight: 800;
}

.product-placeholder-card {
    width: min(210px, 76%);
}

.product-placeholder-card strong {
    font-size: 16px;
}

.product-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 40px;
    align-items: start;
}

.product-richtext,
.parameter-table {
    background: white;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--tj-shadow-card);
}

.product-richtext h2,
.parameter-table h2 {
    margin-top: 0;
}

.parameter-table table {
    width: 100%;
    border-collapse: collapse;
}

.parameter-table th,
.parameter-table td {
    border-bottom: 1px solid var(--tj-border);
    padding: 13px 0;
    text-align: left;
    vertical-align: top;
}

.parameter-table th {
    width: 36%;
    color: var(--tj-text-muted);
}

@media (max-width: 900px) {
    .tj-card-grid,
    .tj-card-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-grid,
    .product-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-catalog-bar {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .product-filter {
        justify-content: flex-start;
    }

    .product-detail-grid,
    .product-content-grid {
        grid-template-columns: 1fr;
    }

    .product-summary {
        position: static;
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 560px) {
    .tj-card-grid,
    .tj-card-grid.four {
        grid-template-columns: 1fr;
    }

    .tj-hero {
        min-height: 520px;
    }

    .tj-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid,
    .product-grid-compact {
        grid-template-columns: 1fr;
    }

    .product-filter {
        flex-direction: column;
    }

    .product-detail-panel {
        padding: 16px;
    }

    .product-card-actions,
    .product-summary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-spec-list div {
        padding: 10px;
    }

    .product-spec-list {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.site-nav a.is-active::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 3px;
    background: var(--tj-orange);
    content: "";
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: white;
}

.footer-cta {
    display: inline-flex;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 9px 12px;
    color: white;
    font-weight: 700;
}

.tj-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(520px, 0.95fr);
    gap: 28px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-product-frame {
    position: absolute;
    inset: -58px -82px auto auto;
    display: flex;
    width: min(760px, 58vw);
    height: 590px;
    align-items: center;
    justify-content: center;
    transform: rotate(-4deg);
    transform-origin: center;
}

.hero-product-frame::before {
    content: "";
    position: absolute;
    inset: 90px 70px 68px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(238, 125, 27, 0.24), transparent 58%),
        radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 64%),
        radial-gradient(circle, rgba(54, 123, 220, 0.22), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.hero-product-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 38px 30px rgba(0, 12, 42, 0.4))
        drop-shadow(0 10px 20px rgba(238, 125, 27, 0.2));
}

.hero-spec-card {
    position: absolute;
    right: 8px;
    bottom: 44px;
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(0, 26, 74, 0.42);
    padding: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.hero-spec-card span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 5px;
}

.tj-card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.product-category-card {
    display: block;
    position: relative;
    min-height: 260px;
    overflow: hidden;
    padding-top: 132px;
    background:
        radial-gradient(circle at 76% 18%, rgba(238, 125, 27, 0.12), transparent 34%),
        linear-gradient(180deg, #FFFFFF, #F7F9FC);
}

.product-category-card h3,
.product-category-card p {
    position: relative;
    z-index: 1;
}

.category-card-visual {
    position: absolute;
    top: 14px;
    right: 16px;
    left: 16px;
    display: flex;
    height: 122px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.category-card-visual::before {
    position: absolute;
    inset: 28px 18px 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 51, 141, 0.1), transparent 68%);
    content: "";
}

.category-card-visual img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(0, 26, 74, 0.16));
}

.feature-card span {
    display: inline-flex;
    color: var(--tj-orange);
    font-weight: 800;
    margin-bottom: 18px;
}

.process-strip {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

.process-strip h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    max-width: 7em;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.process-steps::before {
    display: none;
}

.process-step {
    position: relative;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 24px 20px 22px;
    box-shadow: var(--tj-shadow-card);
    min-height: 184px;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 43px;
    left: 60px;
    width: calc(100% + 18px);
    height: 3px;
    background: linear-gradient(90deg, var(--tj-orange), var(--tj-blue));
    opacity: 0.85;
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--tj-blue);
    color: white;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px white, 0 10px 22px rgba(13, 63, 148, 0.18);
}

.process-step:not(:last-child) span::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: calc(-100% - 18px);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--tj-orange);
    color: white;
    display: grid;
    place-items: center;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(245, 124, 22, 0.28);
}

.process-step h3 {
    margin: 0 0 10px;
    color: var(--tj-blue);
    font-size: 20px;
}

.process-step p {
    margin: 0;
    color: var(--tj-muted);
    font-size: 15px;
    line-height: 1.75;
}

.tj-page-hero-compact {
    padding: 48px 0 42px;
}

.tj-page-hero-compact h1 {
    font-size: clamp(36px, 4vw, 50px);
}

.tj-page-hero-compact p:not(.tj-section-label) {
    font-size: 16px;
}

.template-about-page .tj-section,
.template-news-index .tj-section,
.template-contact-page .tj-section {
    padding: 54px 0 82px;
}

.template-news-index .product-catalog-bar {
    margin-bottom: 24px;
}

.about-grid,
.split-panels,
.contact-grid {
    display: grid;
    gap: 32px;
}

.about-grid {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
}

.split-panels,
.contact-grid {
    grid-template-columns: repeat(2, 1fr);
}

.about-grid h2,
.rich-panel h2,
.contact-info h2,
.contact-form-panel h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 18px;
}

.rich-panel,
.contact-info,
.contact-form-panel,
.article-body {
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    padding: 32px;
    box-shadow: var(--tj-shadow-card);
}

.rich-panel p,
.contact-methods span,
.contact-form-panel p,
.news-card p,
.article-header p:not(.news-meta) {
    color: var(--tj-text-muted);
}

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

.news-card {
    overflow: hidden;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    box-shadow: var(--tj-shadow-card);
}

.news-card-media {
    display: flex;
    aspect-ratio: 1.7;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tj-blue), var(--tj-blue-dark));
    color: white;
    font-weight: 800;
}

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

.news-card-body {
    padding: 24px;
}

.news-card h3 {
    margin: 8px 0 10px;
    font-size: 22px;
    line-height: 1.35;
}

.news-meta {
    color: var(--tj-orange);
    font-size: 13px;
    font-weight: 800;
}

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

.article-page {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #F5F7FB 0, #FFFFFF 260px);
}

.article-container {
    max-width: 920px;
}

.article-header {
    border-bottom: 1px solid var(--tj-border);
    margin-bottom: 28px;
    padding-bottom: 26px;
}

.article-header h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    margin: 10px 0 16px;
}

.article-cover {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 32px;
}

.article-cover img {
    width: 100%;
}

.contact-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    align-items: start;
}

.contact-methods {
    display: grid;
    gap: 12px;
}

.contact-methods div {
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--tj-border);
    padding-bottom: 12px;
}

.contact-map-placeholder {
    display: grid;
    gap: 6px;
    border-radius: 8px;
    margin-top: 24px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(0, 51, 141, 0.08), rgba(238, 125, 27, 0.08));
}

.contact-map-placeholder strong {
    color: var(--tj-blue);
}

.contact-form-panel form p {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
}

.contact-form-panel label {
    color: var(--tj-text);
    font-weight: 800;
}

.required-mark,
.form-error {
    color: var(--tj-orange);
}

.form-error {
    font-size: 13px;
    font-weight: 700;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
    width: 100%;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    padding: 12px 14px;
    font: inherit;
}

.contact-form-panel textarea {
    min-height: 130px;
}

.floating-contact {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 120;
}

.floating-contact-toggle {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: var(--tj-orange);
    color: white;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(238, 125, 27, 0.32);
    cursor: pointer;
}

.floating-contact-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: none;
    width: 250px;
    border: 1px solid var(--tj-border);
    border-radius: 8px;
    background: white;
    padding: 18px;
    box-shadow: var(--tj-shadow-hover);
}

.floating-contact.is-open .floating-contact-panel {
    display: grid;
    gap: 8px;
}

.floating-contact-panel span {
    color: var(--tj-text-muted);
    font-size: 14px;
}

.floating-contact-panel a {
    color: var(--tj-blue);
    font-weight: 800;
}

.template-contact-page .floating-contact {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        padding-top: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 0;
    }

    .site-nav a.is-active::after {
        display: none;
    }

    .tj-hero-inner,
    .process-strip,
    .about-grid,
    .split-panels,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .tj-card-grid.three,
    .process-steps,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-strip h2 {
        max-width: none;
    }

    .process-steps::before {
        display: none;
    }

    .process-step::after {
        top: 62px;
        left: 39px;
        width: 3px;
        height: calc(100% + 18px);
        background: linear-gradient(180deg, var(--tj-orange), var(--tj-blue));
    }

    .process-step:not(:last-child) span::after {
        top: auto;
        right: auto;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }

}

@media (max-width: 560px) {
    .tj-card-grid.three,
    .process-steps,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .rich-panel,
    .article-body,
    .contact-info,
    .contact-form-panel {
        padding: 22px;
    }

    .process-step {
        min-height: auto;
        padding: 22px;
    }

    .floating-contact {
        right: 18px;
        bottom: 18px;
    }

    .floating-contact-panel {
        width: min(250px, calc(100vw - 36px));
    }
}
