@charset "utf-8";
/* ==========================================================================
   普洱市智慧阳光采购平台 / 公共布局（设计令牌 + 基础重置 + 头部 + 页脚）
   所有页面均需引入本文件，且置于页面专属样式之前
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --page-bg: #f4f9fe;
  --white: #ffffff;
  --brand: #1664ff;
  --brand-deep: #082e6a;
  --navy: #0b3b78;
  --text: #18212d;
  --muted: #64748b;
  --line: #dce7f3;
  --card-soft: #f8fafd;

  --c-blue: #3366ff;
  --c-cyan: #36abff;
  --c-teal: #00c366;
  --c-orange: #ffaa5b;
  --c-red: #ff4848;
  --c-warn: #ff9f1a;

  --shadow-card: 0 8px 8.75px rgba(11, 59, 120, .02);
  --font: "MiSans", "Source Han Sans CN", "Noto Sans SC", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}

/* ---------- 基础重置 ---------- */
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: #f4f9fe; background: var(--page-bg);
  color: #18212d; color: var(--text);
  font-family: "MiSans", "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif; font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, li, table, figure { margin: 0; padding: 0; }
ul, li { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; font-size: 100%; margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }

.container { width: 1200px; margin: 0 auto; position: relative; }

/* ==========================================================================
   01 / 顶部辅助栏  h32  bg #f4f9fe
   ========================================================================== */
