/* =====================================================
   壹莳网络科技工作室 - 企业官网样式
   风格：明亮清爽 / 科技感 / 冷色调（浅蓝-天蓝-青，深蓝点缀）
   ===================================================== */

:root {
  --c-deep: #0b2a4a;
  --c-navy: #123a6b;
  --c-blue: #2b8de8;
  --c-cyan: #21b6f3;
  --c-sky: #8fd4ff;
  --c-primary: #1d8de8;
  --c-text: #3c5369;
  --c-text-dim: #7a93ab;
  --c-line: rgba(29, 141, 232, .14);
  --grad-main: linear-gradient(160deg, #fbfdff 0%, #f1f8ff 45%, #e6f4ff 100%);
  --grad-cyan: linear-gradient(120deg, #2fa8f0 0%, #56c6ff 100%);
  --shadow-soft: 0 4px 18px rgba(29, 141, 232, .10);
  --font: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--grad-main);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.light { color: #fff !important; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: background .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.logo a {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 5px 12px;
  box-shadow: 0 3px 14px rgba(29, 141, 232, .14);
  border: 1px solid rgba(29, 141, 232, .12);
  object-fit: contain;
}
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 15px;
  color: #55697f;
  position: relative;
  padding: 6px 2px;
  transition: color .3s;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-cyan);
  transition: width .3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-navy); font-weight: 600; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* ---------- 电话区（图标 + 服务热线 + 号码，整齐不换行） ---------- */
.header-phone {
  flex-shrink: 0;
}
.header-phone a.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 7px;
  border-radius: 40px;
  background: #fff;
  border: 1px solid rgba(29, 141, 232, .22);
  box-shadow: 0 4px 14px rgba(29, 141, 232, .10);
  white-space: nowrap;
  transition: all .3s;
}
.header-phone a.hp-link:hover {
  background: var(--grad-cyan);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(29, 141, 232, .35);
}
.header-phone .hp-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: 0 3px 10px rgba(29, 141, 232, .35);
  transition: background .3s;
}
.header-phone .hp-icon svg { width: 17px; height: 17px; }
.header-phone .hp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
  min-width: 0;
}
.header-phone .hp-text small {
  font-size: 11px;
  color: var(--c-primary);
  letter-spacing: 2px;
  line-height: 1.2;
}
.header-phone .hp-text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: .3px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.header-phone a.hp-link:hover .hp-text small,
.header-phone a.hp-link:hover .hp-text strong { color: #fff; }
.header-phone a.hp-link:hover .hp-icon { background: rgba(255, 255, 255, .25); box-shadow: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: .3s;
}

/* ---------- Banner 轮播 ---------- */
.banner-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(86, 198, 255, .28), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(43, 141, 232, .18), transparent 45%),
    linear-gradient(135deg, #f4faff 0%, #e2f2fe 55%, #d4ecfc 100%);
}
.banner-slider::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43, 141, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 141, 232, .08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}
.banner-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
  z-index: 1;
}
.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .18) 60%, rgba(255, 255, 255, .06));
}
.banner-content {
  position: relative;
  z-index: 3;
  padding-top: 76px;
}
.banner-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--c-navy);
  text-shadow: 0 4px 30px rgba(255, 255, 255, .7);
  animation: slideUp .9s ease both;
}
.banner-content p {
  font-size: 20px;
  color: #46607c;
  max-width: 640px;
  margin-bottom: 30px;
  animation: slideUp .9s .15s ease both;
}
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: 0 6px 22px rgba(29, 141, 232, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(29, 141, 232, .45); }
.btn-outline {
  border-color: rgba(29, 141, 232, .5);
  color: var(--c-primary);
  background: rgba(255, 255, 255, .6);
}
.btn-outline:hover { background: rgba(29, 141, 232, .08); box-shadow: 0 0 16px rgba(29, 141, 232, .2); }
.btn-light {
  background: #fff;
  color: var(--c-navy);
  border: 1px solid var(--c-line);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18, 58, 107, .15); }
