/* ============================================================================
   容方半导体官网 rf.css
   手工维护样式 ( grunt 不编译本文件, 模板以 ?v=filemtime 破缓存直载 )
   配色: 主蓝 #0d4fa1 / 深海军 #0b2b52 / 青色点缀 #12b0dd
   ============================================================================ */

:root {
    --rf-primary: #0d4fa1;
    --rf-primary-dark: #0a3a7a;
    --rf-navy: #0b2b52;
    --rf-navy-deep: #081f3d;
    --rf-accent: #12b0dd;
    --rf-text: #333a45;
    --rf-muted: #7a8494;
    --rf-border: #e5eaf1;
    --rf-bg: #f5f8fb;
    --rf-radius: 6px;
    --rf-shadow: 0 6px 24px rgba(13, 79, 161, 0.08);
}

html { -webkit-text-size-adjust: 100%; }

body.rf-body {
    margin: 0;
    /* 覆盖 frontend.min.css 为固定导航预留的 padding-top, 消除页头顶部空白 */
    padding-top: 0 !important;
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", Arial, sans-serif;
    font-size: 14px;
    color: var(--rf-text);
    background: #fff;
    line-height: 1.7;
}

.rf-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.rf-container-narrow { max-width: 900px; }
a { color: var(--rf-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rf-accent); }
img { max-width: 100%; }

