/* 暖阳橙 主题 - 企业医疗器械模板 (slm) */
:root {
    --slm-primary: #D97A24;
    --slm-primary-dark: #A6521C;
    --slm-accent: #F0A860;
    --slm-accent-dark: #D98B3C;
    --slm-hero-btn: #D97A24;
    --slm-hero-btn-hover: #A6521C;
    --slm-cta: #F0A860;
    --slm-bg: #ffffff;
    --slm-sub-bg: #FBF0E5;
    --slm-text: #2C241D;
    --slm-text2: #7B6B5B;
    --slm-dark1: #201509;
    --slm-dark2: #5C2E10;
    --slm-topbar-bg: #5C2E10;
    --slm-update-grad: linear-gradient(135deg, #D97A24, #A6521C);
    --slm-line: #E4EAEC;
}

* { box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--slm-text); background: var(--slm-bg); margin: 0; padding: 0; line-height: 1.7; }
a { color: var(--slm-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--slm-primary-dark); }
img { max-width: 100%; display: block; }
.slm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ============ 顶部欢迎条 ============ */
.slm-topbar { background: var(--slm-topbar-bg); color: rgba(255,255,255,.85); font-size: 13px; }
.slm-topbar .slm-wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.slm-topbar .slm-welcome i { color: var(--slm-cta); margin-right: 6px; }
.slm-topbar .slm-hotline i { color: var(--slm-cta); margin-right: 6px; }
.slm-topbar a { color: rgba(255,255,255,.85); margin-left: 18px; }
.slm-topbar a:hover { color: var(--slm-cta); }

/* ============ Header (固定白色 + 下拉导航) ============ */
.slm-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.slm-header .slm-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.slm-logo { display: flex; align-items: center; gap: 10px; }
.slm-logo .slm-logo-badge { width: 42px; height: 42px; border-radius: 8px; background: var(--slm-update-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.slm-logo .slm-logo-text { font-size: 22px; font-weight: 800; color: var(--slm-text); letter-spacing: .5px; }
.slm-logo .slm-logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--slm-text2); letter-spacing: 2px; }
.slm-nav { display: flex; align-items: center; gap: 4px; }
.slm-nav > a, .slm-nav .slm-drop > button { color: var(--slm-text); font-weight: 600; font-size: 15px; padding: 10px 15px; border: 0; background: none; cursor: pointer; border-radius: 6px; transition: all .2s; font-family: inherit; }
.slm-nav > a:hover, .slm-nav .slm-drop.show > button, .slm-nav > a.active { color: var(--slm-primary); }
.slm-nav .slm-drop { position: relative; }
.slm-nav .slm-drop-menu { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.14); border-radius: 10px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; }
.slm-nav .slm-drop:hover .slm-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.slm-nav .slm-drop-menu a { display: block; padding: 9px 14px; color: var(--slm-text); font-size: 14px; border-radius: 6px; }
.slm-nav .slm-drop-menu a:hover { background: var(--slm-sub-bg); color: var(--slm-primary); }
.slm-nav .slm-cta { background: var(--slm-primary); color: #fff !important; font-weight: 700; border-radius: 30px; padding: 10px 22px; }
.slm-nav .slm-cta:hover { background: var(--slm-primary-dark); }

/* ============ Hero (全屏 Banner 轮播) ============ */
.slm-hero { margin-top: 112px; }
.slm-hero .carousel, .slm-hero .carousel-inner, .slm-hero .carousel-item { height: 560px; }
.slm-hero .carousel-item { background: var(--slm-dark1); }
.slm-hero .slm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.slm-hero .slm-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.26) 60%, rgba(0,0,0,.46)); }
.slm-hero .slm-hero-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; z-index: 3; padding: 0 20px; }
.slm-hero .slm-hero-txt .slm-eyebrow { letter-spacing: 4px; font-size: 15px; color: var(--slm-cta); font-weight: 600; margin-bottom: 14px; }
.slm-hero .slm-hero-txt h1 { font-size: 48px; font-weight: 800; margin: 0 0 16px; line-height: 1.15; text-shadow: 0 3px 14px rgba(0,0,0,.4); }
.slm-hero .slm-hero-txt .slm-en { font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,.82); margin-bottom: 24px; }
.slm-hero .slm-hero-txt p { font-size: 19px; max-width: 760px; color: rgba(255,255,255,.92); margin: 0 0 30px; }
.slm-btn-hero { display: inline-block; padding: 15px 38px; background: var(--slm-hero-btn); color: #fff; font-weight: 700; border-radius: 34px; font-size: 17px; transition: all .2s; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.slm-btn-hero:hover { background: var(--slm-hero-btn-hover); color: #fff; transform: translateY(-2px); }
.slm-hero .carousel-indicators { margin-bottom: 22px; }
.slm-hero .carousel-indicators button { width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.5); border: 0; }
.slm-hero .carousel-indicators .active { background: var(--slm-cta); }

