/* ==========================================================================
   上海鸿畔五金机电有限公司 - 官网样式
   配色: 深蓝 #0e2a47 / #14406b  橙色 #e8762d
   ========================================================================== */

:root {
  --navy-900: #0a1f36;
  --navy-800: #0e2a47;
  --navy-700: #14406b;
  --navy-600: #1e5183;
  --steel-300: #7fa3c4;
  --steel-100: #dfe8f1;
  --bg-light: #f3f6fa;
  --orange: #e8762d;
  --orange-dark: #c95f1c;
  --text: #2b3644;
  --text-mute: #6b7a8c;
  --line: #e3e9f0;
  --radius: 4px;
  --max: 1260px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 92%; max-width: var(--max); margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }
.en { font-size: 13px; letter-spacing: .04em; }
.mute { color: var(--text-mute); }

/* ---------------- 顶部条 ---------------- */
.topbar {
  background: var(--navy-900);
  color: #a9bed3;
  font-size: 13px;
  height: 38px;
  line-height: 38px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .slogan span { margin-right: 18px; }
.topbar .slogan span:first-child { color: #fff; font-weight: 600; letter-spacing: .06em; }
.topbar .tools { display: flex; align-items: center; gap: 20px; }
.topbar .tools a:hover { color: var(--orange); }
.topbar .tools .ico { margin-right: 5px; opacity: .8; }

/* ---------------- 头部导航 ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 14px rgba(10, 31, 54, .08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 46px; height: 46px; border-radius: 6px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
}
.logo .mark svg { width: 28px; height: 28px; }
.logo .name { line-height: 1.25; }
.logo .name b { display: block; font-size: 19px; color: var(--navy-800); letter-spacing: .04em; }
.logo .name small { display: block; font-size: 11.5px; color: var(--steel-300); letter-spacing: .02em; }

.nav > ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 0 20px; line-height: 82px; font-size: 16px; color: #22303f;
}
.nav > ul > li > a::after {
  content: ""; display: block; height: 3px; width: 0; margin: -18px auto 0;
  background: var(--orange); transition: width .3s;
}
.nav > ul > li:hover > a,
.nav > ul > li.active > a { color: var(--navy-700); }
.nav > ul > li:hover > a::after,
.nav > ul > li.active > a::after { width: 26px; }

.subnav {
  position: absolute; left: 50%; top: 82px; transform: translateX(-50%) translateY(10px);
  width: 520px; background: #fff; box-shadow: 0 12px 34px rgba(10, 31, 54, .16);
  border-top: 3px solid var(--orange);
  opacity: 0; visibility: hidden; transition: all .28s; padding: 22px 24px;
}
.nav > ul > li:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.subnav .tit { font-size: 16px; color: var(--navy-800); font-weight: 600; margin-bottom: 6px; }
.subnav .txt { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; line-height: 1.7; }
.subnav .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav .tags a {
  font-size: 13.5px; padding: 5px 13px; background: var(--bg-light);
  border-radius: 20px; color: #46586c;
}
.subnav .tags a:hover { background: var(--orange); color: #fff; }

.navBtn { display: none; width: 30px; cursor: pointer; }
.navBtn span { display: block; height: 3px; background: var(--navy-700); margin: 5px 0; border-radius: 2px; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-block; padding: 11px 30px; font-size: 14.5px;
  border: 1px solid var(--orange); color: var(--orange); border-radius: var(--radius);
}
.btn:hover { background: var(--orange); color: #fff; }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: 30px; color: var(--navy-800); font-weight: 700; letter-spacing: .04em; }
.sec-title p { font-size: 13px; color: var(--steel-300); letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; }
.sec-title.light h2 { color: #fff; }
.sec-title.light p { color: rgba(255, 255, 255, .5); }

/* ---------------- 首页横幅 ---------------- */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--navy-900); }
.hero .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero .slide.on { opacity: 1; }
.hero .slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 31, 54, .86) 0%, rgba(10, 31, 54, .62) 45%, rgba(10, 31, 54, .28) 100%);
}
.hero .inner { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero .kicker { font-size: 15px; letter-spacing: .3em; color: var(--orange); margin-bottom: 14px; }
.hero h2 { font-size: 48px; line-height: 1.3; font-weight: 700; letter-spacing: .03em; max-width: 15em; }
.hero .sub { font-size: 15px; color: rgba(255, 255, 255, .78); margin-top: 18px; max-width: 34em; line-height: 1.9; }
.hero .acts { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; gap: 10px; z-index: 4; }
.hero .dots i {
  width: 34px; height: 3px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s;
}
.hero .dots i.on { background: var(--orange); }

.hero-stats {
  position: relative; z-index: 5; margin-top: -58px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; box-shadow: 0 10px 34px rgba(10, 31, 54, .12); border-radius: 6px;
  overflow: hidden;
}
.hero-stats div { padding: 24px 18px; text-align: center; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { display: block; font-size: 30px; color: var(--navy-700); line-height: 1.2; font-weight: 700; }
.hero-stats b em { font-size: 15px; font-style: normal; color: var(--orange); margin-left: 2px; }
.hero-stats span { font-size: 13.5px; color: var(--text-mute); }

/* ---------------- 应用领域 ---------------- */
.apps { padding: 86px 0 76px; background: #fff; }
.apps .rail-wrap { position: relative; }
.apps .rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 22px; scrollbar-width: none;
}
.apps .rail::-webkit-scrollbar { display: none; }
.apps .card {
  flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start;
  position: relative; height: 330px; border-radius: 6px; overflow: hidden;
  background: var(--navy-800); color: #fff; background-size: cover; background-position: center;
  cursor: pointer;
}
.apps .card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 54, .18) 0%, rgba(10, 31, 54, .88) 100%);
  transition: background .35s;
}
.apps .card .body { position: relative; z-index: 2; height: 100%; padding: 26px 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.apps .card h3 { font-size: 21px; }
.apps .card .en { color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.apps .card p { font-size: 13.5px; color: rgba(255, 255, 255, .8); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .4s; }
.apps .card:hover p { max-height: 170px; }
.apps .card .more { margin-top: 14px; font-size: 13px; color: var(--orange); }
.apps .nav-arrows { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.apps .nav-arrows button {
  width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 50%;
  cursor: pointer; color: var(--navy-700); font-size: 17px;
}
.apps .nav-arrows button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------------- 关于我们 ---------------- */
.about-sec {
  padding: 90px 0; color: #fff; position: relative;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 100%);
}
.about-sec::before {
  content: ""; position: absolute; inset: 0; opacity: .13;
  background-image: radial-gradient(circle at 18% 28%, #fff 0, transparent 42%),
                    radial-gradient(circle at 78% 74%, #e8762d 0, transparent 46%);
}
.about-sec .container { position: relative; z-index: 2; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-grid .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 18px; }
.about-grid .tags span {
  font-size: 13.5px; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 20px;
  color: rgba(255, 255, 255, .85);
}
.about-grid .txt { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 2; margin-bottom: 26px; }
.about-media { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media .badge {
  position: absolute; left: 0; bottom: 0; background: var(--orange); color: #fff;
  padding: 10px 20px; font-size: 14px; letter-spacing: .04em;
}

/* ---------------- 首页产品推荐 ---------------- */
.home-products { padding: 86px 0; background: var(--bg-light); }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 3px 14px rgba(10, 31, 54, .07); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(10, 31, 54, .14); }
.p-card .thumb {
  height: 200px; background: linear-gradient(160deg, #eef3f8, #dfe8f1);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.p-card .thumb img { max-height: 158px; width: auto; max-width: 100%; object-fit: contain; }
.p-card .info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.p-card .info h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.p-card .info p { font-size: 13.5px; color: var(--text-mute); line-height: 1.8; flex: 1; }
.p-card .info .more { margin-top: 14px; font-size: 13.5px; color: var(--orange); }

/* ---------------- 新闻 ---------------- */
.news-sec { padding: 86px 0; background: #fff; }
.tabs-head { display: flex; justify-content: center; gap: 34px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tabs-head a { padding: 0 4px 14px; font-size: 17px; color: var(--text-mute); position: relative; }
.tabs-head a.on { color: var(--navy-800); font-weight: 600; }
.tabs-head a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--orange); }
.news-pane { display: none; }
.news-pane.on { display: block; }
.news-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.news-lead .big { position: relative; border-radius: 6px; overflow: hidden; background: var(--steel-100); }
.news-lead .big img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.news-lead .big .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px;
  background: linear-gradient(0deg, rgba(10, 31, 54, .92), rgba(10, 31, 54, 0)); color: #fff;
}
.news-lead .big .cap h3 { font-size: 21px; line-height: 1.5; }
.news-lead .big .cap span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 16px; padding: 18px 6px; align-items: center; }
.news-list a:hover { background: #fafcfe; }
.news-list .d {
  flex: 0 0 66px; text-align: center; border-right: 1px solid var(--line); padding-right: 12px;
}
.news-list .d b { display: block; font-size: 22px; color: var(--navy-700); line-height: 1.2; }
.news-list .d span { font-size: 12px; color: var(--text-mute); }
.news-list .t h4 { font-size: 15.5px; color: #22303f; font-weight: 500; line-height: 1.6; }
.news-list .t p { font-size: 13px; color: var(--text-mute); margin-top: 4px; }

/* ---------------- 联系 ---------------- */
.contact-sec {
  padding: 86px 0; color: #fff; position: relative;
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-600) 100%);
}
.contact-sec .container { position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .tit { font-size: 22px; margin-bottom: 26px; color: #fff; }
.contact-info ul li { margin-bottom: 22px; display: flex; gap: 14px; }
.contact-info ul li .ic {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center;
}
.contact-info ul li .ic svg { width: 19px; height: 19px; }
.contact-info ul li .lb { font-size: 13px; color: var(--steel-300); }
.contact-info ul li .vl { font-size: 16px; color: #fff; line-height: 1.6; }
.contact-info ul li .vl a:hover { color: var(--orange); }

.form-box { background: #fff; border-radius: 6px; padding: 30px 32px 26px; color: var(--text); }
.form-box h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 4px; }
.form-box .hint { font-size: 13px; color: var(--text-mute); margin-bottom: 20px; }
.form-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-box input, .form-box textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font-size: 14px; color: var(--text); background: #fbfcfe;
  transition: border-color .25s, background .25s;
}
.form-box input:focus, .form-box textarea:focus { border-color: var(--navy-600); background: #fff; }
.form-box .field { margin-bottom: 14px; }
.form-box textarea { min-height: 104px; resize: vertical; }
.form-box .acts { display: flex; gap: 12px; align-items: center; }
.form-box .acts button {
  flex: 1; border: 0; background: var(--orange); color: #fff; padding: 13px 0;
  border-radius: var(--radius); font-size: 15px; cursor: pointer;
}
.form-box .acts button:hover { background: var(--orange-dark); }
.form-box .msg { margin-top: 14px; font-size: 14px; padding: 10px 14px; border-radius: var(--radius); display: none; }
.form-box .msg.ok { display: block; background: #e8f7ee; color: #1d7a43; }
.form-box .msg.bad { display: block; background: #fdecec; color: #c0392b; }

/* ---------------- 子页通用 ---------------- */
.page-head {
  padding: 74px 0 60px; color: #fff; position: relative;
  background: linear-gradient(118deg, var(--navy-900), var(--navy-600) 65%, #24618f);
}
.page-head::after {
  content: ""; position: absolute; right: 6%; top: 0; bottom: 0; width: 260px; opacity: .12;
  background: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 12px);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: 34px; letter-spacing: .04em; }
.page-head p { font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-top: 6px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 16px; }
.crumb a:hover { color: var(--orange); }

.page-body { padding: 66px 0 80px; }
.page-body.alt { background: var(--bg-light); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.split h2 { font-size: 26px; color: var(--navy-800); margin-bottom: 8px; }
.split .kicker { font-size: 12.5px; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; margin-bottom: 10px; }
.split p { color: #4a5a6c; margin-bottom: 14px; font-size: 14.5px; }
.split img { border-radius: 6px; box-shadow: 0 14px 34px rgba(10, 31, 54, .14); width: 100%; }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; }
.fact b { display: block; font-size: 32px; color: var(--navy-700); line-height: 1.1; }
.fact span { font-size: 13.5px; color: var(--text-mute); }
.fact p { font-size: 13.5px; color: #4a5a6c; margin-top: 10px; line-height: 1.8; }

.blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.block {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: 6px; padding: 26px 26px 24px;
}
.block h3 { font-size: 18px; color: var(--navy-800); margin-bottom: 4px; }
.block .en { color: var(--steel-300); margin-bottom: 10px; }
.block p { font-size: 14px; color: #4a5a6c; }

.app-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; border-bottom: 1px dashed var(--line); }
.app-block:nth-child(even) .txt { order: 2; }
.app-block h2 { font-size: 24px; color: var(--navy-800); margin-bottom: 6px; }
.app-block .en { color: var(--steel-300); margin-bottom: 14px; letter-spacing: .06em; }
.app-block p { font-size: 14.5px; color: #4a5a6c; }
.app-block .txt ul { margin-top: 16px; }
.app-block .txt ul li { font-size: 14px; color: #4a5a6c; padding-left: 18px; position: relative; margin-bottom: 6px; }
.app-block .txt ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.app-block .pic img { border-radius: 6px; box-shadow: 0 12px 30px rgba(10, 31, 54, .12); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.spec th, table.spec td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--navy-800); color: #fff; font-weight: 500; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec tr:nth-child(even) td { background: #fafcfe; }

.search-bar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search-bar input {
  flex: 1; min-width: 240px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14.5px;
}
.search-bar button {
  padding: 0 30px; background: var(--orange); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer; font-size: 15px;
}
.search-bar button:hover { background: var(--orange-dark); }
.stock-tip { font-size: 13.5px; color: var(--text-mute); margin-bottom: 18px; }
.stock-tip .hot { color: var(--orange); cursor: pointer; margin: 0 4px; }
.stock-empty { padding: 40px 0; text-align: center; color: var(--text-mute); display: none; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--navy-900); color: #9db1c7; font-size: 13.5px; padding: 56px 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; font-weight: 600; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: var(--orange); }
.footer .brand b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.footer .brand small { display: block; font-size: 12px; color: #6f8bab; margin-bottom: 14px; }
.footer .brand p { line-height: 1.9; font-size: 13px; }
.footer .hot { color: var(--orange); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; }
.footer .copy .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #728aa6; }
.footer .copy a:hover { color: var(--orange); }

/* ---------------- 悬浮工具 ---------------- */
.float {
  position: fixed; right: 18px; bottom: 26px; z-index: 120; display: flex; flex-direction: column; gap: 10px;
}
.float a, .float button {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 6px 18px rgba(10, 31, 54, .18); display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--navy-800); position: relative;
}
.float a:hover, .float button:hover { background: var(--orange); color: #fff; }
.float a .tip, .float button .tip {
  position: absolute; right: 58px; top: 50%; transform: translateY(-50%);
  background: var(--navy-800); color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 4px;
  white-space: nowrap; opacity: 0; visibility: hidden; transition: all .25s;
}
.float a:hover .tip, .float button:hover .tip { opacity: 1; visibility: visible; }
.float svg { width: 20px; height: 20px; }

/* ---------------- 滚动出现动画 ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .nav > ul > li > a { padding: 0 13px; font-size: 15px; }
  .apps .card { flex: 0 0 calc((100% - 32px) / 3); }
  .p-grid, .fact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .header .container { height: 66px; }
  .logo .name b { font-size: 16px; }
  .logo .mark { width: 38px; height: 38px; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0; bottom: 0; background: #fff;
    padding: 14px 0; overflow-y: auto; transform: translateX(-100%); transition: transform .3s; z-index: 190;
  }
  .nav.open { transform: none; }
  .nav > ul { display: block; }
  .nav > ul > li > a { line-height: 52px; padding: 0 22px; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a::after { display: none; }
  .subnav { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-top: 0; padding: 0 22px 12px; display: none; }
  .nav > ul > li.open .subnav { display: block; }
  .navBtn { display: block; }
  .hero { height: 520px; }
  .hero h2 { font-size: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .hero-stats div { border-bottom: 1px solid var(--line); }
  .about-grid, .split, .contact-grid, .news-lead, .app-block, .blocks, .footer .cols { grid-template-columns: 1fr; }
  .app-block:nth-child(even) .txt { order: 0; }
  .apps .card { flex: 0 0 84%; }
  .p-grid, .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .page-head h1 { font-size: 26px; }
  .form-box { padding: 24px 20px; }
}

@media (max-width: 560px) {
  .p-grid, .fact-grid { grid-template-columns: 1fr; }
  .form-box .row { grid-template-columns: 1fr; }
  .hero h2 { font-size: 25px; }
  .sec-title h2 { font-size: 24px; }
}
