﻿@font-face {
	font-family: 'iconfont';
	src: url('../fonts/font_3152891_vfk50lg2xy_1.woff2') format('woff2');
}
.iconfont {font-family:"iconfont";font-size:30px;font-style:normal;-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

/* PC侧边栏容器 */
.fixedNav { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9999; border-radius: 8px 0 0 8px; }
.fixedNav dd { margin: 0; position: relative; background: #8B0000; border-bottom: 1px solid rgba(255,255,255,0.1); width: 80px; }
.fixedNav dd > a { display: block; padding: 12px 0; text-align: center; color: #fff; transition: all 0.3s ease; text-decoration: none; }
.fixedNav dd > a:hover { background: #660000; }
.fixedNav dd .mfont12 { font-size: 11px; margin-top: 4px; opacity: 0.9; color:#fff; text-align: center; line-height: 1.2; }

/* 侧边栏弹窗 */
.showNav {
    position: absolute; right: 100%; top: 5px; margin-right: 5px; background: #8B0000; color: #fff; padding: 22px;
    visibility: hidden; opacity: 0; transform: translateX(15px);
    transition: all 0.3s ease; border-radius: 4px; box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    z-index: 10001; white-space: nowrap;
}
.fixedNav dd:hover .showNav { visibility: visible !important; opacity: 1 !important; transform: translateX(0) !important; }

/* 回到顶部样式 */
.scroll-top-item { cursor: pointer; padding: 12px 0; background: #8B0000 !important; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; border-bottom: 0; text-align: center; }
.scroll-top-item.active-progress { opacity: 1; visibility: visible; transform: translateY(0); }
.progress-wrap { position: relative; height: 42px; width: 42px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.progress-wrap .iconfont { font-family: "iconfont" !important; font-size: 24px !important; color: #fff; z-index: 5; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.progress-circle { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; z-index: 1; pointer-events: none; }
.progress-circle path.track { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 4; }
.progress-circle path.bar { fill: none; stroke: #ffffff; stroke-width: 4; }

/* ============================================================
   新增加的在线留言弹窗样式 (前缀 rf- 确保不冲突)
   ============================================================ */
.rf-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center;
    z-index: 100001; visibility: hidden; opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.rf-modal-overlay.rf-active { visibility: visible; opacity: 1; }

.rf-modal-box {
    background: #fff; width: 90%; max-width: 650px; border-radius: 12px;
    overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(30px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.rf-modal-overlay.rf-active .rf-modal-box { transform: scale(1) translateY(0); }

.rf-modal-header {
    background: #8B0000; color: #fff; padding: 22px 30px;
    display: flex; justify-content: space-between; align-items: center;
}
.rf-modal-header h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: 1px; }
.rf-close-modal { font-size: 32px; cursor: pointer; line-height: 1; opacity: 0.7; transition: 0.3s; }
.rf-close-modal:hover { opacity: 1; }

.rf-modal-body { padding: 35px; }
.rf-form-row { display: flex; gap: 25px; margin-bottom: 20px; }
.rf-form-group { margin-bottom: 20px; flex: 1; display: flex; flex-direction: column; }
.rf-form-group label { font-size: 14px; color: #444; margin-bottom: 8px; font-weight: 600; }
.rf-form-group label span { color: #8B0000; margin-left: 3px; }

.rf-form-group input, .rf-form-group select, .rf-form-group textarea {
    padding: 13px 16px; border: 1px solid #e0e0e0; border-radius: 6px;
    font-size: 14px; outline: none; transition: all 0.3s; background: #f9f9f9;
}
.rf-form-group input:focus, .rf-form-group select:focus, .rf-form-group textarea:focus {
    border-color: #8B0000; background: #fff; box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.rf-submit-btn {
    width: 100%; padding: 16px; background: #8B0000; color: #fff;
    border: none; border-radius: 6px; font-size: 17px; font-weight: bold;
    cursor: pointer; transition: 0.3s; margin-top: 10px; letter-spacing: 1px;
}
.rf-submit-btn:hover { background: #660000; box-shadow: 0 5px 15px rgba(102, 0, 0, 0.3); }

/* 移动端逻辑隔离 */
.linkbtns { display: none; }
@media only screen and (max-width: 1100px) {
    .fixedNav { display: none !important; }
    .nav-main.mobile-active { display: block !important; opacity: 1 !important; visibility: visible !important; }
    .nav-item.submenu-open .submenu { display: block !important; }
    .linkbtns { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: #fff; z-index: 999; list-style: none; padding: 0; margin: 0; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
    .linkbtns li { width: 50%; text-align: center; line-height: 60px; }
    .linkbtns li a { display: block; font-size: 15px; color: #8B0000; text-decoration: none; font-weight: bold; }
    .linkbtns li:nth-child(2) { background: #8B0000; }
    .linkbtns li:nth-child(2) a { color: #fff; }

    /* 移动端弹窗适配 */
    .rf-form-row { flex-direction: column; gap: 0; }
    .rf-modal-box { width: 95%; margin: 10px; border-radius: 8px; }
    .rf-modal-body { padding: 20px; }
}