/* ============ Section base ============ */
.slm-section { padding: 78px 0; }
.slm-section.alt { background: var(--slm-sub-bg); }
.slm-head { text-align: center; margin-bottom: 46px; }
.slm-head .slm-en { letter-spacing: 3px; font-size: 14px; color: var(--slm-accent-dark); font-weight: 700; text-transform: uppercase; }
.slm-head h2 { font-size: 32px; font-weight: 800; margin: 8px 0 10px; color: var(--slm-text); }
.slm-head .slm-bar { width: 54px; height: 3px; background: var(--slm-cta); margin: 0 auto 14px; border-radius: 3px; }
.slm-head p { color: var(--slm-text2); margin: 0; font-size: 16px; }

/* ============ 产品分类 (9类网格) ============ */
.slm-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slm-cat-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 6px 18px rgba(0,0,0,.08); display: block; }
.slm-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.slm-cat-card:hover img { transform: scale(1.08); }
.slm-cat-card .slm-cat-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.62)); display: flex; align-items: flex-end; }
.slm-cat-card .slm-cat-mask h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 0; padding: 16px 18px; display: flex; align-items: center; gap: 8px; }
.slm-cat-card .slm-cat-mask h3 i { color: var(--slm-cta); }

/* ============ 产品中心 (文章/产品卡) ============ */
.slm-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.slm-prod-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.07); transition: all .3s; border: 1px solid var(--slm-line); }
.slm-prod-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.13); }
.slm-prod-card .slm-prod-img { aspect-ratio: 16/10; overflow: hidden; background: var(--slm-sub-bg); }
.slm-prod-card .slm-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.slm-prod-card:hover .slm-prod-img img { transform: scale(1.07); }
.slm-prod-card .slm-prod-body { padding: 20px 22px; }
.slm-prod-card .slm-prod-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--slm-text); line-height: 1.5; }
.slm-prod-card .slm-prod-body h3 a { color: var(--slm-text); }
.slm-prod-card .slm-prod-body h3 a:hover { color: var(--slm-primary); }
.slm-prod-card .slm-prod-body p { font-size: 14px; color: var(--slm-text2); margin: 0 0 12px; line-height: 1.65; }
.slm-prod-card .slm-prod-more { font-size: 14px; font-weight: 700; color: var(--slm-primary); }
.slm-prod-card .slm-prod-more i { margin-left: 4px; transition: transform .2s; }
.slm-prod-card:hover .slm-prod-more i { transform: translateX(4px); }

