.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(239, 247, 255, 0.76);
    border-bottom: 1px solid rgba(210, 226, 243, 0.78);
    box-shadow: 0 10px 26px rgba(32, 64, 101, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    min-height: 88px;
}

.site-header__inner--compact {
    min-height: 82px;
}

.site-header--home .site-header__inner {
    min-height: 82px;
}

.site-header__menu-content {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.site-header__menu-head {
    display: none;
}

.site-header__menu-toggle,
.site-header__menu-close,
.site-header__menu-backdrop {
    display: none;
}

.site-header__page-search {
    display: none;
}

.site-header__tabs {
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
    padding: 0;
}

.site-header__tabs .home-tabs__nav {
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: nowrap;
    max-width: 100%;
    min-height: 0;
    gap: 8px;
    margin-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-header__tabs .home-tabs__nav::-webkit-scrollbar {
    display: none;
}

.site-header__tabs .home-tabs__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    min-height: 82px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4c6178;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
    transform: none;
}

.site-header__tabs .home-tabs__tab::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    display: block;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #7dc4f5 0%, var(--color-primary) 100%);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header__tabs .home-tabs__tab[data-pc-visitor-nav][hidden] {
    display: none !important;
}

.site-header__tabs .home-tabs__tab:hover,
.site-header__tabs .home-tabs__tab:focus-visible {
    outline: 0;
    border-color: transparent;
    background: transparent;
    color: var(--color-primary-hover);
    box-shadow: none;
    transform: none;
}

.site-header__tabs .home-tabs__tab.is-active {
    border-color: transparent;
    background: transparent;
    color: var(--color-primary-hover);
    box-shadow: none;
}

.site-header__tabs .home-tabs__tab:hover::after,
.site-header__tabs .home-tabs__tab:focus-visible::after {
    opacity: 0.42;
    transform: scaleX(1);
}

.site-header__tabs .home-tabs__tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    min-width: 174px;
}

.brand__mark {
    width: 174px;
    height: 58px;
    object-fit: contain;
}

.brand__text {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    margin-left: auto;
}

.site-header--home .site-header__actions {
    margin-left: 0;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-left: 0;
}

.site-header__inner > .header-auth__welcome--top {
    flex: 0 1 220px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header__inner > .header-stats--top {
    display: flex !important;
    flex: 0 0 auto;
    min-width: max-content;
    visibility: visible;
}

.header-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-soft);
    font-size: 13px;
    white-space: nowrap;
    border: 0;
}

.header-stats--drawer {
    display: none;
}

.header-stat img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.9;
}

.header-stat strong {
    color: var(--color-primary);
    font-size: 18px;
    line-height: 1;
}

.primary-link,
.button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5fa1d3 0%, #2f6fae 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(47, 111, 174, 0.18);
}

.ghost-link,
.button--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    background: #ffffff;
}

.site-header--home .ghost-link,
.site-header--home .primary-link {
    min-height: 46px;
}

