/* =====================================================
   辽宁瑞和建设科技有限公司 — 企业官网样式
   商务专业风：深藏青 + 香槟金
   ===================================================== */

:root {
  --navy-900: #0b1f33;
  --navy-800: #102a44;
  --navy-700: #16375a;
  --navy-600: #1d4570;
  --gold: #c9a45c;
  --gold-light: #e0c28a;
  --ink: #22303e;
  --ink-soft: #5a6a78;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #e3e8ee;
  --shadow: 0 12px 32px rgba(11, 31, 51, 0.10);
  --radius: 10px;
  --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1160px, 92%); margin: 0 auto; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201, 164, 92, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* =====================================================
   顶部导航
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s ease;
}
.navbar.scrolled {
  background: rgba(11, 31, 51, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 13px; }
/* 方形印章标识：白色圆角底衬 + 红印，形成品牌"徽标"效果 */
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  transition: transform .3s ease;
}
.logo:hover .logo-chip { transform: scale(1.06); }
.logo-chip img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* 品牌名称：中文主标 + 英文副标两行结构 */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-text strong {
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 3px;
}
.logo-text small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 0.8px;
  font-weight: 400;
  transform-origin: left;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
}
.nav-cta::after { display: 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(--white);
  transition: all .3s;
}

/* =====================================================
   首屏 Banner
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(29, 69, 112, 0.55), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-lines { width: 100%; height: 100%; }

.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-tag {
  display: inline-block;
  color: var(--gold-light);
  border: 1px solid rgba(201, 164, 92, 0.45);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero h1 .divider { color: var(--gold); margin: 0 6px; }
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* =====================================================
   通用 Section
   ===================================================== */
.section { padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 6px;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: 34px;
  color: var(--navy-900);
  letter-spacing: 3px;
}
.section-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-desc {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* =====================================================
   关于我们
   ===================================================== */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-text h3 {
  font-size: 24px;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-text strong { color: var(--navy-700); }
.about-points { margin-top: 22px; }
.about-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  transform: rotate(45deg);
}

.about-cards { display: flex; flex-direction: column; gap: 20px; }
.about-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.about-card:hover { transform: translateX(6px); }
.about-card .about-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 2px;
}
.about-card h4 { font-size: 18px; color: var(--navy-900); margin: 6px 0 6px; }
.about-card p { font-size: 14px; color: var(--ink-soft); }

/* =====================================================
   服务体系
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 12px;
  margin-bottom: 22px;
}
.service-icon svg { width: 30px; height: 30px; color: var(--gold-light); }
.service-card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--ink-soft); }

/* =====================================================
   服务流程
   ===================================================== */
.process { background: var(--paper); }
.process-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 27px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: .5;
}
.process-step { text-align: center; position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--gold);
  position: relative;
  z-index: 1;
}
.process-step h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 6px; }
.process-step p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

/* =====================================================
   企业实力
   ===================================================== */
.stats {
  background:
    linear-gradient(rgba(11, 31, 51, 0.88), rgba(11, 31, 51, 0.88)),
    linear-gradient(160deg, var(--navy-800), var(--navy-600));
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 10px; }
.stat-num, .stat-suffix {
  font-size: 52px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
}
.stat-suffix { font-size: 34px; }
.stat-item p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 1px;
}
.stats-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  margin-top: 36px;
}

/* =====================================================
   新闻动态
   ===================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.news-cover {
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-cover svg { width: 64px; height: 64px; color: rgba(255,255,255,0.85); }
.news-cover-0 { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.news-cover-1 { background: linear-gradient(135deg, #1d4570, #2d5f96); }
.news-cover-2 { background: linear-gradient(135deg, #16375a, #1d4570); }
.news-date {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11, 31, 51, 0.55);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.news-body { padding: 24px 24px 28px; flex: 1; }
.news-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 92, 0.5);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.news-body h3 {
  font-size: 17px;
  color: var(--navy-900);
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================
   联系我们
   ===================================================== */
.contact { background: var(--paper); }
/* 联系方式：三栏横排卡片 */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all .3s ease;
}
.contact-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
  border-top-color: var(--gold);
}
.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 10px;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--gold-light); }
.contact-item h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--ink-soft); }
.contact-item .tel-link { color: var(--navy-700); font-weight: 700; font-size: 17px; transition: color .3s; }
.contact-item .tel-link:hover { color: var(--gold); }

/* =====================================================
   页脚
   ===================================================== */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand p { font-size: 15px; margin-top: 14px; }
/* 页脚：完整横版 logo，白底圆角卡片，宽度自适应 */
.footer-logo-chip {
  width: auto; height: auto;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  display: inline-flex;
}
.footer-logo-chip img { width: 220px; height: auto; }
.footer-slogan { font-size: 13px !important; color: rgba(255,255,255,0.4) !important; letter-spacing: 1px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 8px; }
.footer-links a { font-size: 14px; transition: color .3s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-icp a:hover { color: var(--gold-light); }

/* =====================================================
   滚动显现动画
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   响应式
   ===================================================== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { grid-template-columns: 1fr; gap: 20px; }
  .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process-track::before { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  /* 中屏隐藏英文副标，避免与导航菜单拥挤 */
  .logo-text small { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .logo-text { font-size: 14px; }

  .nav-toggle { display: flex; }
  .logo-chip { width: 38px; height: 38px; padding: 4px; border-radius: 8px; }
  .logo-text strong { font-size: 16px; letter-spacing: 2px; }
  .logo-text small { font-size: 8px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transition: right .35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }

  .services-grid, .news-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 40px; }
}

@media (max-width: 480px) {
  .process-track { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