/* ============ 关于我们 (简介 + 数据) ============ */
.slm-about .slm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 46px; }
.slm-about .slm-about-img { flex: 1 1 48%; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(0,0,0,.15); aspect-ratio: 16/10; }
.slm-about .slm-about-img img { width: 100%; height: 100%; object-fit: cover; }
.slm-about .slm-about-txt { flex: 1 1 44%; }
.slm-about .slm-about-txt .slm-en { letter-spacing: 3px; font-size: 14px; color: var(--slm-accent-dark); font-weight: 700; }
.slm-about .slm-about-txt h2 { font-size: 30px; font-weight: 800; color: var(--slm-text); margin: 8px 0 16px; }
.slm-about .slm-about-txt p { color: var(--slm-text2); font-size: 16px; line-height: 1.95; margin: 0 0 14px; }
.slm-about .slm-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slm-about .slm-points li { display: flex; align-items: center; gap: 10px; color: var(--slm-text); font-size: 15px; }
.slm-about .slm-points li i { color: var(--slm-cta); }

/* ============ Stats (数据指标) ============ */
.slm-stats { background: var(--slm-update-grad); color: #fff; padding: 58px 0; }
.slm-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.slm-stats-item .slm-stats-num { font-size: 46px; font-weight: 800; line-height: 1; }
.slm-stats-item .slm-stats-num i { font-size: 30px; margin-right: 8px; opacity: .9; }
.slm-stats-item .slm-stats-label { font-size: 15px; color: rgba(255,255,255,.88); margin-top: 12px; }

/* ============ 新闻动态 (文章区) ============ */
.slm-news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.slm-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.07); transition: all .3s; display: flex; flex-direction: column; border: 1px solid var(--slm-line); }
.slm-news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.slm-news-card .slm-news-img { aspect-ratio: 16/9; overflow: hidden; background: var(--slm-update-grad); }
.slm-news-card .slm-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.slm-news-card:hover .slm-news-img img { transform: scale(1.06); }
.slm-news-card .slm-news-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.slm-news-card .slm-news-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.5; }
.slm-news-card .slm-news-body h3 a { color: var(--slm-text); }
.slm-news-card .slm-news-body h3 a:hover { color: var(--slm-primary); }
.slm-news-card .slm-news-body p { font-size: 14px; color: var(--slm-text2); margin: 0 0 14px; flex: 1; }
.slm-news-meta { display: flex; gap: 14px; font-size: 12px; color: var(--slm-text2); }
.slm-news-meta i { color: var(--slm-primary); margin-right: 3px; }