.banner-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.banner-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(18, 58, 107, .28);
  cursor: pointer;
  transition: all .3s;
}
.banner-dots .dot.active {
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(33, 182, 243, .7);
  width: 28px; border-radius: 6px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 通用板块 ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  color: var(--c-navy);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--grad-cyan);
}
.section-head p { color: var(--c-text-dim); font-size: 16px; }

/* ---------- 业务板块 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 34px 28px;
  text-align: center;
  transition: all .35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(18, 58, 107, .06);
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-cyan);
  opacity: 0;
  transition: opacity .35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 141, 232, .45);
  box-shadow: 0 14px 36px rgba(18, 58, 107, .16);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: rgba(29, 141, 232, .1);
  border: 1px solid rgba(29, 141, 232, .28);
  color: var(--c-primary);
  transition: all .35s;
}
.service-icon svg { width: 34px; height: 34px; }
.service-card:hover .service-icon {
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: 0 0 22px rgba(29, 141, 232, .45);
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; color: var(--c-navy); }
.service-card p { font-size: 14px; color: var(--c-text-dim); }

/* ---------- 关于我们 ---------- */
.about-section {
  background: rgba(255, 255, 255, .6);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-box {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 42px;
  position: relative;
  box-shadow: 0 4px 18px rgba(18, 58, 107, .06);
}
.about-box::before {
  content: "";
  position: absolute; top: -1px; left: -1px;
  width: 90px; height: 90px;
  border-top: 3px solid var(--c-cyan);
  border-left: 3px solid var(--c-cyan);
  border-radius: 18px 0 0 0;
}
.about-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--c-primary);
  margin-bottom: 14px;
}
.about-box h3 { font-size: 26px; margin-bottom: 16px; color: var(--c-navy); }
.about-box p { color: var(--c-text-dim); margin-bottom: 22px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(18, 58, 107, .05);
}
.stat-item strong {
  display: block;
  font-size: 30px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.stat-item span { font-size: 13px; color: var(--c-text-dim); }

/* ---------- 联系我们板块 ---------- */
.contact-section {
  background: var(--grad-cyan);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px;
  border: 30px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}
.contact-section::after {
  content: "";
  position: absolute; bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  border: 26px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.contact-section .container { position: relative; z-index: 2; }
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 18px;
  padding: 34px 44px;
  backdrop-filter: blur(6px);
  flex-wrap: wrap;
}
.contact-info p { opacity: .92; font-size: 14px; color: #fff; }
.contact-info h3 { font-size: 36px; margin: 6px 0 10px; letter-spacing: 1px; color: #fff; }
.contact-info h3 a:hover { text-decoration: underline; }

/* ---------- 内页 ---------- */
.page-banner {
  padding: 150px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(86, 198, 255, .22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(43, 141, 232, .16), transparent 40%),
    linear-gradient(135deg, #f4faff 0%, #e2f2fe 55%, #d4ecfc 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-banner h1 { font-size: 40px; letter-spacing: 3px; margin-bottom: 10px; color: var(--c-navy); }
.page-banner p { color: var(--c-text-dim); font-size: 16px; }

.about-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.about-text h2 { font-size: 28px; margin-bottom: 20px; color: var(--c-navy); }
.about-text p { color: var(--c-text-dim); }
.about-visual-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(18, 58, 107, .06);
}
.about-visual-card img {
  max-width: 220px;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 6px 22px rgba(29, 141, 232, .16);
}
.about-visual-card p { font-size: 14px; color: var(--c-text-dim); }
.feature-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(18, 58, 107, .05);
}
.feature-item h3 { font-size: 17px; color: var(--c-primary); margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--c-text-dim); }

.contact-page { max-width: 960px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(18, 58, 107, .05);
}
.contact-card h3 { font-size: 16px; color: var(--c-primary); margin-bottom: 12px; }
.contact-card p { font-size: 16px; color: var(--c-text); }
.contact-card p a { color: var(--c-primary); }
.contact-message {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(18, 58, 107, .05);
}
.contact-message h2 { font-size: 24px; margin-bottom: 16px; color: var(--c-navy); }
.contact-message > p { color: var(--c-text-dim); margin-bottom: 26px; }
.message-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.message-tags span {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  background: rgba(29, 141, 232, .08);
  border: 1px solid rgba(29, 141, 232, .3);
  color: var(--c-primary);
}

/* ---------- 文章列表 ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(18, 58, 107, .06);
  transition: all .35s;
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 141, 232, .4);
  box-shadow: 0 14px 36px rgba(18, 58, 107, .14);
}
.article-cover {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e8f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover .cover-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-cyan);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  opacity: .85;
}
.article-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  font-size: 12px;
  color: var(--c-text-dim);
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.article-body h3 {
  font-size: 18px;
  line-height: 1.5;
  color: var(--c-navy);
  margin-bottom: 10px;
  transition: color .3s;
}
.article-card:hover .article-body h3 { color: var(--c-primary); }
.article-body p {
  font-size: 14px;
  color: var(--c-text-dim);
  flex: 1;
}
.article-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
}
.article-more:hover { text-decoration: underline; }
.articles-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--c-text-dim);
  font-size: 16px;
}

/* ---------- 文章详情 ---------- */
.article-detail { max-width: 860px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 32px; }
.article-head h1 {
  font-size: 32px;
  line-height: 1.4;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.article-head .article-meta { font-size: 13px; }
.article-content {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 42px;
  line-height: 1.9;
  font-size: 15px;
  color: #3c5369;
  box-shadow: 0 4px 18px rgba(18, 58, 107, .05);
}
.article-content p { margin-bottom: 18px; }
.article-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 6px 0;
}
.article-cover-single {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 6px 22px rgba(29, 141, 232, .18);
}
.article-back {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--c-primary);
}
.article-back:hover { text-decoration: underline; }

/* ---------- 底部 ---------- */
.site-footer {
  background: #eef6fd;
  border-top: 2px solid rgba(29, 141, 232, .18);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 4px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 3px 12px rgba(29, 141, 232, .12);
  border: 1px solid rgba(29, 141, 232, .1);
}
.footer-col h4 {
  font-size: 16px;
  color: var(--c-navy);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--grad-cyan);
}
.footer-col p, .footer-col li {
  font-size: 14px;
  color: var(--c-text-dim);
  margin-bottom: 8px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--c-primary); }
