/* ============ 宽带展示网站 全局样式 ============ */
:root {
    --primary: #1e6fff;
    --primary-dark: #1456c4;
    --accent: #ff6b1a;
    --text: #222a35;
    --text-light: #6b7684;
    --bg: #f4f7fb;
    --card-bg: #ffffff;
    --border: #e6ebf2;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(20, 40, 80, .06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---- 顶部导航 ---- */
.topbar { background: var(--primary-dark); color: #fff; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.navbar {
    background: #fff; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 8px rgba(20,40,80,.08);
}
.navbar .container { display: flex; align-items: center; height: 64px; gap: 16px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand .logo-img { height: 34px; width: auto; max-width: 150px; object-fit: contain; border-radius: 6px; }
.brand .logo {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #4d94ff);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
}
.nav-search { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-search input {
    border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px;
    font-size: 13px; width: 150px; background: #f8fafc; font-family: inherit;
}
.nav-search input:focus { outline: none; border-color: var(--primary); background: #fff; }
.nav-search button {
    border: none; cursor: pointer; background: none; font-size: 16px; color: var(--text-light); padding: 4px;
}
.nav-links { display: flex; gap: 4px; white-space: nowrap; }
.nav-links a {
    padding: 6px 11px; border-radius: 8px; font-size: 14px; color: var(--text);
    transition: .2s;
}
.nav-links a:hover { background: #eef3fb; color: var(--primary); }
.nav-links a.active { background: var(--primary); color: #fff; }
.nav-cta { background: var(--accent); color: #fff; padding: 6px 13px; border-radius: 8px; font-size: 14px; white-space: nowrap; }

/* 汉堡菜单按钮 */
.nav-toggle {
    display: none; border: none; background: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: 8px; font-size: 22px; color: var(--text);
    align-items: center; justify-content: center;
}

/* ---- 通用区块 ---- */
.page-header {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #4d94ff);
    color: #fff; padding: 40px 0 44px; margin-bottom: 28px;
}
.page-header h1 { font-size: 26px; margin-bottom: 6px; }
.page-header p { opacity: .9; font-size: 15px; }

.section { margin-bottom: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 22px; }
.section-head .more { font-size: 14px; color: var(--primary); }

/* ---- 卡片网格 ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

.card {
    background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(20,40,80,.12); }

/* ---- 首页 hero ---- */
.hero {
    background: linear-gradient(120deg, #0d2f6b, #1e6fff 55%, #3f8cff);
    color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.hero h1 { font-size: 34px; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: .92; max-width: 640px; }
.hero-stats { display: flex; gap: 36px; margin-top: 28px; }
.hero-stats .num { font-size: 26px; font-weight: 800; }
.hero-stats .lbl { font-size: 13px; opacity: .85; }

/* ---- 首页轮播 Banner ---- */
.banner {
    position: relative; height: 300px; border-radius: 16px; overflow: hidden;
    margin-bottom: 34px; box-shadow: var(--shadow);
}
.banner .slides { position: relative; height: 100%; }
.banner .slide {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 40px; opacity: 0; transition: opacity .6s ease; background-size: cover; background-position: center;
}
.banner .slide.active { opacity: 1; }
.banner .slide .b-inner { position: relative; z-index: 2; color: #fff; max-width: 720px; text-align: center; }
.banner .slide h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.banner .slide p { font-size: 17px; opacity: .95; margin-bottom: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.banner .slide .btn { display: inline-block; }
.banner-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.banner-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: .3s; }
.banner-dots span.active { background: #fff; transform: scale(1.3); }

/* ---- 套餐卡 ---- */
.pkg-card { position: relative; }
.pkg-top { padding: 18px 18px 12px; display: flex; align-items: center; justify-content: space-between; }
.pkg-badge { font-size: 12px; color: #fff; padding: 3px 10px; border-radius: 20px; }
.pkg-op { font-size: 13px; color: var(--text-light); }
.pkg-title { padding: 0 18px; font-size: 17px; font-weight: 700; }
.pkg-sub { padding: 4px 18px 0; color: var(--text-light); font-size: 13px; min-height: 40px; }
.pkg-price { padding: 12px 18px 4px; }
.pkg-price .price { font-size: 30px; font-weight: 800; color: var(--accent); }
.pkg-price .unit { font-size: 13px; color: var(--text-light); }
.pkg-specs { padding: 6px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pkg-specs .spec { text-align: center; background: #f5f8fd; border-radius: 8px; padding: 8px 4px; }
.pkg-specs .spec .v { font-size: 14px; font-weight: 600; }
.pkg-specs .spec .k { font-size: 12px; color: var(--text-light); }
.pkg-actions { padding: 14px 18px 18px; margin-top: auto; display: flex; gap: 10px; }
.btn { display: inline-block; border: none; cursor: pointer; text-align: center;
    font-size: 14px; border-radius: 8px; padding: 9px 16px; transition: .2s; }
.btn-primary { background: var(--primary); color: #fff; flex: 1; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid var(--border); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; flex: 1; }

/* ---- 动态列表 ---- */
.news-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.news-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 18px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow);
}
.news-item .tag { flex-shrink: 0; }
.news-tag { font-size: 12px; padding: 3px 10px; border-radius: 6px; background: #eef3fb; color: var(--primary); }
.news-tag.top { background: var(--accent); color: #fff; }
.news-item h3 { font-size: 16px; }
.news-item .summary { color: var(--text-light); font-size: 13px; margin-top: 2px; }
.news-item .meta { margin-left: auto; color: var(--text-light); font-size: 12px; white-space: nowrap; }

/* ---- 详情页 ---- */
.detail-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.article { line-height: 1.9; font-size: 15px; color: #37404d; }
.article p { margin-bottom: 14px; }

/* ---- 横向滚动表格容器（手机适配） ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.table-wrap table { min-width: 640px; width: 100%; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.table-wrap th { background: #f8fafc; font-size: 13px; color: #6b7684; }
.table-wrap tr:last-child td { border-bottom: none; }

/* ---- 筛选 ---- */
.filter-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-bar a { padding: 6px 14px; border-radius: 20px; font-size: 14px; background: #f1f5fa; }
.filter-bar a.active { background: var(--primary); color: #fff; }
.filter-bar .search { margin-left: auto; display: flex; gap: 6px; }
.filter-bar input { border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: 14px; width: 200px; }

/* ---- 底部 ---- */
.anti-fraud .fraud-box {
    background: linear-gradient(120deg, #fdf3f3, #fff6f0);
    border: 1px solid #ffd9d4;
    border-radius: 14px;
    padding: 20px 24px;
}
.anti-fraud .fraud-box ul { list-style: none; margin: 0; padding: 0; }
.anti-fraud .fraud-box li {
    position: relative;
    padding: 9px 0 9px 26px;
    font-size: 14px;
    color: #37404d;
    line-height: 1.7;
    border-bottom: 1px dashed #f0dcd6;
}
.anti-fraud .fraud-box li:last-child { border-bottom: none; }
.anti-fraud .fraud-box li::before {
    content: '⚠';
    position: absolute; left: 0; top: 9px;
    font-size: 13px; color: #e60012;
}
.anti-fraud .fraud-note {
    margin-top: 12px;
    background: #e60012;
    color: #fff;
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
@media (max-width: 560px) {
    .anti-fraud .fraud-box { padding: 16px 14px; }
    .anti-fraud .fraud-box li { font-size: 13px; }
    .anti-fraud .fraud-note { font-size: 12px; }
}
/* 预约客户滚动动态（脱敏） */
.apt-ticker-wrap {
    margin-top: 18px;
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid #e4eaf2; border-radius: 12px;
    padding: 10px 14px; overflow: hidden;
}
.ticker-tag {
    flex-shrink: 0;
    background: linear-gradient(120deg, #ff6b1a, #ff9a5c);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 10px; border-radius: 20px; white-space: nowrap;
}
.apt-ticker { flex: 1; overflow: hidden; white-space: nowrap; }
.apt-ticker-track { display: flex; width: max-content; animation: ticker-scroll 40s linear infinite; }
.apt-ticker-wrap:hover .apt-ticker-track { animation-play-state: paused; }
.apt-ticker-set { display: flex; align-items: center; }
.ticker-item {
    font-size: 13px; color: #37404d; padding: 0 22px;
    position: relative; white-space: nowrap;
}
.ticker-item b { color: #1e6fff; }
.ticker-item .ticker-time { color: #9aa7b8; font-style: normal; margin-left: 8px; font-size: 12px; }
.ticker-item::after { content: '·'; color: #c9d3e0; position: absolute; right: 0; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
    .apt-ticker-wrap { padding: 8px 10px; }
    .ticker-tag { font-size: 11px; }
    .ticker-item { font-size: 12px; padding: 0 16px; }
}
/* 运营商品牌 Logo 徽标 */
.pkg-badge-img {
    height: 22px; max-width: 110px; object-fit: contain;
    background: #fff; padding: 3px 8px; border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08); vertical-align: middle;
}
.pkg-badge-img::before { content: attr(alt); }
.op-logo-card {
    height: 44px; max-width: 150px; object-fit: contain;
    background: #fff; border-radius: 8px; padding: 6px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.footer { background: #0f1b2d; color: #aeb9c9; margin-top: 48px; }

/* 靓号热销角标 */
.hot-flag {
    position: absolute; top: -2px; right: 12px; z-index: 3;
    background: linear-gradient(135deg, #ff4d4f, #cf1322);
    color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px;
    padding: 3px 10px; border-radius: 12px;
    box-shadow: 0 2px 6px rgba(207,19,34,.35);
}
/* 靓号详情弹窗 */
.num-modal-mask { display:none; position:fixed; inset:0; background:rgba(15,23,45,.5); z-index:99; }
.num-modal {
    display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
    width:min(92vw,380px); background:#fff; border-radius:16px; padding:22px; z-index:100;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.num-modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }

/* 热门搜索词 */
.hot-words { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.hot-words-label { font-size: 14px; font-weight: 700; color: var(--accent); }
.hot-words-item { background: #eef3fb; color: var(--primary); padding: 5px 12px; border-radius: 14px; font-size: 13px; text-decoration: none; }
.hot-words-item:hover { background: var(--primary); color: #fff; }
.hot-words-more { margin-left: auto; font-size: 13px; color: #6b7684; text-decoration: none; }

/* 套餐人气标 */
.pkg-pop { font-size: 13px; color: #22a06b; font-weight: 600; padding: 0 18px; margin: 2px 0 6px; }

/* 靓号价格区间筛选 + 排序 */
.price-sort { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.price-inp { width: 86px; border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: #fff; }
.sort-sel { border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 13px; font-family: inherit; background: #fff; }

/* 电脑版主页对联广告（仅宽屏桌面显示） */
.duilian-ad { position: fixed; top: 50%; left: 0; right: 0; transform: translateY(-50%); pointer-events: none; z-index: 50; display: none; }
.duilian-item {
    pointer-events: auto; position: fixed; top: 50%; transform: translateY(-50%);
    width: 150px; height: 480px; display: block; overflow: hidden;
    background: #fff; border: 1px solid #e4eaf2; border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.14); text-decoration: none;
    transition: transform .2s;
}
.duilian-item:hover { transform: translateY(-50%) translateX(-4px); }
.duilian-left { left: 8px; }
.duilian-right { right: 8px; }
.duilian-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.duilian-close {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: #fff; color: #9aa7b8; border: 1px solid #e4eaf2;
    width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    font-size: 14px; line-height: 1; display: none; pointer-events: auto;
    z-index: 51; align-items: center; justify-content: center;
}
.duilian-left + .duilian-close, .duilian-ad .duilian-close { left: 158px; }
@media (min-width: 1280px) {
    .duilian-ad { display: block; }
    .duilian-close { display: flex; }
}
.footer .container { display: flex; justify-content: space-between; align-items: center; padding: 24px 16px; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---- 空态 / 提示 ---- */
.empty { text-align: center; color: var(--text-light); padding: 60px 0; }
.flash { max-width: 1160px; margin: 16px auto; padding: 0 16px; }
.flash .msg { background: #fff; border-left: 4px solid var(--primary); padding: 12px 16px; border-radius: 6px; margin-bottom: 8px; }
.flash .msg.success { border-left-color: #22a06b; }
.flash .msg.danger { border-left-color: #d33833; }

/* ---- 套餐对比栏 ---- */
.compare-check input { width:16px; height:16px; cursor:pointer; }
.compare-bar {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 150;
    background: #fff; border: 1px solid var(--border); border-radius: 50px;
    box-shadow: 0 8px 28px rgba(20,40,80,.18);
    padding: 12px 18px; display: flex; align-items: center; gap: 14px;
    opacity: 0; visibility: hidden; transition: .3s; white-space: nowrap;
}
.compare-bar.show { opacity: 1; visibility: visible; }
.compare-bar .cmp-count b { color: var(--accent); font-size: 18px; }
.compare-bar .cmp-count b { color: var(--accent); }
.compare-bar.ready .cmp-count b { color: #22a06b; }

/* ---- 分页 ---- */
.pager { display: flex; gap: 8px; justify-content: center; margin: 26px 0; align-items: center; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 38px; padding: 8px 12px; text-align: center; background: #fff;
    border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text);
}
.pager a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager a.disabled { color: #c3cbd6; pointer-events: none; }
.pager a:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* ---- 联系卡 ---- */
.contact-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 26px; display: flex;
    justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.contact-left { flex: 1; min-width: 260px; }
.contact-qr { text-align: center; flex-shrink: 0; }
.hint { font-size: 12px; color: #9aa7b8; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item label { font-size: 13px; color: #37404d; font-weight: 600; }
.form-item input, .form-item select, .form-item textarea {
    border: 1px solid #d9e2f0; border-radius: 8px; padding: 9px 12px;
    font-size: 14px; font-family: inherit; background: #fff;
}
.form-item input:focus, .form-item select:focus { outline: none; border-color: #1e6fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1/-1; }

/* ---- 浮动在线预约按钮 ---- */
.float-book {
    position: fixed; right: 20px; bottom: 28px; z-index: 200;
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent), #ff8a3d);
    color: #fff; padding: 12px 20px; border-radius: 50px;
    font-size: 15px; font-weight: 700; box-shadow: 0 6px 20px rgba(255,107,26,.4);
    transition: transform .2s;
}
.float-book:hover { transform: translateY(-3px); }
.float-book-ic { font-size: 18px; }

/* ---- 办理流程 ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; text-align: center; box-shadow: var(--shadow); position: relative;
}
.step-num {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary), #4d94ff); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
}
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-light); }

/* ---- 服务保障 ---- */
.guard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.guard-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.guard-card .gi { font-size: 34px; }
.guard-card h3 { font-size: 16px; margin: 8px 0 4px; }
.guard-card p { font-size: 13px; color: var(--text-light); }

/* ============ 手机适配 ============ */
/* 中宽屏（平板/小笔记本）：压缩菜单保证单行，必要时隐藏搜索框 */
@media (max-width: 1159px) and (min-width: 769px) {
    .navbar .container { gap: 8px; }
    .brand { font-size: 16px; }
    .brand .logo-img { height: 30px; max-width: 120px; }
    .nav-links a { padding: 6px 8px; font-size: 13px; }
    .nav-cta { padding: 6px 10px; font-size: 13px; }
    .nav-search input { width: 115px; }
}
@media (max-width: 1000px) and (min-width: 769px) {
    .nav-search { display: none; }
}
@media (max-width: 900px) {
    .nav-search input { width: 130px; }
}

@media (max-width: 768px) {
    .navbar .container { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 8px; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .brand { font-size: 18px; }
    .brand .logo { width: 34px; height: 34px; font-size: 16px; }
    .brand .logo-img { height: 28px; max-width: 120px; }
    .nav-search { margin-left: 0; order: 3; width: 100%; }
    .nav-search form { display: flex; width: 100%; gap: 6px; }
    .nav-search input { flex: 1; width: auto; }
    .nav-links {
        display: none; width: 100%; order: 4; flex-direction: column;
        gap: 4px; padding: 6px 0 2px; border-top: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 12px 14px; border-radius: 8px; }
    .nav-cta { display: none; }
    .topbar .container { justify-content: center; }
    .topbar .container span:last-child { display: none; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .hero-stats { gap: 18px; flex-wrap: wrap; }
    .hero-stats .num { font-size: 20px; }
    .banner { height: 200px; }
    .banner .slide { padding: 24px; }
    .banner .slide h2 { font-size: 22px; }
    .banner .slide p { font-size: 14px; }
    .page-header { padding: 28px 0 30px; }
    .page-header h1 { font-size: 22px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
    .pkg-price .price { font-size: 24px; }
    .pkg-specs { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .filter-bar { padding: 10px; gap: 8px; }
    .filter-bar .search { margin-left: 0; width: 100%; }
    .filter-bar input { flex: 1; width: auto; }
    .contact-card { flex-direction: column; text-align: center; padding: 20px; }
    .contact-qr { order: -1; }
    .contact-qr img { margin: 0 auto; width: 150px; }
    .form-grid { grid-template-columns: 1fr; }
    .detail-box { padding: 18px; }
    .float-book { right: 14px; bottom: 18px; padding: 10px 16px; font-size: 14px; }
    .compare-bar { left: 12px; right: 12px; transform: none; border-radius: 14px; justify-content: space-between; padding: 10px 14px; }
    .steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
    .news-item { align-items: flex-start; }
}

@media (max-width: 400px) {
    .grid { grid-template-columns: 1fr; }
    .topbar .container span:first-child { font-size: 12px; }
}
