@charset "utf-8";
/* ============================================================
   中科建筑材料（广州）有限公司  官方网站
   站点：zkcrm.work
   说明：纯静态前端样式，无外部依赖
   ============================================================ */

:root {
  --blue: #1d5fa8;
  --blue-2: #558ed5;
  --blue-3: #eaf1fa;
  --blue-4: #0f4179;
  --dark: #22303f;
  --dark-2: #1a2531;
  --text: #444;
  --text-2: #666;
  --line: #e2e8f0;
  --bg: #f4f7fb;
  --white: #fff;
  --orange: #e8853a;
  --radius: 4px;
  --shadow: 0 2px 10px rgba(29, 95, 168, .08);
  --shadow-hover: 0 8px 22px rgba(29, 95, 168, .18);
  --wrap: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}

img { border: 0; vertical-align: middle; max-width: 100%; }
a { color: var(--text); text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--blue); }
ul, ol, li { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 700; color: #222; line-height: 1.4; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--dark-2);
  color: #aab8c6;
  font-size: 13px;
  line-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar .tb-left { padding: 2px 0; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; padding: 2px 0; }
.topbar a { color: #aab8c6; }
.topbar a:hover { color: #fff; }
.topbar .tel { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px; }

/* ---------- 头部 / 导航 ---------- */
.header { background: var(--white); box-shadow: 0 1px 0 var(--line); position: relative; z-index: 60; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.logo .logo-text { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.logo .logo-text b { display: block; font-size: 19px; color: var(--blue); letter-spacing: 1px; line-height: 1.3; }
.logo .logo-text span { display: block; font-size: 11px; color: #9aa7b4; letter-spacing: .6px; text-transform: uppercase; }

.nav { display: flex; align-items: stretch; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 0 20px;
  line-height: 92px;
  font-size: 16px;
  color: #2b3948;
  position: relative;
  white-space: nowrap;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 24px; width: 0; height: 2px;
  background: var(--blue-2); transition: width .25s, left .25s;
}
.nav > li:hover > a, .nav > li.active > a { color: var(--blue); }
.nav > li:hover > a::after, .nav > li.active > a::after { width: 26px; left: calc(50% - 13px); }

.nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 190px; background: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12); border-top: 2px solid var(--blue-2);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s; padding: 6px 0; z-index: 70;
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub li a { display: block; padding: 9px 20px; font-size: 14px; color: #4b5867; }
.nav .sub li a:hover { background: var(--blue-3); color: var(--blue); padding-left: 26px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #2b3948; margin: 4px auto; transition: .2s; }

/* ---------- 首页横幅 ---------- */
.banner { position: relative; overflow: hidden; background: #0d1b2a; }
.banner .slides { position: relative; height: 440px; }
.banner .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-repeat: no-repeat; background-position: center; background-size: cover;
}
.banner .slide.on { opacity: 1; }
.banner .slide::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 28, 54, .90) 0%, rgba(8, 28, 54, .45) 26%, rgba(8, 28, 54, 0) 58%);
}
.banner .slide .caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  color: #fff; padding-bottom: 54px; text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.banner .slide .caption h2 { color: #fff; font-size: 30px; letter-spacing: 2px; margin-bottom: 8px; }
.banner .slide .caption p { font-size: 15px; letter-spacing: 1px; color: #d9e6f6; }
.banner .dots { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; z-index: 5; }
.banner .dots i {
  display: inline-block; width: 10px; height: 10px; margin: 0 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); cursor: pointer; transition: .2s;
}
.banner .dots i.on { background: #fff; width: 26px; border-radius: 6px; }

/* 内页横幅 */
.pagebanner {
  background: linear-gradient(120deg, #16457e 0%, var(--blue) 45%, #2f79c4 100%);
  color: #fff; padding: 52px 0 44px; position: relative; overflow: hidden;
}
.pagebanner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.pagebanner::before {
  content: ""; position: absolute; right: 120px; bottom: -110px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, .05);
}
.pagebanner h1 { color: #fff; font-size: 30px; letter-spacing: 2px; position: relative; }
.pagebanner p { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 6px; position: relative; }

.crumb { background: #eef3f9; border-bottom: 1px solid var(--line); font-size: 13px; color: #7b8899; }
.crumb .container { line-height: 46px; }
.crumb a { color: #7b8899; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { margin: 0 8px; color: #b6c0cc; }

/* ---------- 通用板块 ---------- */
.section { padding: 62px 0; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 30px; letter-spacing: 1px; color: #1f2c3a; }
.sec-head h2 em { font-style: normal; color: var(--blue-2); }
.sec-head p { color: #8a97a5; font-size: 14px; margin-top: 10px; letter-spacing: 1px; }
.sec-head .bar { width: 46px; height: 3px; background: var(--blue-2); margin: 14px auto 0; border-radius: 2px; }

.btn {
  display: inline-block; padding: 10px 26px; border-radius: 20px; font-size: 14px;
  border: 1px solid var(--blue-2); color: var(--blue-2); background: transparent; transition: .22s;
}
.btn:hover { background: var(--blue-2); color: #fff; }
.btn-solid { background: var(--blue-2); color: #fff; }
.btn-solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.more-wrap { text-align: center; margin-top: 36px; }

/* ---------- 首页：公司简介 ---------- */
.about-home { display: flex; gap: 44px; align-items: flex-start; }
.about-home .txt { flex: 1; min-width: 0; }
.about-home .txt h2 { font-size: 28px; margin-bottom: 8px; }
.about-home .txt h2 span { color: var(--blue-2); }
.about-home .txt .sub { color: #9aa7b4; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.about-home .txt p { text-indent: 2em; color: var(--text-2); margin-bottom: 12px; }
.about-home .txt .btn { margin-top: 10px; }
.about-home .pic { width: 440px; flex: none; }
.about-home .pic img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-home .pic .est {
  background: var(--blue); color: #fff; text-align: center; padding: 14px 10px; border-radius: var(--radius);
  margin-top: 14px; letter-spacing: 1px; font-size: 13px;
}
.about-home .pic .est b { font-size: 22px; display: block; letter-spacing: 0; }

/* 数据条 */
.stats { display: flex; flex-wrap: wrap; background: var(--blue); border-radius: var(--radius); overflow: hidden; }
.stats li { flex: 1; min-width: 150px; text-align: center; padding: 26px 10px; color: #fff; border-right: 1px solid rgba(255, 255, 255, .18); }
.stats li:last-child { border-right: 0; }
.stats li b { display: block; font-size: 32px; line-height: 1.2; letter-spacing: 1px; }
.stats li span { font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; box-shadow: var(--shadow);
}
.card:hover { border-color: var(--blue-2); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card .thumb { display: block; position: relative; width: 100%; padding-top: 78%; background: #f7f9fc; overflow: hidden; }
.card .thumb img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.06); }
.card .cap { display: block; padding: 14px 12px; text-align: center; }
.card .cap h4 { font-size: 15px; font-weight: 500; color: #2b3948; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card:hover .cap h4 { color: var(--blue); }
.card .cap span { display: block; font-size: 12px; color: #9aa7b4; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 案例卡片 */
.casecard .thumb { padding-top: 66%; }
.casecard .thumb .mask {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(15, 65, 121, .62); opacity: 0; transition: .3s;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px;
}
.casecard:hover .thumb .mask { opacity: 1; }

/* ---------- 新闻 ---------- */
.news-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 18px; position: relative; padding-left: 12px; }
.panel-head h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--blue-2); border-radius: 2px; }
.panel-head .more { font-size: 13px; color: #9aa7b4; }
.panel-head .more:hover { color: var(--blue); }
.panel-body { padding: 8px 20px 14px; }
.nlist li { border-bottom: 1px dashed #e8edf3; }
.nlist li:last-child { border-bottom: 0; }
.nlist li a { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; }
.nlist li a .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3b4856; }
.nlist li a .t::before { content: "▪"; color: var(--blue-2); margin-right: 8px; }
.nlist li a:hover .t { color: var(--blue); }
.nlist li a .d { color: #a8b3bf; font-size: 13px; flex: none; }

/* 新闻列表页（带摘要） */
.nlist-lg li a { display: block; padding: 18px 0; }
.nlist-lg li a h4 { font-size: 16px; font-weight: 500; color: #2b3948; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlist-lg li a:hover h4 { color: var(--blue); }
.nlist-lg li a p { color: #8a97a5; font-size: 13px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nlist-lg li a .meta { font-size: 12px; color: #aeb8c4; margin-top: 8px; }
.nlist-lg li a .meta em { font-style: normal; margin-right: 16px; }

/* ---------- 内页左右布局 ---------- */
.layout { display: flex; gap: 30px; align-items: flex-start; padding: 46px 0 62px; }
.side { width: 250px; flex: none; }
.main { flex: 1; min-width: 0; }

.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
.side-box .hd { background: var(--blue); color: #fff; padding: 14px 18px; font-size: 17px; letter-spacing: 1px; }
.side-box .hd span { display: block; font-size: 11px; color: rgba(255, 255, 255, .7); letter-spacing: .5px; text-transform: uppercase; }
.side-menu li a { display: block; padding: 12px 18px; border-bottom: 1px solid #eef2f7; color: #4b5867; font-size: 14px; }
.side-menu li:last-child a { border-bottom: 0; }
.side-menu li a:hover, .side-menu li.on a { background: var(--blue-3); color: var(--blue); padding-left: 24px; }
.side-box .ct { padding: 16px 18px; color: #6b7886; font-size: 13px; }
.side-box .ct p { margin-bottom: 8px; }
.side-box .ct b { color: var(--blue); font-size: 16px; }
.side-box .ct .wechat { width: 110px; margin: 6px auto 0; text-align: center; }
.side-box .ct .wechat img { width: 110px; height: 110px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- 产品详情 ---------- */
.prod-detail { display: flex; gap: 30px; align-items: flex-start; }
.prod-detail .gallery { width: 400px; flex: none; }
.prod-detail .gallery .big { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fbfcfe; }
.prod-detail .gallery .big img { width: 100%; height: 300px; object-fit: contain; display: block; }
.prod-detail .gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.prod-detail .gallery .thumbs img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.prod-detail .gallery .thumbs img.on { border-color: var(--blue-2); }
.prod-detail .info { flex: 1; min-width: 0; }
.prod-detail .info h1 { font-size: 24px; margin-bottom: 14px; }
.prod-detail .info .lead { color: #7b8899; border-left: 3px solid var(--blue-2); padding-left: 12px; margin-bottom: 18px; font-size: 13px; }
.prod-detail .info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.prod-detail .info .tags span { background: var(--blue-3); color: var(--blue); font-size: 12px; padding: 3px 12px; border-radius: 12px; }
.prod-detail .info .keys { border-top: 1px dashed var(--line); padding-top: 16px; font-size: 13px; color: #6b7886; }
.prod-detail .info .keys dt { color: #a0abb8; display: inline-block; width: 86px; }
.prod-detail .info .keys dd { display: inline; }

.article { color: #4b5867; font-size: 15px; line-height: 2; }
.article p { margin-bottom: 16px; text-indent: 2em; }
.article h3 { font-size: 18px; margin: 26px 0 12px; color: #1f2c3a; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.article table th, .article table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article table th { background: var(--blue-3); color: var(--blue); font-weight: 700; width: 160px; }
.article ul { padding-left: 22px; margin-bottom: 16px; }
.article ul li { list-style: disc; margin-bottom: 6px; }

.block-title { font-size: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin: 34px 0 20px; position: relative; }
.block-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 2px; background: var(--blue-2); }

/* 产品列表页 */
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pitem { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; box-shadow: var(--shadow); }
.pitem:hover { border-color: var(--blue-2); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.pitem .thumb { display: block; padding-top: 74%; position: relative; background: #fbfcfe; }
.pitem .thumb img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.pitem .cap { display: block; padding: 12px 14px 16px; }
.pitem .cap h4 { font-size: 15px; margin-bottom: 6px; }
.pitem .cap h4 a { color: #2b3948; }
.pitem .cap h4 a:hover { color: var(--blue); }
.pitem .cap p { font-size: 12px; color: #8a97a5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }

/* 案例列表 */
.clist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.citem { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.citem .thumb { display: block; padding-top: 68%; position: relative; background: #f7f9fc; overflow: hidden; }
.citem .thumb img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.citem:hover .thumb img { transform: scale(1.07); }
.citem .name {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-size: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
}

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 17px; margin-bottom: 14px; padding-left: 12px; position: relative; }
.contact-card h3::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; background: var(--blue-2); border-radius: 2px; }
.contact-list li { padding: 9px 0; border-bottom: 1px dashed #e8edf3; display: flex; gap: 12px; font-size: 14px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list li b { flex: none; width: 82px; color: #9aa7b4; font-weight: 400; }
.contact-list li span { color: #3b4856; }
.map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #eef3f9; }
.map-box .fake-map {
  height: 300px; position: relative;
  background:
    linear-gradient(90deg, rgba(29,95,168,.07) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(rgba(29,95,168,.07) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(160deg, #f3f7fc, #e3edf8);
}
.map-box .fake-map .pin {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); text-align: center; color: var(--blue);
}
.map-box .fake-map .pin i {
  display: block; width: 22px; height: 22px; background: var(--blue); border: 4px solid #fff; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); margin: 0 auto; box-shadow: 0 3px 10px rgba(29, 95, 168, .45);
}
.map-box .fake-map .pin em {
  display: inline-block; margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 12px; font-style: normal; font-size: 13px; color: #3b4856; box-shadow: var(--shadow); white-space: nowrap;
}
.map-box .addr-bar { padding: 14px 18px; background: var(--white); border-top: 1px solid var(--line); font-size: 14px; color: #4b5867; }
.map-box .addr-bar b { color: var(--blue); }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #93a2b1; padding: 52px 0 0; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; }
.footer a { color: #93a2b1; }
.footer a:hover { color: #fff; }
.footer .f-links li { margin-bottom: 9px; }
.footer .f-links li a::before { content: "›"; margin-right: 8px; color: #5c6b7a; }
.footer .f-about p { line-height: 1.9; color: #8494a4; font-size: 13px; }
.footer .f-contact li { margin-bottom: 10px; line-height: 1.7; }
.footer .f-contact li b { color: #c4d0dc; font-weight: 400; display: inline-block; min-width: 66px; }
.footer .f-contact .big { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0; font-size: 13px; color: #7b8b9a; text-align: center; }
.copyright p { margin: 4px 0; }
.copyright a { color: #9db0c2; }

/* 返回顶部 */
.gotop {
  position: fixed; right: 24px; bottom: 34px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 0; cursor: pointer; font-size: 18px; line-height: 46px;
  box-shadow: 0 6px 18px rgba(29, 95, 168, .4); opacity: 0; visibility: hidden; transition: .3s; z-index: 200;
}
.gotop.on { opacity: 1; visibility: visible; }
.gotop:hover { background: var(--blue-4); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav > li > a { padding: 0 14px; font-size: 15px; }
  .about-home .pic { width: 340px; }
  .prod-detail .gallery { width: 320px; }
}
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .header .container { min-height: 68px; position: relative; }
  .logo img { height: 38px; }
  .logo .logo-text b { font-size: 16px; }
  .logo .logo-text span { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    flex-direction: column; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); border-top: 1px solid var(--line);
    max-height: 74vh; overflow-y: auto; z-index: 90;
  }
  .nav.open { display: flex; }
  .nav > li > a { line-height: 46px; padding: 0 20px; border-bottom: 1px solid #f1f4f8; font-size: 15px; }
  .nav > li > a::after { display: none; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; display: none; background: #fafbfd; }
  .nav > li.expand .sub { display: block; }
  .layout { flex-direction: column; padding: 26px 0 40px; }
  .side { width: 100%; }
  .about-home { flex-direction: column; gap: 24px; }
  .about-home .pic { width: 100%; }
  .prod-detail { flex-direction: column; }
  .prod-detail .gallery { width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plist, .clist { grid-template-columns: repeat(2, 1fr); }
  .news-cols { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .banner { background: linear-gradient(120deg, #16457e 0%, #1d5fa8 50%, #2f79c4 100%); }
  .banner .slide { background-image: none !important; }
  .banner .slides { height: 300px; }
  .banner .slide .caption { padding-bottom: 38px; }
  .banner .slide .caption h2 { font-size: 21px; }
  .banner .slide .caption p { font-size: 13px; }
  .pagebanner { padding: 34px 0 28px; }
  .pagebanner h1 { font-size: 23px; }
}
@media (max-width: 640px) {
  body { font-size: 13px; }
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .grid-4, .grid-3, .grid-2, .plist, .clist { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 22px; }
  .stats li { min-width: 50%; }
  .prod-detail .info h1 { font-size: 19px; }
}