.header-language {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-language__button {
    min-width: 76px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(217, 231, 243, 0.96);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-hover);
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(32, 64, 101, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-language__button:hover,
.header-language__button[aria-expanded="true"] {
    border-color: rgba(159, 192, 224, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(229, 242, 255, 0.92));
    color: var(--color-primary);
}

.header-language__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    min-width: 100%;
    padding: 6px;
    border: 1px solid rgba(217, 231, 243, 0.96);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(32, 64, 101, 0.12);
}

.header-language__menu[hidden] {
    display: none;
}

.header-language__menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--color-text-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.header-language__menu-item:hover {
    background: rgba(229, 242, 255, 0.72);
    color: var(--color-primary-hover);
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(217, 231, 243, 0.96);
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(32, 64, 101, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(32, 64, 101, 0.08);
    border-color: rgba(95, 161, 211, 0.42);
}

.header-action--soft {
    background: linear-gradient(135deg, rgba(231, 243, 255, 0.9), rgba(255, 255, 255, 0.96));
    color: var(--color-primary);
}

.header-action--ghost {
    background: rgba(255, 255, 255, 0.72);
}

.header-auth {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-auth__member,
.header-auth__guest {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.header-auth__member[hidden],
.header-auth__guest[hidden],
.header-auth[data-auth-state="loading"] .header-auth__member,
.header-auth[data-auth-state="loading"] .header-auth__guest,
.header-auth[data-auth-state="guest"] .header-auth__member,
.header-auth[data-auth-state="member"] .header-auth__guest {
    display: none !important;
}

.header-auth[data-auth-state="loading"] {
    visibility: hidden;
}

.header-auth[data-auth-state="guest"],
.header-auth[data-auth-state="member"] {
    visibility: visible;
}

.header-auth__welcome {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.header-auth__welcome--drawer {
    display: none;
}

.page-search-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 24px 28px;
    border: 1px solid rgba(217, 231, 243, 0.92);
    border-radius: 24px;
    background:
        radial-gradient(circle at left top, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 36%),
        linear-gradient(135deg, rgba(231, 243, 255, 0.92), rgba(255, 255, 255, 0.96));
    box-shadow: 0 14px 28px rgba(32, 64, 101, 0.06);
}

.page-search-banner__copy {
    display: grid;
    gap: 8px;
}

.page-search-banner__copy h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.page-search-banner__copy p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.page-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 520px);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(217, 231, 243, 0.96);
    box-shadow: 0 10px 20px rgba(32, 64, 101, 0.06);
}

.page-search-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    font-size: 15px;
    color: var(--color-text);
    outline: 0;
}

.page-search-form button,
.page-search-form a {
    flex: 0 0 auto;
}

.button {
    cursor: pointer;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.card-grid--companies {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-card,
.product-card,
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 318px;
    border: 1px solid rgba(217, 231, 243, 0.96);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(32, 64, 101, 0.05);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.company-card::before,
.product-card::before,
.news-card::before {
    display: none;
}

.company-card:hover,
.product-card:hover,
.news-card:hover,
.stack-company:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(32, 64, 101, 0.09);
}

.company-card__logo-wrap,
.product-card__media,
.news-card__media {
    background:
        linear-gradient(180deg, rgba(229, 242, 255, 0.78), rgba(255, 255, 255, 1));
}

.company-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128px;
    flex: 0 0 128px;
}

.company-card__logo-wrap img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(217, 231, 243, 0.88);
    box-shadow: 0 6px 14px rgba(32, 64, 101, 0.06);
}

.company-card__logo-fallback,
.company-contact-card__fallback,
.product-company-card__fallback {
    display: grid;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-weight: 700;
}

.company-card__logo-fallback {
    width: 82px;
    height: 82px;
    border-radius: 14px;
    font-size: 30px;
}

.company-card__body,
.product-card__body,
.news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 18px 20px;
}

.company-card h3,
.product-card h3,
.news-card h3 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.company-card h3,
.product-card h3 {
    min-height: 49px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-card p,
.news-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.company-card p {
    min-height: 50px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-card ul {
    margin: auto 0 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(217, 231, 243, 0.72);
    list-style: none;
    color: var(--color-text-soft);
    font-size: 14px;
    display: grid;
    gap: 9px;
    line-height: 1.55;
}

.company-card__meta-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.company-card__meta-label {
    flex: 0 0 auto;
    color: #7d8fa1;
    font-weight: 600;
}

.product-card__media,
.news-card__media {
    flex: 0 0 auto;
}

.product-card__media {
    aspect-ratio: 1 / 1;
}

.news-card__media {
    aspect-ratio: 4 / 3;
}

.product-card__media img,
.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__media-fallback {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--color-primary);
    font-weight: 700;
}

.product-card__tag {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
}

.product-card__meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 16px;
}