/* ------------------------------- 按钮 ------------------------------- */
.rf-btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s;
}
.rf-btn i { margin-left: 6px; }
.rf-btn-lg { padding: 13px 34px; font-size: 15px; }
.rf-btn-primary { background: var(--rf-primary); color: #fff; }
.rf-btn-primary:hover { background: var(--rf-primary-dark); color: #fff; }
.rf-btn-outline { border-color: var(--rf-primary); color: var(--rf-primary); background: transparent; }
.rf-btn-outline:hover { background: var(--rf-primary); color: #fff; }
.rf-btn-light { background: #fff; color: var(--rf-primary); }
.rf-btn-light:hover { background: rgba(255,255,255,.88); color: var(--rf-primary-dark); }

/* ------------------------------- 页头 ------------------------------- */
.rf-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow .25s; }
.rf-header.is-stuck { box-shadow: 0 4px 18px rgba(11, 43, 82, 0.12); }

.rf-topbar { background: var(--rf-navy); color: #cdd8e6; font-size: 12px; }
.rf-topbar .rf-container { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.rf-topbar-brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-topbar-right { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.rf-topbar-right a { color: #cdd8e6; }
.rf-topbar-right a:hover { color: #fff; }
.rf-topbar-right i { margin-right: 4px; }
.rf-lang-switch { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.2); }

.rf-navbar .rf-navbar-inner { display: flex; align-items: center; height: 72px; gap: 20px; }
.rf-logo { display: flex; align-items: center; flex-shrink: 0; }
.rf-logo img { height: 44px; width: auto; }

.rf-nav { flex: 1; display: flex; justify-content: flex-end; }
.rf-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.rf-nav-item { position: relative; }
.rf-nav-item > a {
    display: block;
    padding: 25px 18px;
    color: var(--rf-text);
    font-size: 15px;
    position: relative;
    white-space: nowrap;
}
.rf-nav-item > a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 14px;
    width: 0; height: 2px;
    background: var(--rf-accent);
    transition: all .25s;
    transform: translateX(-50%);
}
.rf-nav-item:hover > a, .rf-nav-item.active > a { color: var(--rf-primary); }
.rf-nav-item:hover > a::after, .rf-nav-item.active > a::after { width: 28px; }

.rf-subnav {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: #fff;
    border-radius: var(--rf-radius);
    box-shadow: 0 10px 30px rgba(11, 43, 82, 0.16);
    list-style: none;
    margin: 0; padding: 8px 0;
    opacity: 0; visibility: hidden;
    transition: all .22s;
}
.rf-nav-item:hover .rf-subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.rf-subnav li a { display: block; padding: 9px 20px; color: var(--rf-text); font-size: 14px; white-space: nowrap; }
.rf-subnav li a:hover { background: var(--rf-bg); color: var(--rf-primary); padding-left: 24px; }

.rf-search { display: flex; align-items: center; border: 1px solid var(--rf-border); border-radius: 4px; overflow: hidden; }
.rf-search input { border: 0; outline: 0; height: 32px; width: 130px; padding: 0 10px; font-size: 13px; }
.rf-search button { border: 0; background: var(--rf-bg); color: var(--rf-muted); height: 32px; padding: 0 10px; cursor: pointer; }
.rf-search button:hover { background: var(--rf-primary); color: #fff; }

.rf-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.rf-burger span { display: block; width: 24px; height: 2px; background: var(--rf-navy); transition: all .25s; }
.rf-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rf-burger.open span:nth-child(2) { opacity: 0; }
.rf-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- 轮播 ------------------------------- */
.rf-hero { position: relative; height: 560px; overflow: hidden; background: var(--rf-navy); }
.rf-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s; }
.rf-hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.rf-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.rf-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,61,.72) 0%, rgba(8,31,61,.28) 55%, rgba(8,31,61,.05) 100%); }
.rf-hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.rf-hero-text { max-width: 640px; color: #fff; }
.rf-hero-text h2 { font-size: 42px; line-height: 1.35; margin: 0 0 16px; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.rf-hero-sub { font-size: 17px; opacity: .92; margin: 0 0 30px; letter-spacing: 1px; }
.rf-hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; line-height: 44px; text-align: center;
    color: #fff; font-size: 26px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
    transition: all .25s;
}
.rf-hero-arrow:hover { background: rgba(255,255,255,.18); color: #fff; }
.rf-hero-prev { left: 24px; }
.rf-hero-next { right: 24px; }
.rf-hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; text-align: center; }
.rf-hero-dots span { display: inline-block; width: 26px; height: 3px; margin: 0 5px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .25s; }
.rf-hero-dots span.on { background: var(--rf-accent); }

/* ------------------------------- 内页头图 ------------------------------- */
.rf-page-hero { position: relative; height: 280px; background: var(--rf-navy) url(/assets/img/rf/photos/hero-photo-dark.jpg) center/cover no-repeat; }
.rf-page-hero-sm { height: 220px; }
.rf-page-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,61,.78), rgba(8,31,61,.42)); }
.rf-page-hero-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.rf-page-hero-inner h1 { margin: 0 0 10px; font-size: 32px; letter-spacing: 2px; }
.rf-crumb { font-size: 13px; color: rgba(255,255,255,.75); }
.rf-crumb a { color: rgba(255,255,255,.75); }
.rf-crumb a:hover { color: #fff; }
.rf-crumb i { margin: 0 8px; font-size: 11px; }

/* ------------------------------- 区块通用 ------------------------------- */
.rf-section { padding: 72px 0; }
.rf-section-gray { background: var(--rf-bg); }
.rf-section-head { text-align: center; margin-bottom: 44px; }
.rf-section-head-left { text-align: left; margin-bottom: 18px; }
.rf-section-sub {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--rf-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}
.rf-section-head h2 { font-size: 30px; margin: 0; color: var(--rf-navy); position: relative; padding-bottom: 16px; }
.rf-section-head h2::after {
    content: '';
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 44px; height: 3px; background: var(--rf-primary);
}
.rf-section-head-left h2::after { left: 0; transform: none; }
.rf-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 40px; }
.rf-section-head-row h2::after { left: 0; transform: none; }
.rf-more-link { font-size: 14px; color: var(--rf-muted); white-space: nowrap; }
.rf-more-link:hover { color: var(--rf-primary); }
.rf-more-link i { margin-left: 4px; }
.rf-empty { text-align: center; color: var(--rf-muted); padding: 60px 0; font-size: 15px; }

/* ------------------------------- 关于我们 ------------------------------- */
.rf-about-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.rf-about-summary { font-size: 15px; color: var(--rf-muted); }
.rf-about-points { list-style: none; margin: 18px 0 26px; padding: 0; }
.rf-about-points li { position: relative; padding: 7px 0 7px 26px; }
.rf-about-points li i { position: absolute; left: 0; top: 11px; color: var(--rf-accent); }
.rf-about-media img { border-radius: var(--rf-radius); box-shadow: var(--rf-shadow); display: block; }

/* ------------------------------- 核心优势 ------------------------------- */
.rf-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rf-adv-card {
    background: #fff;
    border-radius: var(--rf-radius);
    padding: 34px 24px;
    text-align: center;
    box-shadow: var(--rf-shadow);
    transition: all .3s;
    border-top: 3px solid transparent;
}
.rf-adv-card:hover { transform: translateY(-6px); border-top-color: var(--rf-accent); }
.rf-adv-icon {
    width: 64px; height: 64px; margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rf-primary), var(--rf-accent));
    color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
}
.rf-adv-card h3 { font-size: 17px; margin: 0 0 10px; color: var(--rf-navy); }
.rf-adv-card p { margin: 0; font-size: 13px; color: var(--rf-muted); }