/* ============ 招商加盟 CTA band ============ */
.slm-ctaband { background: var(--slm-dark2); color: #fff; padding: 52px 0; }
.slm-ctaband .slm-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.slm-ctaband h2 { margin: 0; font-size: 27px; font-weight: 800; }
.slm-ctaband h2 span { color: var(--slm-cta); }
.slm-ctaband p { margin: 6px 0 0; color: rgba(255,255,255,.75); font-size: 15px; }
.slm-ctaband .slm-cta-btn { background: var(--slm-cta); color: var(--slm-dark1); padding: 15px 34px; border-radius: 34px; font-weight: 800; font-size: 17px; }
.slm-ctaband .slm-cta-btn:hover { background: #fff; color: var(--slm-dark1); }

/* ============ 内页 Banner / 详情 ============ */
.slm-pagehead { background: var(--slm-update-grad); color: #fff; padding: 60px 0; text-align: center; margin-top: 112px; }
.slm-pagehead h1 { margin: 0; font-size: 32px; font-weight: 800; }
.slm-pagehead p { margin: 10px 0 0; color: rgba(255,255,255,.85); }
.slm-crumb { font-size: 14px; color: var(--slm-text2); margin-bottom: 22px; }
.slm-crumb a { color: var(--slm-text2); }
.slm-crumb a:hover { color: var(--slm-primary); }
.slm-detail { max-width: 880px; margin: 0 auto; }
.slm-detail h1.slm-detail-title { font-size: 30px; font-weight: 800; color: var(--slm-text); margin: 0 0 16px; line-height: 1.4; }
.slm-detail .slm-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--slm-text2); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--slm-line); margin-bottom: 26px; }
.slm-detail .slm-detail-meta i { color: var(--slm-primary); margin-right: 4px; }
.slm-detail-body { font-size: 17px; line-height: 1.95; color: #363b40; word-break: break-word; }
.slm-detail-body img { border-radius: 10px; margin: 16px auto; height: auto; }
.slm-back { display: inline-block; margin-top: 34px; padding: 11px 24px; background: var(--slm-primary); color: #fff; border-radius: 8px; }
.slm-back:hover { background: var(--slm-primary-dark); color: #fff; }

/* ============ Pagination / search / tags ============ */
.slm-page { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.slm-page a, .slm-page span { padding: 8px 14px; border: 1px solid var(--slm-line); border-radius: 8px; color: var(--slm-text2); font-size: 14px; }
.slm-page .active, .slm-page a:hover { background: var(--slm-primary); color: #fff; border-color: var(--slm-primary); }
.slm-searchbar { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 40px; }
.slm-searchbar input { flex: 1; padding: 13px 18px; border: 1px solid var(--slm-line); border-radius: 10px; font-size: 16px; }
.slm-searchbar button { padding: 13px 30px; background: var(--slm-primary); color: #fff; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.slm-searchbar button:hover { background: var(--slm-primary-dark); }
.slm-tagcloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.slm-tagcloud a { padding: 8px 18px; background: var(--slm-sub-bg); color: var(--slm-primary); border-radius: 24px; font-size: 14px; border: 1px solid transparent; }
.slm-tagcloud a:hover { background: var(--slm-primary); color: #fff; }

/* ============ Footer (深色 4 列 富角页) ============ */
.slm-footer { background: var(--slm-dark1); color: rgba(255,255,255,.7); padding: 60px 0 24px; }
.slm-footer .slm-footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 34px; }
.slm-footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 18px; }
.slm-footer .slm-brand-text { font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.slm-footer .slm-brand-text i { color: var(--slm-cta); margin-right: 6px; }
.slm-footer p { font-size: 14px; line-height: 1.9; margin: 0; }
.slm-footer ul { list-style: none; padding: 0; margin: 0; }
.slm-footer ul li { margin-bottom: 11px; }
.slm-footer ul li a { color: rgba(255,255,255,.68); font-size: 14px; }
.slm-footer ul li a:hover { color: var(--slm-cta); }
.slm-footer .slm-contact li { display: flex; gap: 10px; align-items: flex-start; }
.slm-footer .slm-contact i { color: var(--slm-cta); margin-top: 4px; }
.slm-footer .slm-qr { display: flex; gap: 16px; margin-top: 16px; }
.slm-footer .slm-qr div { text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }
.slm-footer .slm-qr i { font-size: 46px; color: rgba(255,255,255,.35); display: block; margin-bottom: 6px; }
.slm-footer .slm-copy { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.9; }

/* ============ 返回顶部 ============ */
.slm-totop { position: fixed; right: 22px; bottom: 26px; width: 46px; height: 46px; border-radius: 10px; background: var(--slm-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 900; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.slm-totop:hover { background: var(--slm-primary-dark); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .slm-nav { display: none; }
    .slm-hero .carousel, .slm-hero .carousel-inner, .slm-hero .carousel-item { height: 440px; }
    .slm-hero .slm-hero-txt h1 { font-size: 32px; }
    .slm-hero .slm-hero-txt p { font-size: 16px; }
    .slm-about .slm-row { flex-direction: column; }
    .slm-cat-grid { grid-template-columns: 1fr 1fr; }
    .slm-footer .slm-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .slm-topbar .slm-welcome { display: none; }
    .slm-section { padding: 48px 0; }
    .slm-head h2 { font-size: 24px; }
    .slm-stats-item .slm-stats-num { font-size: 34px; }
    .slm-about .slm-points { grid-template-columns: 1fr; }
    .slm-cat-grid { grid-template-columns: 1fr; }
    .slm-footer .slm-footer-grid { grid-template-columns: 1fr; }
    .slm-ctaband .slm-wrap { flex-direction: column; text-align: center; }
    .slm-hero .slm-hero-txt h1 { font-size: 26px; }
}