.footer-bottom {
  border-top: 1px solid rgba(29, 141, 232, .16);
  padding: 18px 0;
  text-align: center;
  color: var(--c-text-dim);
  font-size: 13px;
}
.footer-bottom .footer-icp { margin-top: 6px; }
.footer-icp a {
  color: var(--c-text-dim);
  transition: color .3s;
}
.footer-icp a:hover { color: var(--c-primary); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .header-phone .hp-text small { display: none; }
  .header-phone a.hp-link { padding: 6px 14px 6px 7px; }
}
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .about-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--c-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s;
    box-shadow: 0 12px 30px rgba(18, 58, 107, .12);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid rgba(29, 141, 232, .08); }
  .main-nav a::after { display: none; }
  /* 电话区保留，紧凑展示：图标 + 号码（不换行不错位） */
  .header-phone .hp-text small { display: none; }
  .header-phone a.hp-link { padding: 5px 10px 5px 5px; }
  .header-phone .hp-icon { width: 30px; height: 30px; }
  .header-phone .hp-text strong { font-size: 15px; }
  .banner-slider { height: 520px; }
  .banner-content h1 { font-size: 34px; }
  .banner-content p { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-banner { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .about-box { padding: 28px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-content { padding: 26px; }
  .article-head h1 { font-size: 26px; }
  .logo-img { height: 40px; padding: 4px 8px; }
}
@media (max-width: 420px) {
  .header-phone .hp-text strong { font-size: 13px; }
  .logo-img { height: 34px; padding: 3px 6px; }
}
