/* ==========================================================================
   日本展会网 - 页面重设计样式（导航栏 / 底部 / 联系我们 / 展会筛选）
   主题：蓝 #5d92d6 · 辅助绿 #6a994e · 深色底 #16243a
   ========================================================================== */

/* ==========================================================================
   1. 顶部信息条
   ========================================================================== */
.rd-topbar {
    background: #16243a;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.rd-topbar a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color .2s ease;
}

.rd-topbar a:hover {
    color: #fff;
}

.rd-topbar .rd-topbar-left span,
.rd-topbar .rd-topbar-right span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 22px;
}

.rd-topbar .rd-topbar-right span {
    margin-right: 0;
    margin-left: 22px;
}

.rd-topbar i {
    color: #5d92d6;
}

.rd-topbar .rd-divider {
    color: rgba(255, 255, 255, .25);
    margin: 0 8px;
}

/* ==========================================================================
   2. 导航栏
   ========================================================================== */
.atf-header-area .atf-site-header {
    background: #fff;
    box-shadow: 0 2px 18px rgba(22, 36, 58, .06);
    transition: box-shadow .25s ease, padding .25s ease;
}

.atf-header-area .atf-site-header.atf-sticky-header {
    padding: 12px 0;
}

/* 导航菜单项 */
.atf-header-area .atf-nav-list {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.atf-header-area .atf-nav-list > li > a {
    position: relative;
    font-weight: 500;
    color: #333;
    padding: 12px 13px;
    white-space: nowrap;
    transition: color .2s ease;
}

.atf-header-area .atf-nav-list > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5d92d6, #6a994e);
    transform: translateX(-50%);
    transition: width .25s ease;
    border-radius: 2px;
}

.atf-header-area .atf-nav-list > li > a:hover,
.atf-header-area .atf-nav-list > li > a:focus {
    color: #5d92d6;
}

.atf-header-area .atf-nav-list > li > a:hover::after,
.atf-header-area .atf-nav-list > li.current > a::after {
    width: 60%;
}

.atf-header-area .atf-nav-list > li.current > a {
    color: #5d92d6;
}

/* 右侧联系区 + CTA */
.rd-header-actions {
    gap: 18px;
}

.rd-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.rd-header-phone .rd-phone-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(93, 146, 214, .12);
    color: #5d92d6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.rd-header-phone small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #999;
    line-height: 1;
    margin-bottom: 3px;
}

.rd-header-phone strong {
    display: block;
    font-size: 15px;
    line-height: 1;
    color: #333;
}

.rd-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 30px;
    background: linear-gradient(90deg, #5d92d6, #4a7fd4);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(93, 146, 214, .35);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.rd-btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(93, 146, 214, .45);
}

/* ==========================================================================
   3. 网站底部
   ========================================================================== */
.rd-footer {
    background: #16243a;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    padding: 64px 0 0;
    position: relative;
}

.rd-footer .rd-footer-main {
    padding-bottom: 40px;
}

.rd-footer .rd-footer-logo {
    max-width: 180px;
    margin-bottom: 18px;
    display: block;
    filter: brightness(0) invert(1);
}

.rd-footer .rd-footer-about {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 13px;
    color: #fff;
}

.rd-footer .rd-footer-social {
    display: flex;
    gap: 10px;
}

.rd-footer .rd-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.rd-footer .rd-footer-social a:hover {
    background: #5d92d6;
    color: #fff;
    transform: translateY(-3px);
}

.rd-footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.rd-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #5d92d6, #6a994e);
    border-radius: 2px;
}

.rd-footer .rd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rd-footer .rd-footer-links li {
    margin-bottom: 11px;
}

.rd-footer .rd-footer-links a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
    position: relative;
}

.rd-footer .rd-footer-links a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #5d92d6;
    font-size: 12px;
}

.rd-footer .rd-footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.rd-footer .rd-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rd-footer .rd-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.rd-footer .rd-footer-contact i {
    color: #5d92d6;
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.rd-footer .rd-footer-contact a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .2s ease;
}