.topbar { height: 32px; background: #f4f9fe; background: var(--page-bg); }
.topbar-inner {
  display: -ms-flexbox; display: -webkit-flex; display: flex;
  -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -ms-flex-align: center; -webkit-align-items: center; align-items: center;
  height: 32px;
}
.topbar-welcome,
.topbar-links {
  font-size: 12px;
  line-height: 20px;
  color: #64748b; color: var(--muted);
  white-space: nowrap;
}
.topbar-links {
  margin-left: auto;
  text-align: right;
}
.topbar-links a { -webkit-transition: color .2s; transition: color .2s; }
.topbar-links a:hover { color: #1664ff; color: var(--brand); }
.topbar-links .sep { font-style: normal; margin: 0 10px; color: #b9c6d8; }

/* ==========================================================================
   02 / 品牌导航  h88  bg #ffffff
   ========================================================================== */
.brandbar { height: 88px; background: #ffffff; background: var(--white); }
.brandbar-inner {
  display: -ms-flexbox; display: -webkit-flex; display: flex;
  -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -ms-flex-align: center; -webkit-align-items: center; align-items: center;
  height: 88px;
}

/* 品牌标识 430×64（内部按设计稿绝对定位） */
.brand {
  position: relative;
  -ms-flex-negative: 0; flex-shrink: 0;
  width: 430px;
  height: 64px;
}
.brand-title,
.brand-sub { position: absolute; display: block; white-space: nowrap; }
.brand-title {
  left: 0; top: -7px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 56px;
  color: #082e6a; color: var(--brand-deep);
}
.brand-sub {
  left: 1px; top: 21px;
  font-size: 14px;
  letter-spacing: 7px;
  line-height: 56px;
  color: #64748b; color: var(--muted);
}

/* 主导航 7 项，间距 17.5px（设计稿「　 」分隔） */
.mainnav { -ms-flex-negative: 0; flex-shrink: 0; height: 24px; white-space: nowrap; }
.mainnav a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  color: #18212d; color: var(--text);
  -webkit-transition: color .2s; transition: color .2s;
}
.mainnav a + a { margin-left: 17.5px; }
.mainnav a:after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: #1664ff; background: var(--brand);
  -webkit-transition: width .24s, left .24s; transition: width .24s, left .24s;
}
.mainnav a:hover { color: #1664ff; color: var(--brand); }
.mainnav a:hover:after,
.mainnav a.on:after { left: 0; width: 100%; }
.mainnav a.on { color: #1664ff; color: var(--brand); }

/* 全站搜索 240×40 */
.search {
  position: relative;
  -ms-flex-negative: 0; flex-shrink: 0;
  display: -ms-flexbox; display: -webkit-flex; display: flex;
  -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -ms-flex-align: center; -webkit-align-items: center; align-items: center;
  width: 240px;
  height: 40px;
  padding-left: 14px;
  border: 1px solid #dce7f3; border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff; background: var(--white);
  -webkit-transition: border-color .2s, box-shadow .2s; transition: border-color .2s, box-shadow .2s;
}
.search:hover,
.search.is-focus { border-color: #9dbcff; box-shadow: 0 0 0 3px rgba(22, 100, 255, .08); }
.search input {
  -ms-flex: 1; -webkit-flex: 1; flex: 1;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 12px;
  color: #18212d; color: var(--text);
}
.search input::-webkit-input-placeholder { color: #64748b; color: var(--muted); }
.search input:-ms-input-placeholder { color: #64748b; color: var(--muted); }
.search input::placeholder { color: #64748b; color: var(--muted); }
.search button {
  -ms-flex-negative: 0; flex-shrink: 0;
  width: 56px;
  height: 38px;
  border: 0;
  border-radius: 7px;
  background: #1664ff; background: var(--brand);
  color: #ffffff; color: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: background .2s; transition: background .2s;
}
.search button:hover { background: #0d54e6; }

/* 移动端导航按钮 */
.navtoggle { display: none; width: 38px; height: 38px; padding: 10px 8px; border: 0; background: none; cursor: pointer; }
.navtoggle span { display: block; height: 2px; border-radius: 2px; background: #082e6a; background: var(--brand-deep); }
.navtoggle span + span { margin-top: 5px; }

/* ==========================================================================
   03 / Banner  h330
   ========================================================================== */
.banner {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #0a2540 url(../images/banner-bg.png) center center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position-y: -225px;
}
.banner-mask {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  opacity: .8;
  background: -webkit-linear-gradient(left, rgba(0, 20, 37, .82) 0%, rgba(178, 113, 0, 0) 100%);
  background: linear-gradient(90deg, rgba(0, 20, 37, .82) 0%, rgba(178, 113, 0, 0) 100%);
}
.banner-inner { height: 330px; }

.banner-copy { position: absolute; left: 0; top: 71px; width: 560px; height: 188px; }
.banner-slogans {
  display: -ms-flexbox; display: -webkit-flex; display: flex;
  -ms-flex-align: start; -webkit-align-items: flex-start; align-items: flex-start;
}
.banner-slogans img {
  -webkit-filter: drop-shadow(0 0 17.5px rgba(0, 6, 42, .6));
  filter: drop-shadow(0 0 17.5px rgba(0, 6, 42, .6));
}
.banner-slogans .slogan1 { width: 247px; height: 78px; margin-right: 30px; }
.banner-slogans .slogan2 { width: 242px; height: 86px; }

.banner-desc {
  position: absolute;
  left: 1px; top: 91px;
  font-size: 18px;
  letter-spacing: 4.32px;
  line-height: 30px;
  color: #ffffff; color: var(--white);
  opacity: .92;
  text-shadow: 0 0 1.75px #00062a;
  white-space: nowrap;
}

.banner-tags {
  position: absolute;
  left: 0; top: 206px;
  padding: 0 20px 2px;
  border-radius: 39px;
  background: rgba(255, 255, 255, .3);
  font-size: 16px;
  letter-spacing: 1.12px;
  line-height: 30px;
  color: #ffffff; color: var(--white);
  opacity: .92;
  text-shadow: 0 1px 1.75px rgba(0, 6, 42, .5);
  white-space: nowrap;
}

/* ==========================================================================
   08 / 页脚  h160  bg #0b3b78
   ========================================================================== */
.footer { background: #0b3b78; background: var(--navy); }
.footer-inner {
  display: -ms-flexbox; display: -webkit-flex; display: flex;
  -ms-flex-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  -ms-flex-align: center; -webkit-align-items: center; align-items: center;
  height: 160px;
}
.footer-brand { -ms-flex-negative: 0; flex-shrink: 0; width: 300px; color: #ffffff; color: var(--white); }
.footer-brand-title,
.footer-brand-sub { display: block; white-space: nowrap; }
.footer-brand-title { font-size: 22px; font-weight: 700; letter-spacing: 1.6px; line-height: 34px; }
.footer-brand-sub { margin-top: 4px; font-size: 10px; letter-spacing: .6px; line-height: 18px; opacity: .66; }
.footer-info,
.footer-record { -ms-flex-negative: 0; flex-shrink: 0; color: #ffffff; color: var(--white); }
.footer-info { width: 520px; font-size: 13px; line-height: 28px; opacity: .86; }
.footer-record { width: 280px; font-size: 12px; line-height: 26px; opacity: .76; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media screen and (max-width: 1240px) {
  .container { width: auto; padding: 0 20px; }
  .banner-copy,
  .banner-tags { left: 20px; }
}

@media screen and (max-width: 1080px) {
  .mainnav { display: none; }
  .navtoggle { display: block; }
  .mainnav.is-open {
    display: block;
    position: absolute;
    left: 20px; right: 20px; top: 100%;
    z-index: 20;
    height: auto;
    padding: 8px 0;
    border: 1px solid #dce7f3; border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff; background: var(--white);
    box-shadow: 0 12px 28px rgba(11, 59, 120, .12);
  }
  .mainnav.is-open a { display: block; margin: 0; padding: 0 16px; line-height: 42px; }
  .mainnav.is-open a:after { display: none; }
}

@media screen and (max-width: 860px) {
  .topbar-welcome { overflow: hidden; text-overflow: ellipsis; }
  .brand { width: auto; height: 56px; }
  .brand-title { position: static; font-size: 22px; letter-spacing: 1px; line-height: 34px; }
  .brand-sub { position: static; font-size: 11px; letter-spacing: 2px; line-height: 20px; }
  .search { width: 180px; }
  .banner,
  .banner-inner { height: 260px; }
  .banner-copy { top: 40px; right: 20px; width: auto; height: auto; }
  .banner-slogans .slogan1 { width: 180px; height: auto; margin-right: 16px; }
  .banner-slogans .slogan2 { width: 176px; height: auto; }
  .banner-desc { position: static; margin-top: 14px; font-size: 15px; letter-spacing: 2px; white-space: normal; }
  .banner-tags { top: auto; bottom: 30px; font-size: 14px; }
  .footer-inner {
    -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap;
    height: auto;
    padding: 28px 0;
  }
  .footer-brand,
  .footer-info,
  .footer-record { width: 100%; }
  .footer-info,
  .footer-record { margin-top: 12px; }
  .footer-info p,
  .footer-record p { white-space: normal; }
}

@media screen and (max-width: 560px) {
  .topbar-links,
  .search { display: none; }
  .footer-info,
  .footer-record { font-size: 12px; line-height: 24px; }
}


/* 侧边栏 */
.sider {
  position: fixed;
  top: 50%;
  left: calc(50% + 600px);
  margin-left: 60px;
  z-index: 9;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.sider-item {
  position: relative;
  width: 85px;
  height: 85px;
  margin-bottom: 6px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center calc(100% - 42px);
  color: #333;
  border: 1px solid #fff;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

.sider-item.icon-online {
  background-image: url("../images/sider_icon1.png");
}

.sider-item.icon-hotline {
  background-image: url("../images/sider_icon2.png");
}

.sider-item.icon-night {
  background-image: url("../images/sider_icon3.png");
}

.sider-item.icon-wechat {
  background-image: url("../images/sider_icon4.png");
}

.sider-item.icon-download {
  background-image: url("../images/sider_icon5.png");
}

.sider-item.icon-top {
  background-image: url("../images/sider_icon6.png");
}

.sider-card {
  display: block;
  height: 100%;
  padding-top: 48px;
  color: #333;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.sider-name {
  line-height: 26px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sider-sub {
  display: none;
  position: absolute;
  width: 165px;
  right: 100%;
  top: 50%;
  margin-right: 10px;
  padding: 12px;
  background-color: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.sider-qrcode {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.sider-qrcode-txt {
  margin-top: 10px;
  text-align: center;
}

.sider-telphone {
  color: #1f96f8;
  font-weight: 600;
  font-size: 20px;
  white-space: nowrap;
}

.sider-item:hover {
  border-color: #1f96f8;
}

.sider-item:hover .sider-sub {
  display: block;
}

@media (max-width: 1460px) {
  .sider {
    left: auto;
    margin-left: 0;
    right: 0;
  }
}
