/* ==========================================
   鼎盛寄卖行 · 全局样式表
   ========================================== */

/* 全局 */
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.7;
}

/* ==========================================
   标题系统（统一管理）
   ========================================== */
.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1486c2;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .page-title { font-size: 3rem; }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1486c2;
    text-align: center;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .section-title { font-size: 1.875rem; }
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .section-subtitle { font-size: 1rem; }
}

.subtitle-accent {
    color: #f55211;
    font-weight: 600;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1486c2;
}

/* ==========================================
   按钮系统
   ========================================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #f55211 0%, #ff7a3d 100%);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 82, 17, 0.3);
}

.btn-outline {
    display: inline-block;
    border: 1px solid #f55211;
    color: #f55211;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: #fff3e0;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #f55211 0%, #1486c2 100%);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 134, 194, 0.35);
}

/* ==========================================
   卡片系统
   ========================================== */
.card-soft {
    background: #fff;
    border: 1px solid #ffe0c2;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 134, 194, 0.15);
}

.card-cream {
    background: linear-gradient(180deg, #ffffff 0%, #fff3e0 100%);
    border: 1px solid #ffe0c2;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.card-cream:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 134, 194, 0.15);
}

/* ==========================================
   区块背景
   ========================================== */
.section-hero {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 50%, #e8f4fb 100%);
}
.section-cream {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}
.section-cream-reverse {
    background: linear-gradient(135deg, #ffffff 0%, #fff3e0 100%);
}
.section-white {
    background: #ffffff;
}
.section-brand {
    background: linear-gradient(135deg, #1486c2 0%, #0f6b9e 100%);
    color: #ffffff;
}

/* ==========================================
   强调元素
   ========================================== */
.border-accent-left {
    border-left: 4px solid #f55211;
    padding-left: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    background: linear-gradient(90deg, #fff3e0 0%, #ffffff 100%);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.step-circle {
    background: linear-gradient(135deg, #f55211 0%, #1486c2 100%);
    color: #fff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==========================================
   导航
   ========================================== */
nav {
    box-shadow: 0 2px 12px rgba(20, 134, 194, 0.08);
    backdrop-filter: blur(10px);
}
#mobileMenu { transition: all 0.3s ease; }

/* ==========================================
   通用
   ========================================== */
img { max-width: 100%; height: auto; }
button:active { transform: scale(0.97); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff3e0; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f55211, #1486c2);
    border-radius: 4px;
}

/* ==========================================
   导航专属样式
   ========================================== */
.nav-link {
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: #f55211;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.2s ease;
}
.mobile-nav-link:hover {
    color: #f55211;
}

/* ==========================================
   页脚专属样式
   ========================================== */
.footer-link {
    color: #e8f4fb;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #f55211;
}
/* ==========================================
   地图跳转区块（联系我们页面）
   ========================================== */
.map-jump-block {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* 无图片时的降级样式 */
.map-jump-block:not(:has(img)) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 50%, #e8f4fb 100%);
    text-align: center;
    transition: all 0.3s ease;
}
.map-jump-block:not(:has(img)):hover {
    background: linear-gradient(135deg, #ffe0c2 0%, #fff3e0 50%, #d6ecf8 100%);
}

/* 有图片时的图片样式 */
.map-jump-block img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 悬浮按钮容器 */
.map-jump-block .btn-primary {
    pointer-events: none;
}

/* 鼠标悬停时按钮上浮 */
.map-jump-block:hover .btn-primary {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245, 82, 17, 0.4);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .map-jump-block img {
        height: 16rem;
    }
}
.text-preline {
    white-space: pre-line;
    word-break: break-word;
}