/* ------------------------------- 产品 ------------------------------- */
.rf-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rf-product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rf-product-grid-4 { grid-template-columns: repeat(4, 1fr); }
.rf-product-card {
    display: block;
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    overflow: hidden;
    transition: all .3s;
}
.rf-product-card:hover { transform: translateY(-5px); box-shadow: var(--rf-shadow); border-color: rgba(13,79,161,.35); }
.rf-product-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rf-bg); }
.rf-product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rf-product-card:hover .rf-product-cover img { transform: scale(1.05); }
.rf-product-hot {
    position: absolute; top: 10px; left: 10px;
    background: var(--rf-accent); color: #fff;
    font-size: 12px; padding: 1px 8px; border-radius: 3px;
}
.rf-product-body { padding: 16px 18px 18px; }
.rf-product-line { font-size: 12px; color: var(--rf-accent); letter-spacing: 1px; }
.rf-product-body h3 { font-size: 15px; margin: 6px 0 8px; color: var(--rf-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-product-body p {
    margin: 0 0 12px; font-size: 13px; color: var(--rf-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 44px;
}
.rf-product-more { font-size: 13px; color: var(--rf-primary); }
.rf-product-more i { margin-left: 4px; transition: margin .25s; }
.rf-product-card:hover .rf-product-more i { margin-left: 8px; }

.rf-line-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 38px; }
.rf-line-chip {
    padding: 8px 20px;
    border: 1px solid var(--rf-border);
    border-radius: 20px;
    color: var(--rf-text);
    background: #fff;
    font-size: 13px;
}
.rf-line-chip:hover { border-color: var(--rf-primary); color: var(--rf-primary); background: rgba(13,79,161,.04); }

.rf-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.rf-filter-item {
    padding: 7px 22px;
    border-radius: 20px;
    border: 1px solid var(--rf-border);
    color: var(--rf-text);
    background: #fff;
    font-size: 14px;
}
.rf-filter-item:hover { color: var(--rf-primary); border-color: var(--rf-primary); }
.rf-filter-item.active { background: var(--rf-primary); border-color: var(--rf-primary); color: #fff; }
.rf-line-desc { text-align: center; color: var(--rf-muted); max-width: 760px; margin: 0 auto 34px; font-size: 13px; }

/* 产品详情 */
.rf-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 46px; }
.rf-detail-media { background: var(--rf-bg); border-radius: var(--rf-radius); overflow: hidden; }
.rf-detail-media img { width: 100%; display: block; }
.rf-detail-title { font-size: 26px; color: var(--rf-navy); margin: 0 0 14px; }
.rf-detail-summary { color: var(--rf-muted); font-size: 15px; }
.rf-detail-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.rf-detail-block { margin-top: 46px; }
.rf-detail-h2 {
    position: relative;
    font-size: 20px;
    color: var(--rf-navy);
    text-align: center;
    margin: 0 0 26px;
}
.rf-detail-h2 span { position: relative; padding: 0 18px; background: #fff; z-index: 1; }
.rf-detail-h2::before, .rf-section-gray .rf-detail-h2::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rf-border); }

/* ------------------------------- 数据统计 ------------------------------- */
.rf-stats {
    background: var(--rf-navy) url(/assets/img/rf/banner/stats-bg.svg) center/cover no-repeat;
    padding: 58px 0;
}
.rf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.rf-stat strong { display: block; font-size: 42px; color: #fff; line-height: 1.2; font-weight: 700; }
.rf-stat span { color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: 1px; }

/* ------------------------------- 应用领域 ------------------------------- */
.rf-app-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rf-app-item {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 26px 22px;
    text-align: center;
    transition: all .3s;
}
.rf-app-item:hover { box-shadow: var(--rf-shadow); transform: translateY(-4px); }
.rf-app-item img { height: 64px; margin-bottom: 14px; }
.rf-app-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--rf-navy); }
.rf-app-item p { margin: 0; font-size: 13px; color: var(--rf-muted); }
.rf-app-item p + p { margin-top: 6px; }

/* 首页应用区块里的内容为 CMS 页网格, 去掉页内重复 padding */
.rf-section-app .rf-app-grid { margin-bottom: 6px; }