.product-card__meta strong {
    font-size: 24px;
    color: var(--color-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-card__meta {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--color-text-soft);
    font-size: 13px;
}

.news-card h3 {
    min-height: 50px;
}

.site-footer {
    margin-top: 36px;
    padding: 22px 0 18px;
    border-top: 1px solid rgba(217, 231, 243, 0.96);
    background: linear-gradient(180deg, rgba(239, 247, 255, 0.96), rgba(248, 251, 254, 0.98));
    box-shadow: 0 -12px 30px rgba(32, 64, 101, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.footer-tools {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.page-home-body .footer-tools,
body.page-company-list .footer-tools,
body.page-news-list .footer-tools {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    width: 100%;
    padding: 12px max(24px, calc((100vw - var(--shell-width)) / 2)) 14px;
    border-top: 1px solid rgba(217, 231, 243, 0.96);
    background: rgba(247, 250, 253, 0.96);
    box-shadow: 0 -12px 30px rgba(32, 64, 101, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (min-width: 721px) {
    body.page-home-body,
    body.page-company-list,
    body.page-news-list {
        padding-bottom: 88px;
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto;
    color: var(--color-text-soft);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.footer-copyright {
    margin: 0;
}

.footer-disclaimer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(95, 161, 211, 0.34);
    border-radius: 6px;
    color: var(--color-primary);
    font-size: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.footer-disclaimer-link:hover,
.footer-disclaimer-link:focus-visible {
    border-color: rgba(47, 111, 174, 0.58);
    background: var(--color-primary-soft);
    color: var(--color-primary-hover);
}

.footer-disclaimer-link svg {
    width: 15px;
    height: 15px;
}

.footer-tabbar {
    display: none;
}

.footer-tabbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: #6d7f92;
    font-size: 11px;
    font-weight: 700;
}

.footer-tabbar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.footer-tabbar__icon svg {
    width: 22px;
    height: 22px;
}

.footer-tabbar__item strong {
    color: inherit;
    font-size: inherit;
    line-height: 1.1;
}

.footer-tool {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(217, 231, 243, 0.96);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--color-text);
    box-shadow: 0 4px 12px rgba(32, 64, 101, 0.08);
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-tool + .footer-tool {
    border-left: 1px solid rgba(217, 231, 243, 0.96);
}

.footer-tool:hover,
.footer-tool:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(95, 161, 211, 0.38);
    background: #f4f9fe;
    color: var(--color-primary-hover);
    box-shadow: 0 8px 18px rgba(47, 111, 174, 0.14);
}

.footer-tool__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eaf4fd;
    color: var(--color-primary);
}

.footer-tool__icon svg {
    width: 18px;
    height: 18px;
}

.footer-tool strong {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.footer-tool--link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-tool--link:hover {
    transform: translateY(-2px);
    border-color: #a9c7e5;
    box-shadow: 0 12px 26px rgba(32, 64, 101, 0.1);
}

.footer-tool__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: 1px solid #dbe7f2;
    border-radius: 50%;
    color: #5f7d9d;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-tool__arrow svg {
    width: 18px;
    height: 18px;
}

.footer-tool--link:hover .footer-tool__arrow {
    transform: translateX(2px);
    border-color: #8cb4dc;
    color: #2f6fae;
}

.footer-qr {
    position: relative;
    width: 126px;
    height: 188px;
    padding: 4px;
    border: 1px solid #d8e5f1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(32, 64, 101, 0.08);
    cursor: pointer;
}

.footer-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-qr__zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(32, 51, 72, 0.82);
    color: #ffffff;
}

.footer-qr__zoom svg {
    width: 16px;
    height: 16px;
}

.footer-qr:hover .footer-qr__zoom,
.footer-qr:focus-visible .footer-qr__zoom {
    display: inline-flex;
}

.footer-modal[hidden] {
    display: none;
}

.footer-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 24px;
    box-sizing: border-box;
}

.footer-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 31, 49, 0.58);
    backdrop-filter: blur(4px);
}

.footer-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 440px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 31, 49, 0.26);
}

.footer-modal__dialog--referral {
    width: min(92vw, 460px);
}

.footer-modal__dialog--contact {
    width: min(92vw, 420px);
    padding: 20px 24px 26px;
    text-align: center;
}

.footer-modal__dialog--contact .footer-modal__head {
    position: relative;
    justify-content: center;
    margin-bottom: 4px;
}

.footer-modal__dialog--contact .footer-modal__close {
    position: absolute;
    top: -4px;
    right: -10px;
}

.footer-modal__dialog--confirm {
    width: min(92vw, 420px);
    padding: 30px;
    text-align: center;
}

.footer-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    margin-bottom: 12px;
}

.footer-modal__head strong {
    color: var(--color-text);
    font-size: 19px;
    font-weight: 800;
}

.footer-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef5fb;
    color: #476b90;
    cursor: pointer;
}

.footer-modal__close svg {
    width: 18px;
    height: 18px;
}

.footer-modal__referral-image {
    display: block;
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border: 1px solid #e2ebf4;
    border-radius: 8px;
    background: #ffffff;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.footer-contact-item {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #e0eaf3;
    border-radius: 8px;
    background: #f9fcff;
}

.footer-contact-item img {
    display: block;
    width: min(100%, 250px);
    height: 250px;
    object-fit: contain;
    background: #ffffff;
}

.footer-contact-item--person img {
    object-position: top center;
}

.footer-contact-item figcaption {
    color: #365a7d;
    font-size: 15px;
    font-weight: 800;
}

