/* ===== 广联云软件开发（惠州）有限公司 官网样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1e6fd9;
  --primary-dark: #123a8f;
  --accent: #38bdf8;
  --text: #333;
  --text-light: #666;
  --bg-light: #f5f8fc;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 88%; max-width: 1200px; margin: 0 auto; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--primary-dark); }
.logo .logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 22px; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
}
.nav-menu { display: flex; gap: 8px; }
.nav-menu a {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 16px;
  color: var(--text);
  transition: all 0.25s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: rgba(30, 111, 217, 0.08);
}
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--primary-dark); cursor: pointer; }

/* ===== 轮播图 ===== */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.6s ease; }
.slide { min-width: 100%; }
.slide img { width: 100%; height: auto; display: block; }
.carousel-dots {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
}
.carousel-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.carousel-dots span.active { background: #fff; transform: scale(1.2); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 20px;
  cursor: pointer; transition: background 0.3s;
}
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.6); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

/* ===== 通用版块 ===== */
.section { padding: 70px 0; }
.section.alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; color: var(--primary-dark); margin-bottom: 12px; }
.section-title p { color: var(--text-light); font-size: 16px; }
.section-title h2::after {
  content: "";
  display: block; width: 56px; height: 4px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ===== 首页特性卡片 ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: 12px; padding: 34px 26px;
  box-shadow: 0 4px 16px rgba(18, 58, 143, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(18, 58, 143, 0.16); }
.card .icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 19px; color: var(--primary-dark); margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14px; }

/* ===== 数字统计 ===== */
.stats { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.stats .grid-4 { text-align: center; }
.stats .num { font-size: 40px; font-weight: bold; }
.stats .num span { font-size: 18px; }
.stats .label { margin-top: 6px; opacity: 0.85; font-size: 15px; }

/* ===== 产品页面 ===== */
.product-item { display: flex; align-items: center; gap: 36px; margin-bottom: 44px; }
.product-item.reverse { flex-direction: row-reverse; }
.product-item .thumb {
  flex: 0 0 380px; height: 220px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: #fff;
}
.product-item:nth-child(odd) .thumb { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.product-item:nth-child(even) .thumb { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.product-item h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 10px; }
.product-item p { color: var(--text-light); }
.product-item ul { margin-top: 12px; }
.product-item ul li { position: relative; padding-left: 22px; color: var(--text-light); font-size: 14px; margin-bottom: 6px; }
.product-item ul li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); }

/* ===== 案例页面 ===== */
.case-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(18, 58, 143, 0.08); transition: transform 0.3s; }
.case-card:hover { transform: translateY(-6px); }
.case-card .cover { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 52px; color: #fff; }
.case-card:nth-child(4n+1) .cover { background: linear-gradient(135deg, #123a8f, #1e6fd9); }
.case-card:nth-child(4n+2) .cover { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.case-card:nth-child(4n+3) .cover { background: linear-gradient(135deg, #4338ca, #818cf8); }
.case-card:nth-child(4n+4) .cover { background: linear-gradient(135deg, #9d174d, #ec4899); }
.case-card .body { padding: 22px; }
.case-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--text-light); }
.case-card .tag { display: inline-block; margin-top: 12px; padding: 3px 12px; border-radius: 20px; font-size: 12px; background: rgba(30, 111, 217, 0.1); color: var(--primary); }

/* ===== 关于我们 ===== */
.about-block { margin-bottom: 36px; }
.about-block h3 { font-size: 20px; color: var(--primary-dark); border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 12px; }
.about-block p { color: var(--text-light); }
.info-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 4px 16px rgba(18, 58, 143, 0.08); border-radius: 12px; overflow: hidden; }
.info-table th, .info-table td { padding: 14px 20px; text-align: left; font-size: 15px; }
.info-table th { width: 160px; background: var(--bg-light); color: var(--primary-dark); white-space: nowrap; }
.info-table td { color: var(--text-light); border-top: 1px solid #eef2f8; }
.timeline { position: relative; margin-left: 20px; border-left: 2px solid var(--primary); padding-left: 26px; }
.timeline .item { margin-bottom: 22px; position: relative; }
.timeline .item::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary);
}
.timeline .year { font-weight: bold; color: var(--primary-dark); margin-right: 8px; }

/* ===== 联系我们 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-wrap.single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .item .ico {
  flex: 0 0 46px; height: 46px; border-radius: 10px;
  background: rgba(30, 111, 217, 0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-info .item h4 { color: var(--primary-dark); font-size: 16px; margin-bottom: 4px; }
.contact-info .item p { color: var(--text-light); font-size: 14px; }
.contact-form { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 16px rgba(18, 58, 143, 0.08); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 16px;
  border: 1px solid #dde5ef; border-radius: 8px; font-size: 14px;
  font-family: inherit; outline: none; transition: border 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form button {
  width: 100%; padding: 13px; border: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 16px; cursor: pointer; transition: opacity 0.3s;
}
.contact-form button:hover { opacity: 0.9; }

/* ===== 页脚 ===== */
.site-footer { background: #0b1f4b; color: #b8c7e2; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: 14px; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 16px 0; text-align: center; font-size: 13px; }
.footer-bottom .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.3); }
.footer-bottom a { color: #b8c7e2; transition: color 0.25s; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-item, .product-item.reverse { flex-direction: column; }
  .product-item .thumb { flex: none; width: 100%; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: #fff;
    padding: 12px 16px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
  .nav-menu.open { display: flex; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .contact-form .row { grid-template-columns: 1fr; }
}
