:root {
    --jyh-primary: #007bc7;
    --jyh-primary-dark: #005f9c;
    --jyh-text: #18212b;
    --jyh-muted: #687482;
    --jyh-border: #dfe7ef;
    --jyh-bg: #f5f8fb;
    --jyh-max-width: 1440px;
    --jyh-min-width: 320px;
    --jyh-radius: 18px;
    --jyh-shadow: 0 18px 50px rgba(15, 33, 55, 0.08);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-width: var(--jyh-min-width);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: var(--jyh-text);
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.jyh-container {
    width: min(calc(100% - 32px), var(--jyh-max-width));
    margin: 0 auto;
}

.jyh-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(223, 231, 239, 0.9);
    backdrop-filter: blur(12px);
}

.jyh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 18px;
}

.jyh-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.jyh-logo {
    width: auto;
    max-width: min(280px, 52vw);
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.jyh-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1 1 auto;
}

.jyh-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.jyh-nav-link {
    position: relative;
    font-size: 15px;
    color: var(--jyh-text);
}

.jyh-nav-link.is-active,
.jyh-nav-link:hover {
    color: var(--jyh-primary);
}

.jyh-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.jyh-search {
    display: flex;
    align-items: center;
    width: 280px;
    overflow: hidden;
    border: 1px solid var(--jyh-border);
    border-radius: 999px;
    background: #fff;
}

.jyh-search input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 11px 14px;
    font-size: 14px;
}

.jyh-search button,
.jyh-btn {
    border: 0;
    background: var(--jyh-primary);
    color: #fff;
    cursor: pointer;
}

.jyh-search button {
    padding: 11px 16px;
    white-space: nowrap;
}

.jyh-lang-switch {
    display: flex;
    gap: 8px;
}

.jyh-lang-switch a {
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef5fb;
    color: var(--jyh-muted);
    font-size: 13px;
}

.jyh-lang-switch a.is-active {
    background: var(--jyh-primary);
    color: #fff;
}

.jyh-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--jyh-border);
    border-radius: 10px;
    background: #fff;
}

.jyh-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--jyh-text);
}

.jyh-hero {
    position: relative;
}

.jyh-hero-slide,
.jyh-page-banner,
.jyh-detail-slide {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jyh-hero-slide {
    display: none;
    min-height: 620px;
}

.jyh-hero-slide.is-active {
    display: flex;
    align-items: center;
}

.jyh-hero-content {
    max-width: 720px;
    padding: 80px 0;
    color: #fff;
}

.jyh-kicker {
    margin: 0 0 14px;
    color: var(--jyh-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.jyh-hero-content .jyh-kicker {
    color: #cfeeff;
}

.jyh-hero-content h1,
.jyh-page-banner h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.15;
}

.jyh-hero-content p,
.jyh-page-banner p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 24px;
}

.jyh-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.jyh-hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.jyh-hero-dots button.is-active {
    background: #fff;
}

.jyh-section {
    padding: 70px 0;
}

.jyh-section:nth-child(even) {
    background: var(--jyh-bg);
}

.jyh-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.jyh-section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
}

.jyh-link-more,
.jyh-inline-link {
    color: var(--jyh-primary);
    font-weight: 700;
}

.jyh-grid {
    display: grid;
    gap: 24px;
}

.jyh-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jyh-card,
.jyh-info-card,
.jyh-feedback-box,
.jyh-video-wrap,
.jyh-article-container,
.jyh-map-board,
.jyh-media-panel,
.jyh-detail-main,
.jyh-sidebar {
    background: #fff;
    border: 1px solid var(--jyh-border);
    border-radius: var(--jyh-radius);
    box-shadow: var(--jyh-shadow);
}

.jyh-card {
    overflow: hidden;
}

.jyh-media-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 24px;
}

.jyh-media-panel img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.jyh-card-media {
    aspect-ratio: 1.2 / 1;
    background: linear-gradient(135deg, #eff7ff, #d8ecff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jyh-card-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.jyh-news-cover img,
.jyh-sidebar-cover,
.jyh-qrcode {
    width: 220px;
    height: 220px;
    object-fit: cover;
}

.jyh-card-body {
    padding: 18px;
}

.jyh-card-body h3,
.jyh-news-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.jyh-card-body p,
.jyh-news-body p,
.jyh-copy p,
.jyh-footer p {
    margin: 0;
    color: var(--jyh-muted);
    line-height: 1.75;
}

.jyh-two-col,
.jyh-contact-grid,
.jyh-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.jyh-copy,
.jyh-detail-main,
.jyh-feedback-box {
    padding: 32px;
}

.jyh-richtext {
    color: var(--jyh-text);
    line-height: 1.85;
    margin-bottom: 24px;
}

.jyh-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.jyh-richtext th,
.jyh-richtext td {
    border: 1px solid var(--jyh-border);
    padding: 10px 12px;
}

.jyh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
}

.jyh-btn-outline {
    border: 1px solid var(--jyh-primary);
    background: #fff;
    color: var(--jyh-primary);
}

.jyh-map-board {
    position: relative;
    padding: 24px 28px;
    overflow: hidden;
}

.jyh-map-board > img,
.jyh-map-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.jyh-map-image {
    max-height: 560px;
    margin: 0 auto;
}

.jyh-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.jyh-pin > span {
    display: block;
    position: relative;
    width: 22px;
    height: 22px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--jyh-primary);
    transform: rotate(-45deg);
    box-shadow: 0 10px 22px rgba(0, 123, 199, 0.35);
}