.footer-contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    margin-top: 16px;
    border: 1px solid #dbe7f2;
    border-radius: 8px;
    background: #ffffff;
    color: #2f6fae;
    font-size: 15px;
    font-weight: 700;
}

.footer-contact-email svg {
    width: 19px;
    height: 19px;
}

.footer-contact-modal__hint {
    margin: 0 0 12px;
    color: #8a8f96;
    font-size: 16px;
    line-height: 1.45;
}

.footer-contact-modal__qr,
.footer-contact-modal__wechat {
    display: block;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    object-fit: contain;
}

.footer-contact-modal__qr {
    width: min(100%, 230px);
}

.footer-contact-modal__email-label {
    margin: 14px 0 2px;
    color: #384b5e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.footer-contact-modal__email {
    display: inline-block;
    color: #384b5e;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.footer-contact-modal__wechat {
    width: min(100%, 240px);
    margin-top: 12px;
}

.footer-confirm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #eaf4ff;
    color: #2f6fae;
}

.footer-confirm__icon svg {
    width: 28px;
    height: 28px;
}

.footer-modal__dialog--confirm > strong {
    display: block;
    color: var(--color-text);
    font-size: 21px;
    font-weight: 800;
}

.footer-modal__dialog--confirm p {
    margin: 12px 0 22px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-confirm__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-confirm__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #dbe7f2;
    border-radius: 8px;
    background: #ffffff;
    color: #526a82;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.footer-confirm__button--primary {
    border-color: #2f6fae;
    background: #2f6fae;
    color: #ffffff;
}

.footer-modal__dialog--message {
    width: min(92vw, 540px);
}

.footer-message-form {
    display: grid;
    gap: 14px;
}

.footer-message-form textarea,
.footer-message-form input[type="tel"] {
    width: 100%;
    border: 1px solid #dbe7f2;
    border-radius: 6px;
    outline: 0;
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-message-form textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
    line-height: 1.7;
}

.footer-message-form input[type="tel"] {
    height: 44px;
    padding: 0 14px;
}

.footer-message-form textarea:focus,
.footer-message-form input[type="tel"]:focus {
    border-color: #6fa2d3;
    box-shadow: 0 0 0 3px rgba(47, 111, 174, 0.1);
}

.footer-message-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
}

.footer-message-upload__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #dbe7f2;
    border-radius: 6px;
    background: #f7fbff;
    color: #42688e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.footer-message-upload__button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.footer-message-upload__button svg {
    width: 18px;
    height: 18px;
}

.footer-message-upload__list {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
}