.rd-footer .rd-footer-contact a:hover {
    color: #fff;
}

.rd-footer .rd-footer-wx {
    width: 92px;
    border-radius: 8px;
    border: 3px solid rgba(255, 255, 255, .15);
    display: block;
}

.rd-footer .rd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.rd-footer .rd-footer-bottom a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.rd-footer .rd-footer-bottom a:hover {
    color: #fff;
}

/* ==========================================================================
   4. 联系我们页面
   ========================================================================== */
.rd-contact-info {
    background: #fff;
    border-radius: 12px;
    padding: 32px 22px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(22, 36, 58, .08);
    border: 1px solid #f0f2f6;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.rd-contact-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(22, 36, 58, .14);
}

.rd-contact-info .rd-contact-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(93, 146, 214, .14), rgba(106, 153, 78, .14));
    color: #5d92d6;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rd-contact-info h4 {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
}

.rd-contact-info span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
}

.rd-contact-info span a {
    color: #333;
    text-decoration: none;
}

.rd-contact-form-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(22, 36, 58, .08);
    border: 1px solid #f0f2f6;
}

.rd-contact-form-wrap .rd-section-title {
    text-align: center;
    margin-bottom: 28px;
}

.rd-contact-form-wrap .rd-section-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.rd-contact-form-wrap .rd-section-title p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* 表单头部（标题 + 微信二维码） */
.rd-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0f2f6;
}

.rd-form-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.rd-form-header p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.rd-form-wx {
    text-align: center;
    flex-shrink: 0;
}

.rd-form-wx img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #eef1f5;
    display: block;
    margin: 0 auto 6px;
}

.rd-form-wx span {
    display: block;
    font-size: 12px;
    color: #999;
}

/* 通用区块标题 */
.rd-section-title {
    margin-bottom: 30px;
}

.rd-section-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.rd-section-title p {
    color: #999;
    font-size: 15px;
    margin: 0;
}

/* 联系页 - 服务卡片 */
.rd-service-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    margin-bottom: 24px;
    transition: all .3s ease;
}

.rd-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(93, 146, 214, .15);
    border-color: #5d92d6;
}

.rd-service-icon {
    width: 62px;
    height: 62px;
    line-height: 62px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #5d92d6, #6a994e);
    color: #fff;
    font-size: 24px;
    transition: transform .3s ease;
}

.rd-service-card:hover .rd-service-icon {
    transform: scale(1.08);
}

.rd-service-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.rd-service-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.6;
}

/* 联系页 - 公司简介 */
.rd-company-intro {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 36px 34px;
    height: 100%;
}

.rd-company-intro .rd-section-title {
    text-align: left;
    margin-bottom: 16px;
}

.rd-company-intro p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 14px;
}

.rd-company-intro p b {
    color: #5d92d6;
}

.rd-intro-points {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.rd-intro-points li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.rd-intro-points li i {
    color: #6a994e;
    margin-right: 8px;
}

/* 联系页 - 微信卡片 */
.rd-wx-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 36px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rd-wx-card img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 1px solid #eef1f5;
    margin: 0 auto 18px;
    display: block;
    object-fit: cover;
}

