/* =====================================================================
   凯通电气风格 · PbootCMS 企业/产品官网模板
   Business Professional Theme  |  商务蓝灰风格
   ===================================================================== */

:root {
    --primary: #0b5cad;
    --primary-dark: #084a8c;
    --primary-light: #e8f1fb;
    --accent: #e8821e;
    --accent-dark: #cf6f0f;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f4f6f9;
    --white: #ffffff;
    --radius: 6px;
    --shadow: 0 6px 24px rgba(15, 42, 75, .08);
    --shadow-hover: 0 14px 34px rgba(15, 42, 75, .16);
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 15px;
}

a { color: inherit; text-decoration: none; transition: color .25s, background .25s; }
img { display: block; max-width: 100%; border: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ---------- 通用标题 ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .en {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}
.section-head h2 { font-size: 30px; color: var(--text); position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 48px; height: 3px; background: var(--accent); border-radius: 2px;
}
.section-head p { color: var(--muted); margin-top: 12px; font-size: 14px; }
.section-head.left { text-align: left; }
.section-head.left h2::after { left: 0; transform: none; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.75); }

.more-link {
    display: inline-block; margin-top: 34px; padding: 11px 34px;
    border: 1px solid var(--primary); color: var(--primary);
    border-radius: 40px; font-size: 14px; transition: all .25s;
}
.more-link:hover { background: var(--primary); color: #fff; }
.center { text-align: center; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: #10243d; color: rgba(255,255,255,.78); font-size: 13px; line-height: 38px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 头部导航 ---------- */
.header { background: #fff; box-shadow: 0 2px 10px rgba(15,42,75,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { padding: 12px 0; }
.logo img { height: 52px; width: auto; }
.logo .logo-text { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: 1px; }
.logo .logo-text small { display: block; font-size: 11px; letter-spacing: 3px; color: var(--muted); font-weight: 400; }

.nav > ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
    display: block; padding: 0 18px; line-height: 76px;
    font-size: 15px; font-weight: 500; color: var(--text);
    border-bottom: 3px solid transparent;
}
.nav > ul > li > a:hover,
.nav > ul > li > a.active { color: var(--primary); border-bottom-color: var(--primary); }

.subnav {
    position: absolute; left: 0; top: 100%; min-width: 180px; background: #fff;
    box-shadow: var(--shadow); border-top: 3px solid var(--primary);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; z-index: 50;
}
.nav li:hover > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li a { display: block; padding: 11px 20px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.subnav li a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }

.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.header-tel small { color: var(--muted); font-size: 12px; }
.header-tel strong { color: var(--primary); font-size: 21px; letter-spacing: .5px; }

.nav-toggle { display: none; font-size: 26px; color: var(--primary); padding: 8px 12px; }

/* ---------- 首页轮播 ---------- */
.hero { position: relative; background: linear-gradient(120deg, #0b5cad, #10243d); }
.hero-slides { position: relative; height: 520px; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity .8s; display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,29,52,.78), rgba(9,29,52,.15)); }
.hero-caption { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero-caption .tag { display: inline-block; padding: 4px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 40px; font-size: 13px; margin-bottom: 18px; }
.hero-caption h2 { font-size: 44px; line-height: 1.25; margin-bottom: 16px; }
.hero-caption p { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 32px; border-radius: 40px; font-size: 15px; font-weight: 600; transition: all .25s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--primary); }

.hero-dots { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots span.active { background: var(--accent); }

/* ---------- 快捷入口条 ---------- */
.quick-bar { background: var(--white); box-shadow: var(--shadow); margin-top: -60px; position: relative; z-index: 5; border-radius: var(--radius); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-item { padding: 26px 22px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.quick-item:last-child { border-right: 0; }
.quick-item .ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.quick-item h3 { font-size: 16px; margin-bottom: 4px; }
.quick-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 产品中心 ---------- */
.cat-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-tabs a { padding: 9px 24px; border-radius: 40px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.cat-tabs a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 10px rgba(15,42,75,.05); transition: all .3s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 18px 18px 22px; text-align: center; flex: 1; }
.product-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card h3 a:hover { color: var(--primary); }
.product-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-card .pf-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--primary); }

/* ---------- 关于我们 ---------- */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .badge {
    position: absolute; right: -18px; bottom: -18px; background: var(--primary); color: #fff;
    padding: 20px 26px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.about-media .badge strong { display: block; font-size: 34px; line-height: 1; }
.about-media .badge span { font-size: 13px; opacity: .85; }
.about-text h2 { font-size: 28px; margin-bottom: 8px; }
.about-text .sub { color: var(--accent); font-weight: 600; margin-bottom: 18px; display: block; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.about-stats .stat { text-align: center; padding: 16px 8px; background: var(--primary-light); border-radius: var(--radius); }
.about-stats .stat strong { display: block; font-size: 26px; color: var(--primary); }
.about-stats .stat span { font-size: 13px; color: var(--muted); }

/* ---------- 服务优势 ---------- */
.advantage { background: linear-gradient(120deg, #0b5cad, #10243d); color: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all .3s; }
.adv-item:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.adv-item .ico { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.adv-item h3 { font-size: 18px; margin-bottom: 8px; }
.adv-item p { font-size: 13px; color: rgba(255,255,255,.78); }

/* ---------- 新闻中心 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(15,42,75,.05); transition: all .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.news-card .read { margin-top: auto; font-size: 13px; color: var(--primary); }

/* ---------- 内页 Banner ---------- */
.page-banner {
    background: linear-gradient(120deg, #0b5cad, #10243d); color: #fff;
    padding: 66px 0; text-align: center; position: relative; overflow: hidden;
}
.page-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.05); }
.page-banner h1 { font-size: 32px; position: relative; z-index: 2; }
.page-banner .crumb { position: relative; z-index: 2; margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.78); }
.page-banner .crumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- 内页布局 ---------- */
.page-wrap { padding: 50px 0; }
.layout { display: grid; grid-template-columns: 270px 1fr; gap: 34px; align-items: start; }

.sidebar { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15,42,75,.05); overflow: hidden; }
.sidebar + .sidebar { margin-top: 24px; }
.side-title { background: var(--primary); color: #fff; padding: 16px 22px; font-size: 17px; font-weight: 600; }
.side-menu li a { display: block; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); position: relative; }
.side-menu li a::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .25s; }
.side-menu li a:hover, .side-menu li a.active { background: var(--primary-light); color: var(--primary); padding-left: 28px; }
.side-menu li a.active::before, .side-menu li a:hover::before { transform: scaleY(1); }

.side-contact { padding: 22px; text-align: center; }
.side-contact .ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.side-contact p { font-size: 13px; color: var(--muted); }
.side-contact strong { display: block; color: var(--primary); font-size: 19px; margin: 6px 0; }

.panel { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15,42,75,.05); padding: 30px; }
.panel-title { font-size: 20px; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); position: relative; }
.panel-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 2px; background: var(--accent); }

/* ---------- 通用内容列表（列表页） ---------- */
.post-list { display: grid; gap: 20px; }
.post-item { display: grid; grid-template-columns: 230px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.post-item:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.post-item .thumb { background: var(--bg); }
.post-item .thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.post-item .body { padding: 20px 22px 20px 0; display: flex; flex-direction: column; }
.post-item h3 { font-size: 18px; margin-bottom: 8px; }
.post-item h3 a:hover { color: var(--primary); }
.post-item .meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.post-item p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-item .read { margin-top: auto; font-size: 13px; color: var(--primary); padding-top: 10px; }

/* 产品列表（无缩略图时用纯卡片） */
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* 分页 */
.pagination { margin-top: 36px; text-align: center; }
.pagination .page-bar { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; line-height: 38px; padding: 0 12px; border: 1px solid var(--line);
    border-radius: 4px; background: #fff; font-size: 14px; color: var(--text); display: inline-block; text-align: center;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-num-current, .pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .page-status { border: 0; background: none; color: var(--muted); }

/* ---------- 详情页 ---------- */
.article-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-head h1 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--muted); display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.article-body { font-size: 15px; line-height: 1.9; color: #333; }
.article-body img { max-width: 100%; height: auto; margin: 14px auto; border-radius: var(--radius); }
.article-body p { margin-bottom: 14px; }
.article-body h2, .article-body h3 { margin: 22px 0 12px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 12px; }

.article-foot { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-foot .pn { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; margin-bottom: 22px; }
.article-foot .pn a:hover { color: var(--primary); }

/* 相关产品/文章 */
.related { margin-top: 40px; }
.related h3 { font-size: 18px; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-grid a { display: block; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.related-grid a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- 单页（关于/联系） ---------- */
.single-body { font-size: 15px; line-height: 1.9; color: #333; }
.single-body img { max-width: 100%; height: auto; margin: 14px 0; border-radius: var(--radius); }
.single-body p { margin-bottom: 14px; }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: 0 2px 10px rgba(15,42,75,.05); transition: all .3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-card .ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 14px; word-break: break-all; }
.contact-card strong { color: var(--primary); font-size: 18px; }

.msg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.msg-form .full { grid-column: 1 / -1; }
.msg-form input, .msg-form textarea {
    width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 14px; font-family: inherit; background: var(--bg); transition: border-color .25s, background .25s;
}
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.msg-form textarea { min-height: 130px; resize: vertical; }
.msg-form .captcha { display: flex; gap: 12px; align-items: center; }
.msg-form .captcha input { flex: 1; }
.msg-form .captcha img { height: 46px; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--line); }
.msg-form button { grid-column: 1 / -1; background: var(--primary); color: #fff; padding: 14px; border-radius: var(--radius); font-size: 16px; font-weight: 600; transition: background .25s; }
.msg-form button:hover { background: var(--primary-dark); }

.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- 页脚 ---------- */
.footer { background: #10243d; color: rgba(255,255,255,.72); padding: 56px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer .f-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer .f-logo small { display: block; font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,.5); font-weight: 400; }
.footer .f-about p { line-height: 1.9; margin-bottom: 10px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 10px; }
.footer .f-contact .ico { color: var(--accent); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 悬浮咨询 ---------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-bar a, .float-bar button {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
    transition: all .25s; font-size: 20px; position: relative;
}
.float-bar a:hover { background: var(--accent); transform: translateY(-3px); }
.float-bar .tip {
    position: absolute; right: 62px; top: 50%; transform: translateY(-50%); white-space: nowrap;
    background: #10243d; color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 4px;
    opacity: 0; visibility: hidden; transition: all .25s;
}
.float-bar a:hover .tip, .float-bar button:hover .tip { opacity: 1; visibility: visible; right: 60px; }
.float-bar .top { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .product-grid, .adv-grid, .related-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-item:nth-child(2) { border-right: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav { position: fixed; left: -100%; top: 0; width: 80%; max-width: 320px; height: 100vh; background: #fff; z-index: 200; overflow-y: auto; transition: left .3s; box-shadow: var(--shadow); }
    .nav.open { left: 0; }
    .nav > ul { display: block; padding-top: 60px; }
    .nav > ul > li > a { line-height: 54px; padding: 0 22px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
    .nav > ul > li > a.active { border-bottom-color: var(--line); border-left-color: var(--primary); }
    .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding-left: 16px; min-width: auto; }
    .header-tel { display: none; }
    .about-inner { grid-template-columns: 1fr; }
    .layout { grid-template-columns: 1fr; }
    .post-item { grid-template-columns: 1fr; }
    .post-item .body { padding: 0 20px 20px; }
    .news-grid, .product-grid, .adv-grid, .contact-grid, .related-grid, .product-list { grid-template-columns: repeat(2, 1fr); }
    .hero-caption h2 { font-size: 32px; }
    .hero-slides { height: 420px; }
}

@media (max-width: 560px) {
    .section { padding: 46px 0; }
    .section-head h2 { font-size: 24px; }
    .news-grid, .product-grid, .adv-grid, .contact-grid, .related-grid, .product-list, .quick-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .hero-caption h2 { font-size: 26px; }
    .hero-caption p { font-size: 15px; }
    .topbar-right { gap: 12px; }
    .msg-form { grid-template-columns: 1fr; }
    .panel { padding: 20px; }
}
