/* ============================================================
   西安创莱广告传媒有限公司 · 蓝色商务简约风官网
   主色：商务深蓝 #1E3A8A / 深蓝 #0F172A
   辅助色：深红 #991B1B
   ============================================================ */

:root {
  --blue-deep: #1E3A8A;
  --blue-dark: #0F172A;
  --blue-mid: #1E6FD9;
  --red: #991B1B;
  --red-soft: #C0392B;
  --ink: #1F2937;
  --gray-text: #586073;
  --bg-soft: #F1F5F9;
  --card-soft: #F8FAFC;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans CN", sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部固定导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(15, 23, 42, 0.55);
}
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.header-phone {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.header-phone:hover { background: var(--red-soft); }

/* ===== 首页 Banner / Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.08) 100%);
  /* 仅保留轻微渐变，让 Banner 图文字/二维码更清晰，不叠加任何重复文案 */
}

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  text-align: center;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-top: 8px;
}
.accent-divider {
  width: 80px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ===== 关于我们 ===== */
.about {
  background: var(--red);
}
.about .section-label {
  color: rgba(255, 255, 255, 0.9);
}
.about .section-title {
  color: #fff;
}
.about .accent-divider {
  background: #fff;
}
.about-body {
  max-width: 920px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* ===== 核心业务 ===== */
.services { background: var(--bg-soft); }
.cards-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.services-grid { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(30, 58, 138, 0.18);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray-text);
  flex: 1;
}
.card-tags {
  margin-top: 16px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  line-height: 1.6;
}

/* ===== 服务优势 ===== */
.advantages { background: var(--white); }
.advantages-grid { grid-template-columns: repeat(4, 1fr); }
.adv-card {
  background: var(--card-soft);
  border-radius: 12px;
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(30, 58, 138, 0.14);
}
.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.adv-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.adv-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-text);
}

/* ===== 联系我们 ===== */
.contact {
  background: linear-gradient(160deg, var(--blue-dark) 0%, #1E3A8A 100%);
  text-align: center;
  padding: 90px 0 40px;
}
.contact-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #F87171;
}
.contact-slogan {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-top: 12px;
}
.contact-phone {
  display: inline-block;
  margin-top: 30px;
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}
.contact-phone:hover { color: #FCA5A5; }
.contact-wechat {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}
.contact-name {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 22px;
}
.contact-scope {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}
.footer-bar {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 44px auto 20px;
}
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 18px; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-phone { font-size: 40px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 560px) {
  .services-grid, .advantages-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .brand { font-size: 15px; }
  .header-phone { font-size: 14px; padding: 6px 12px; }
}