/* ------------------------------- 新闻 ------------------------------- */
.rf-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rf-news-grid-2 { grid-template-columns: repeat(2, 1fr); }
.rf-news-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    overflow: hidden;
    color: var(--rf-text);
    transition: all .3s;
}
.rf-news-card:hover { transform: translateY(-5px); box-shadow: var(--rf-shadow); color: var(--rf-text); }
.rf-news-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--rf-bg); }
.rf-news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rf-news-card:hover .rf-news-cover img { transform: scale(1.05); }
.rf-news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rf-news-body time { font-size: 12px; color: var(--rf-accent); letter-spacing: 1px; }
.rf-news-body h3 {
    font-size: 15px; margin: 8px 0;
    color: var(--rf-navy); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rf-news-body p {
    margin: 0 0 12px; font-size: 13px; color: var(--rf-muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rf-news-more { margin-top: auto; font-size: 13px; color: var(--rf-primary); }
.rf-news-more i { margin-left: 4px; transition: margin .25s; }
.rf-news-card:hover .rf-news-more i { margin-left: 8px; }

/* 列表页横向卡片 */
.rf-news-card-h { flex-direction: row; }
.rf-news-card-h .rf-news-cover { width: 38%; aspect-ratio: auto; flex-shrink: 0; }

/* 文章详情 */
.rf-article { background: #fff; }
.rf-article-head h1 { font-size: 24px; color: var(--rf-navy); margin: 0 0 10px; line-height: 1.5; }
.rf-article-subtitle { color: var(--rf-muted); margin: 0 0 10px; }
.rf-article-meta { color: var(--rf-muted); font-size: 13px; display: flex; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rf-border); }
.rf-article-meta i { margin-right: 4px; color: var(--rf-accent); }
.rf-article-cover { margin: 24px 0; border-radius: var(--rf-radius); overflow: hidden; }
.rf-article-pn { display: flex; gap: 16px; margin: 36px 0 26px; }
.rf-pn-item {
    flex: 1;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    padding: 12px 16px;
    display: flex; flex-direction: column; gap: 4px;
    color: var(--rf-muted); font-size: 12px;
    overflow: hidden;
}
.rf-pn-item strong { color: var(--rf-navy); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-pn-item:hover { border-color: var(--rf-primary); }
.rf-pn-right { text-align: right; }
.rf-pn-empty { border-color: transparent; }
.rf-back-list { margin-bottom: 10px; }
.rf-related-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rf-border); }
.rf-related-news li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--rf-border); padding: 12px 2px; }
.rf-related-news li a { flex: 1; color: var(--rf-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-related-news li a:hover { color: var(--rf-primary); }
.rf-related-news time { color: var(--rf-muted); font-size: 12px; white-space: nowrap; }

/* ------------------------------- 合作伙伴 ------------------------------- */
.rf-partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.rf-partner-item {
    background: #fff;
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    display: flex; align-items: center; justify-content: center;
    padding: 18px;
    filter: grayscale(1);
    opacity: .8;
    transition: all .3s;
}
.rf-partner-item:hover { filter: none; opacity: 1; }
.rf-partner-item img { max-height: 52px; width: auto; }

/* ------------------------------- CTA ------------------------------- */
.rf-cta { background: linear-gradient(120deg, var(--rf-primary) 0%, var(--rf-accent) 100%); padding: 46px 0; color: #fff; }
.rf-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.rf-cta h2 { margin: 0 0 6px; font-size: 24px; }
.rf-cta p { margin: 0; opacity: .9; }
.rf-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rf-cta-phone { color: #fff; font-size: 20px; font-weight: 600; }
.rf-cta-phone:hover { color: #fff; opacity: .88; }
.rf-cta-phone i { margin-right: 8px; }

/* ------------------------------- 页脚 ------------------------------- */
.rf-footer { background: var(--rf-navy-deep); color: #9fb0c5; }
.rf-footer a { color: #9fb0c5; }
.rf-footer a:hover { color: #fff; }
.rf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding: 52px 0 40px; }
.rf-footer-logo { height: 40px; margin-bottom: 16px; }
.rf-footer-blurb { font-size: 13px; line-height: 1.9; margin: 0 0 18px; }
.rf-footer-qr { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.rf-footer-qr img { width: 84px; height: 84px; background: #fff; border-radius: 4px; padding: 4px; }
.rf-footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 18px; font-weight: 600; letter-spacing: 1px; }
.rf-footer-col ul { list-style: none; margin: 0; padding: 0; }
.rf-footer-col li { padding: 5px 0; font-size: 13px; }
.rf-footer-contact li { display: flex; gap: 8px; line-height: 1.8; }
.rf-footer-contact i { color: var(--rf-accent); margin-top: 4px; }
.rf-footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 12px; }
.rf-footer-bar .rf-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ------------------------------- 悬浮工具条 ------------------------------- */
.rf-float {
    position: fixed;
    right: 16px; bottom: 90px;
    z-index: 1200;
    display: flex; flex-direction: column; gap: 8px;
}
.rf-float-item {
    position: relative;
    width: 44px; height: 44px;
    background: var(--rf-navy);
    color: #fff;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all .25s;
}
.rf-float-item:hover { background: var(--rf-primary); color: #fff; }
.rf-float-tip {
    position: absolute; right: 54px; top: 50%;
    transform: translateY(-50%);
    background: var(--rf-navy); color: #fff;
    font-size: 12px; line-height: 1.7;
    padding: 8px 12px; border-radius: 6px;
    white-space: nowrap;
    opacity: 0; visibility: hidden; transition: all .22s;
    text-align: center;
}
.rf-float-item:hover .rf-float-tip { opacity: 1; visibility: visible; }
.rf-float-tip-qr { padding: 6px; }
.rf-float-tip-qr img { width: 130px; height: 130px; display: block; background: #fff; border-radius: 4px; }
.rf-float-top { opacity: 0; visibility: hidden; }
.rf-float-top.is-show { opacity: 1; visibility: visible; }

/* ------------------------------- 询盘表单 ------------------------------- */
.rf-inquiry {
    background: var(--rf-bg);
    border-radius: var(--rf-radius);
    padding: 34px 34px 30px;
    border: 1px solid var(--rf-border);
}
.rf-inquiry-head { text-align: center; margin-bottom: 24px; }
.rf-inquiry-head h3 { font-size: 20px; color: var(--rf-navy); margin: 0 0 6px; }
.rf-inquiry-head h3 i { color: var(--rf-accent); margin-right: 8px; }
.rf-inquiry-head p { margin: 0; color: var(--rf-muted); font-size: 13px; }
.rf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rf-form-field { margin-bottom: 16px; }
.rf-form-field label { display: block; font-size: 13px; color: var(--rf-navy); margin-bottom: 6px; }
.rf-form-field label em { color: #e04545; font-style: normal; }
.rf-form-field input, .rf-form-field textarea {
    width: 100%;
    border: 1px solid var(--rf-border);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border .2s;
    background: #fff;
    box-sizing: border-box;
}
.rf-form-field input:focus, .rf-form-field textarea:focus { border-color: var(--rf-primary); }
.rf-form-actions { display: flex; align-items: center; gap: 16px; }
.rf-form-msg { font-size: 13px; }
.rf-form-msg.ok { color: #1a9e5c; }
.rf-form-msg.err { color: #e04545; }

/* ------------------------------- 联系页 ------------------------------- */
.rf-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 40px; }
.rf-contact-card {
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    text-align: center;
    padding: 26px 18px;
    transition: all .3s;
}
.rf-contact-card:hover { box-shadow: var(--rf-shadow); }
.rf-contact-card i { font-size: 26px; color: var(--rf-primary); margin-bottom: 12px; display: inline-block; }
.rf-contact-card h4 { margin: 0 0 8px; font-size: 15px; color: var(--rf-navy); }
.rf-contact-card p { margin: 0; font-size: 13px; color: var(--rf-muted); }

/* ------------------------------- 富文本内容 ------------------------------- */
.rf-content { font-size: 15px; line-height: 1.9; color: var(--rf-text); }
.rf-content p { margin: 0 0 14px; }
.rf-content .rf-lead { font-size: 16px; color: var(--rf-navy); }
.rf-content img { border-radius: 4px; }
.rf-content ul, .rf-content ol { padding-left: 22px; }

.rf-content table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 14px; }
.rf-content table th, .rf-content table td { border: 1px solid var(--rf-border); padding: 10px 14px; text-align: left; }
.rf-content table th { background: var(--rf-bg); color: var(--rf-navy); font-weight: 600; white-space: nowrap; }
.rf-content table tr:nth-child(even) td { background: #fafcfe; }

/* 企业文化 / 荣誉资质 (页面内容内置结构) */
.rf-culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 24px 0; }
.rf-culture-item { background: var(--rf-bg); border-radius: var(--rf-radius); padding: 26px 22px; }
.rf-culture-item h4 { margin: 0 0 12px; color: var(--rf-primary); font-size: 16px; }
.rf-culture-item p { margin: 0 0 10px; font-size: 14px; }
.rf-culture-item p:last-child { margin: 0; color: var(--rf-muted); font-size: 13px; }

.rf-honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 24px 0; }
.rf-honor-item {
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    overflow: hidden;
    background: #fff;
    transition: all .3s;
}
.rf-honor-item:hover { box-shadow: var(--rf-shadow); }
.rf-honor-item img { display: block; width: 100%; aspect-ratio: 210 / 297; object-fit: cover; }
.rf-honor-item span { display: block; text-align: center; padding: 10px; font-size: 13px; color: var(--rf-navy); }

/* ------------------------------- 搜索/分页 ------------------------------- */
.rf-search-count { color: var(--rf-muted); margin-bottom: 26px; }
.rf-search-news { margin-top: 8px; }
.rf-pagination { margin-top: 36px; text-align: center; }
.rf-pagination .pagination { margin: 0; }
.rf-pagination li a, .rf-pagination li span { border-radius: 4px !important; margin: 0 3px; }
.rf-pagination .active span { background: var(--rf-primary) !important; border-color: var(--rf-primary) !important; }

/* ------------------------------- 响应式 ------------------------------- */
@media (max-width: 1200px) {
    .rf-hero-text h2 { font-size: 36px; }
}

@media (max-width: 991px) {
    .rf-topbar-brand { max-width: 50%; }
    .rf-navbar .rf-navbar-inner { height: 62px; }
    .rf-search { display: none; }
    .rf-burger { display: flex; margin-left: auto; }
    .rf-logo img { height: 38px; }

    .rf-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        display: none;
        box-shadow: 0 16px 28px rgba(11,43,82,.16);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }
    .rf-nav.open { display: block; }
    .rf-nav > ul { display: block; padding: 6px 0; }
    .rf-nav-item > a { padding: 12px 22px; border-bottom: 1px solid var(--rf-border); }
    .rf-nav-item > a::after { display: none; }
    .rf-subnav {
        position: static;
        transform: none;
        opacity: 1; visibility: visible;
        box-shadow: none;
        display: none;
        background: var(--rf-bg);
        border-radius: 0;
        padding: 4px 0;
    }
    .rf-nav-item.expanded .rf-subnav { display: block; }
    .rf-subnav li a { padding-left: 36px; }
    .rf-subnav li a:hover { padding-left: 40px; }

    .rf-hero { height: 440px; }
    .rf-hero-text h2 { font-size: 30px; }
    .rf-about-grid { grid-template-columns: 1fr; gap: 30px; }
    .rf-adv-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-product-grid, .rf-product-grid-3, .rf-product-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .rf-app-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-news-grid { grid-template-columns: 1fr; }
    .rf-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .rf-partner-grid { grid-template-columns: repeat(3, 1fr); }
    .rf-footer-grid { grid-template-columns: 1fr 1fr; }
    .rf-detail-grid { grid-template-columns: 1fr; gap: 26px; }
    .rf-section { padding: 52px 0; }
    .rf-page-hero { height: 220px; }
    .rf-page-hero-sm { height: 180px; }
    .rf-section-head-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 575px) {
    .rf-topbar .rf-container { height: 30px; font-size: 11px; }
    .rf-topbar-brand { display: none; }
    .rf-topbar-right { gap: 10px; }
    .rf-hero { height: 360px; }
    .rf-hero-text h2 { font-size: 23px; }
    .rf-hero-sub { font-size: 14px; }
    .rf-hero-arrow { display: none; }
    .rf-section-head h2 { font-size: 24px; }
    .rf-adv-grid, .rf-product-grid, .rf-product-grid-3, .rf-product-grid-4, .rf-app-grid { grid-template-columns: 1fr; }
    .rf-news-card-h { flex-direction: column; }
    .rf-news-card-h .rf-news-cover { width: 100%; aspect-ratio: 16 / 9; }
    .rf-culture-grid { grid-template-columns: 1fr; }
    .rf-honor-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-contact-cards { grid-template-columns: 1fr; }
    .rf-form-row { grid-template-columns: 1fr; gap: 0; }
    .rf-footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .rf-stats-grid { gap: 10px; }
    .rf-stat strong { font-size: 32px; }
    .rf-inquiry { padding: 24px 18px; }
    .rf-cta-inner { flex-direction: column; text-align: center; }
    .rf-cta-actions { justify-content: center; }
    .rf-float { right: 10px; bottom: 70px; }
    .rf-article-pn { flex-direction: column; }
    .rf-pn-right { text-align: left; }
}