.footer-message-upload__item {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.footer-message-upload__item img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.footer-message-upload__item button {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #324c66;
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.footer-message-form__status {
    min-height: 20px;
    color: #60758a;
    font-size: 13px;
}

.footer-message-form__submit {
    justify-self: end;
    min-width: 120px;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #2f6fae;
    border-radius: 6px;
    background: #2f6fae;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.footer-message-form__submit:disabled {
    cursor: wait;
    opacity: 0.62;
}

body.is-footer-modal-open {
    overflow: hidden;
}

.stack-list {
    display: grid;
    gap: 14px;
}

.stack-company {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(184, 194, 204, 0.28);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
}

.stack-company img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 18px;
}

.stack-company strong {
    display: block;
    margin-bottom: 6px;
}

.stack-company span {
    color: var(--color-text-muted);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .card-grid--companies,
    .card-grid--products,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header__inner,
    .site-header__actions {
        flex-wrap: wrap;
    }

    .site-header__inner {
        gap: 10px 12px;
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .site-header__actions,
    .site-header--home .site-header__actions {
        margin-left: auto;
    }

    .site-header__tabs {
        order: 4;
        flex: 1 0 100%;
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    .site-header__tabs .home-tabs__nav {
        align-items: center;
        justify-content: flex-end;
    }

    .site-header__tabs .home-tabs__tab {
        min-height: 40px;
    }

    .page-search-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .page-search-form {
        width: 100%;
    }

    .header-stats {
        order: 3;
        flex: 1 0 100%;
        justify-content: flex-start;
    }

    .site-header__inner > .header-stats--top {
        flex: 1 0 100%;
        min-width: 0;
    }

    .site-header__inner > .header-auth__welcome--top {
        flex-basis: 160px;
        padding: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 680px) {
    .card-grid--companies,
    .card-grid--products,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .site-header__inner,
    .site-header__inner--compact,
    .site-header--home .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 8px;
        min-height: 0;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .brand {
        min-width: 0;
        justify-content: center;
        gap: 0;
    }

    .brand__mark {
        width: 128px;
        height: 46px;
    }

    .header-stats {
        order: 2;
        width: 100%;
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .header-stat {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .header-stat strong {
        font-size: 16px;
    }

    .site-header__actions {
        order: 4;
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        gap: 8px 10px;
    }

    .header-language {
        justify-self: center;
    }

    .header-language__button {
        min-width: 78px;
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .header-action {
        min-height: 38px;
        padding: 0 12px;
        gap: 7px;
        font-size: 13px;
    }

    .header-auth {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .header-auth__member,
    .header-auth__guest {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-auth__welcome {
        max-width: 100%;
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .site-header__tabs {
        order: 3;
        flex: none;
        width: 100%;
        margin-left: 0;
        padding: 0;
        justify-content: center;
    }

    .site-header__tabs .home-tabs__nav {
        gap: 8px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .site-header__tabs .home-tabs__tab {
        min-height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    .site-footer {
        padding: 10px 0;
    }

    .footer-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-home-body .footer-tools,
    body.page-company-list .footer-tools,
    body.page-news-list .footer-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-tool {
        min-height: 58px;
        padding: 0 10px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-modal {
        padding: 12px;
    }

    .footer-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 16px;
    }
}

@media (max-width: 680px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 100;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-header__inner,
    .site-header__inner--compact,
    .site-header--home .site-header__inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        min-height: 64px;
        padding-top: max(8px, env(safe-area-inset-top));
        padding-bottom: 8px;
        position: relative;
    }

    .brand {
        position: static;
        min-width: 0;
        justify-content: flex-start;
        margin-left: 2px;
    }

    .brand__mark {
        width: 92px;
        height: 34px;
    }

    .header-auth__welcome--top {
        display: none;
    }

    .site-header__page-search {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        min-width: 0;
        height: 40px;
        margin-left: 2px;
        border: 1px solid rgba(217, 231, 243, 0.96);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 18px rgba(32, 64, 101, 0.06);
        overflow: hidden;
    }

    .site-header__page-search-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .site-header__page-search input {
        width: 100%;
        min-width: 0;
        height: 100%;
        padding: 0 13px;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--color-text);
        font: inherit;
        font-size: 13px;
    }

    .site-header__page-search input::placeholder {
        color: var(--color-text-soft);
    }

    .header-stats {
        position: static;
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        min-width: 0;
        margin-left: auto;
        gap: 4px;
        flex-wrap: nowrap;
        overflow: visible;
        padding: 0;
    }

    .header-stat {
        display: grid;
        grid-template-columns: 13px minmax(0, 1fr);
        grid-template-rows: auto auto;
        flex: 0 0 auto;
        min-width: 0;
        min-height: 40px;
        align-content: center;
        padding: 2px 2px;
        column-gap: 3px;
        row-gap: 1px;
        font-size: 9px;
        white-space: nowrap;
    }

    .header-stat img {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: 13px;
        height: 13px;
    }

    .header-stat strong {
        grid-column: 2;
        grid-row: 1;
        font-size: 13px;
        line-height: 1.1;
    }

    .header-stat span {
        grid-column: 2;
        grid-row: 2;
        color: var(--color-text-soft);
        font-size: 9px;
        line-height: 1.1;
    }

    .site-header__inner > .header-stats--top {
        display: none !important;
    }

    .site-header__menu-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(217, 231, 243, 0.92);
    }

    .header-auth__welcome--drawer {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        margin-top: 14px;
        border-radius: 12px;
    }

    .header-stats--drawer {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        gap: 12px;
    }

    .header-stats--drawer .header-stat {
        grid-template-columns: 18px minmax(0, 1fr);
        min-height: 40px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        column-gap: 6px;
    }

    .header-stats--drawer .header-stat img {
        width: 16px;
        height: 16px;
    }

    .header-stats--drawer .header-stat strong {
        font-size: 16px;
    }

    .header-stats--drawer .header-stat span {
        font-size: 10px;
    }

    .site-header__menu-toggle {
        display: inline-flex;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        border: 1px solid rgba(217, 231, 243, 0.96);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.86);
        color: var(--color-primary-hover);
        box-shadow: 0 8px 18px rgba(32, 64, 101, 0.08);
        cursor: pointer;
    }

    .site-header__menu-toggle span {
        width: 19px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .site-header__menu-content {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: auto;
        z-index: 101;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        width: min(86vw, 360px);
        max-width: 100%;
        min-width: 0;
        padding: max(18px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #ffffff;
        border-right: 1px solid rgba(217, 231, 243, 0.96);
        box-shadow: 18px 0 42px rgba(32, 64, 101, 0.16);
        transform: translateX(-102%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.24s ease, visibility 0.24s ease;
    }

    .site-header--menu-open .site-header__menu-content,
    body.mobile-menu-open .site-header__menu-content {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .site-header__menu-close {
        display: inline-flex;
        position: relative;
        align-self: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(217, 231, 243, 0.96);
        border-radius: 12px;
        background: #f7fbff;
        color: var(--color-text);
        cursor: pointer;
    }

    .site-header__menu-close span {
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .site-header__menu-close span:first-child {
        transform: rotate(45deg);
    }

    .site-header__menu-close span:last-child {
        transform: rotate(-45deg);
    }

    .site-header__menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99;
        background: rgba(20, 42, 66, 0.3);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .site-header--menu-open .site-header__menu-backdrop,
    body.mobile-menu-open .site-header__menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header__tabs {
        display: block;
        flex: none;
        width: 100%;
        margin: 14px 0 0;
        padding: 0 0 20px;
        border-bottom: 1px solid rgba(217, 231, 243, 0.92);
    }

    .site-header__menu-content > .site-header__tabs,
    .site-header__menu-content > .site-header__actions {
        visibility: visible;
        opacity: 1;
    }

    .site-header__tabs .home-tabs__nav {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        margin: 0;
        overflow: visible;
    }

    .site-header__tabs .home-tabs__tab {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 52px;
        padding: 0 16px;
        border-radius: 12px;
        color: var(--color-text-soft);
        font-size: 16px;
    }

    .site-header__tabs .home-tabs__tab::after {
        top: 10px;
        right: auto;
        bottom: 10px;
        left: 0;
        width: 3px;
        height: auto;
        border-radius: 0 999px 999px 0;
        transform: scaleY(0.35);
        transform-origin: center;
    }

    .site-header__tabs .home-tabs__tab:hover,
    .site-header__tabs .home-tabs__tab:focus-visible,
    .site-header__tabs .home-tabs__tab.is-active {
        background: rgba(229, 242, 255, 0.72);
        color: var(--color-primary-hover);
    }

    .site-header__tabs .home-tabs__tab:hover::after,
    .site-header__tabs .home-tabs__tab:focus-visible::after,
    .site-header__tabs .home-tabs__tab.is-active::after {
        transform: scaleY(1);
    }

    .site-header__actions,
    .site-header--home .site-header__actions {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        flex: none;
        width: 100%;
        gap: 12px;
        margin: 20px 0 0;
    }

    .header-language,
    .header-language__button,
    .header-auth,
    .header-auth__member,
    .header-auth__guest,
    .header-action {
        width: 100%;
    }

    .header-language {
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .header-language__button,
    .header-action {
        justify-content: center;
        min-height: 48px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 15px;
    }

    .header-language__menu {
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        border-radius: 12px;
        box-shadow: none;
        background: #f7fbff;
    }

    .header-language__menu-item {
        justify-content: center;
        min-height: 42px;
        padding: 0 16px;
    }

    .header-auth {
        display: flex;
        align-items: stretch;
        gap: 0;
    }

    .header-auth__member,
    .header-auth__guest {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .footer-tools {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-footer {
        margin-top: 24px;
        padding: 10px 0 max(10px, env(safe-area-inset-bottom));
    }

    body.page-home-body .footer-tools,
    body.page-company-list .footer-tools,
    body.page-news-list .footer-tools {
        padding: 6px 10px max(6px, env(safe-area-inset-bottom));
        gap: 8px;
    }

    body.page-home-body .footer-tools,
    body.page-company-list .footer-tools,
    body.page-news-list .footer-tools {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-legal {
        gap: 8px;
        padding: 0 12px;
        font-size: 11px;
    }

    .footer-disclaimer-link {
        min-height: 28px;
        padding: 0 8px;
        font-size: 11px;
    }

    body.page-home-body .footer-tool,
    body.page-company-list .footer-tool,
    body.page-news-list .footer-tool {
        flex-direction: column;
        justify-content: center;
        min-height: 58px;
        padding: 6px 10px;
        gap: 8px;
        border-radius: 12px;
    }

}