.rd-wx-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.rd-wx-card p {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.rd-wx-phone {
    display: inline-block;
    background: #f0f6ff;
    color: #5d92d6;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
}

.rd-wx-phone i {
    margin-right: 6px;
}

/* 联系页 - 底部 CTA */
.rd-cta-inner {
    background: linear-gradient(120deg, #5d92d6, #6a994e);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.rd-cta-text h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rd-cta-text p {
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    margin: 0;
}

.rd-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.rd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s ease;
}

.rd-cta-phone {
    background: #fff;
    color: #5d92d6;
}

.rd-cta-phone:hover {
    background: #f0f6ff;
    transform: translateY(-2px);
    color: #5d92d6;
}

.rd-cta-mail {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.rd-cta-mail:hover {
    background: rgba(255, 255, 255, .3);
    transform: translateY(-2px);
    color: #fff;
}

.rd-contact-form-wrap .atf_contact_input {
    margin-bottom: 16px;
}

.rd-contact-form-wrap .atf_contact_input label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.rd-contact-form-wrap .atf_contact_input input,
.rd-contact-form-wrap .atf_contact_input textarea {
    width: 100%;
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    background: #fafbfc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
}

.rd-contact-form-wrap .atf_contact_input input:focus,
.rd-contact-form-wrap .atf_contact_input textarea:focus {
    border-color: #5d92d6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(93, 146, 214, .12);
}

.rd-contact-form-wrap .rd-checkcode {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rd-contact-form-wrap .rd-checkcode input {
    flex: 1;
}

.rd-contact-form-wrap .rd-checkcode img {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #e6e9ef;
    cursor: pointer;
    flex-shrink: 0;
}

.rd-contact-form-wrap .rd-submit-btn {
    display: inline-block;
    padding: 13px 44px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #5d92d6, #4a7fd4);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(93, 146, 214, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.rd-contact-form-wrap .rd-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(93, 146, 214, .45);
}

.rd-contact-side {
    background: linear-gradient(160deg, #16243a, #1f3556);
    border-radius: 14px;
    padding: 40px 30px;
    color: rgba(255, 255, 255, .85);
    height: 100%;
}

.rd-contact-side h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
}

.rd-contact-side .rd-side-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.rd-contact-side .rd-side-item i {
    color: #6a994e;
    font-size: 17px;
    margin-top: 4px;
    flex-shrink: 0;
}

.rd-contact-side .rd-side-item a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}

.rd-contact-side .rd-side-item a:hover {
    color: #fff;
}

.rd-contact-side .rd-side-wx {
    text-align: center;
    margin-top: 12px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.rd-contact-side .rd-side-wx img {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.rd-contact-side .rd-side-wx p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

/* ==========================================================================
   5. 日本展会筛选面板
   ========================================================================== */
.rd-filter-panel {
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px 14px;
    box-shadow: 0 8px 28px rgba(22, 36, 58, .08);
    border: 1px solid #f0f2f6;
    margin: 18px 0 0;
}

.rd-filter-group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed #eef1f5;
}

.rd-filter-group:last-child {
    border-bottom: none;
}

.rd-filter-label {
    flex-shrink: 0;
    min-width: 86px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #5d92d6, #4a7fd4);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 12px rgba(93, 146, 214, .3);
}

.rd-filter-label i {
    font-size: 14px;
}

.rd-filter-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rd-filter-tags a {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 20px;
    background: #f5f7fa;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .2s ease;
}

.rd-filter-tags a:hover {
    background: #eaf2fc;
    color: #5d92d6;
    border-color: rgba(93, 146, 214, .35);
}

.rd-filter-tags a.active,
.rd-filter-tags a.on {
    background: linear-gradient(90deg, #5d92d6, #4a7fd4);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(93, 146, 214, .3);
}

/* ==========================================================================
   6. 响应式
   ========================================================================== */
@media (max-width: 991px) {
    .rd-topbar {
        display: none;
    }

    .rd-header-phone {
        display: none;
    }

    .rd-footer {
        padding-top: 44px;
    }

    .rd-footer .rd-footer-main [class*="col-"] {
        margin-bottom: 28px;
    }

    .rd-contact-form-wrap {
        padding: 26px 20px;
    }
}

@media (max-width: 768px) {
    .rd-filter-panel {
        padding: 18px 16px 6px;
    }

    .rd-filter-group {
        flex-direction: column;
        gap: 10px;
    }

    .rd-filter-label {
        min-width: auto;
    }
}

/* 展会详情页 - 响应式视频（保持16:9原比例，随容器宽度自适应） */
.rd-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.rd-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