.jyh-pin > span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.jyh-pin-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    width: 220px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(24, 33, 43, 0.96);
    color: #fff;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.jyh-pin:hover .jyh-pin-tip {
    opacity: 1;
}

.jyh-news-list {
    display: grid;
    gap: 18px;
}

.jyh-news-item a {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--jyh-border);
    border-radius: var(--jyh-radius);
    box-shadow: var(--jyh-shadow);
}

.jyh-news-cover {
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    border-radius: 14px;
}

.jyh-news-body time,
.jyh-article time {
    display: block;
    margin-bottom: 10px;
    color: var(--jyh-primary);
}

.jyh-page-banner {
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #fff;
}

.jyh-detail-banner {
    position: relative;
    overflow: hidden;
}

.jyh-detail-carousel {
    position: absolute;
    inset: 0;
}

.jyh-detail-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.jyh-detail-slide.is-active {
    display: block;
}

.jyh-detail-head {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    color: #fff;
}

.jyh-carousel-btn {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: var(--jyh-primary-dark);
    transform: translateY(-50%);
}

.jyh-carousel-btn.prev {
    left: 18px;
}

.jyh-carousel-btn.next {
    right: 18px;
}

.jyh-sidebar {
    padding: 24px;
}

.jyh-sidebar-cover {
    border-radius: 14px;
    margin-bottom: 18px;
    aspect-ratio: 1 / 1;
}

.jyh-video-wrap {
    overflow: hidden;
    padding: 18px;
}

.jyh-video-wrap video {
    width: 100%;
    border-radius: 14px;
}

.jyh-contact-cards {
    display: grid;
    gap: 18px;
}

.jyh-info-card {
    padding: 24px;
}

.jyh-info-card h3 {
    margin: 0 0 10px;
}

.jyh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.jyh-feedback-box form,
.jyh-feedback-box label {
    display: grid;
    gap: 8px;
}

.jyh-feedback-box input,
.jyh-feedback-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--jyh-border);
    border-radius: 12px;
    font: inherit;
}

.jyh-honeypot {
    position: absolute;
    left: -9999px;
}

.jyh-alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
}

.jyh-alert.success {
    background: #ecfbf0;
    color: #12813b;
}

.jyh-alert.error {
    background: #fff2f0;
    color: #bf3e2f;
}

.jyh-footer {
    padding: 56px 0 28px;
    background: #101820;
    color: rgba(255, 255, 255, 0.82);
}

.jyh-footer-top {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 30px;
    padding-bottom: 28px;
}

.jyh-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.jyh-footer h3,
.jyh-footer h4 {
    color: #fff;
    margin: 0 0 12px;
}

.jyh-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jyh-article {
    background: var(--jyh-bg);
}

.jyh-article-container {
    padding: 42px;
}

.jyh-article-container h1 {
    margin-top: 0;
}

.jyh-article-cover {
    margin: 22px 0;
    overflow: hidden;
    border-radius: 16px;
}

.jyh-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--jyh-border);
    border-radius: 18px;
    background: #fff;
}

.jyh-pagination-wrap {
    margin-top: 26px;
}

.jyh-pagination-wrap .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.jyh-pagination-wrap .page-item .page-link,
.jyh-pagination-wrap span,
.jyh-pagination-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--jyh-border);
    border-radius: 10px;
    background: #fff;
}

.jyh-pagination-wrap .active span,
.jyh-pagination-wrap .page-item.active .page-link {
    background: var(--jyh-primary);
    border-color: var(--jyh-primary);
    color: #fff;
}

@media (max-width: 1024px) {
    .jyh-header-inner {
        min-height: 76px;
    }

    .jyh-mobile-toggle {
        display: inline-block;
    }

    .jyh-header-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 16px;
        background: #fff;
        border-bottom: 1px solid var(--jyh-border);
    }

    .jyh-header-right.is-open {
        display: flex;
    }

    .jyh-nav,
    .jyh-tools {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .jyh-search {
        width: 100%;
    }

    .jyh-product-grid,
    .jyh-footer-top,
    .jyh-footer-grid,
    .jyh-two-col,
    .jyh-contact-grid,
    .jyh-detail-grid,
    .jyh-form-grid {
        grid-template-columns: 1fr;
    }

    .jyh-news-item a {
        grid-template-columns: 1fr;
    }

    .jyh-map-board {
        padding: 18px 16px;
    }
}

@media (max-width: 640px) {
    .jyh-container {
        width: calc(100% - 24px);
    }

    .jyh-section,
    .jyh-footer {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .jyh-copy,
    .jyh-detail-main,
    .jyh-feedback-box,
    .jyh-article-container,
    .jyh-sidebar {
        padding: 22px;
    }

    .jyh-hero-slide {
        min-height: 480px;
    }

    .jyh-logo {
        max-width: min(240px, 58vw);
        max-height: 44px;
    }
}
