﻿/* ========== 福建实信招标代理有限公司 官网样式 ========== */
/* 方案A：现代商务简约风 */
:root {
  --primary: #3A8BD8;
  --primary-light: #6BB5EE;
  --primary-dark: #2568A8;
  --accent: #E89420;
  --accent-light: #F0B550;
  --text: #333333;
  --text-light: #555555;
  --text-muted: #888888;
  --bg: #FFFFFF;
  --bg-gray: #EEF4FB;
  --bg-dark: #2568A8;
  --border: #CCE0F2;
  --shadow: 0 2px 12px rgba(58, 139, 216, 0.12);
  --shadow-hover: 0 6px 24px rgba(58, 139, 216, 0.2);
  --radius: 6px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 顶部信息栏 ========== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.8); }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .top-links span { margin-left: 20px; }
.top-bar svg { width: 1em; height: 1em; vertical-align: -0.15em; }

/* ========== 头部导航 ========== */
.header {
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  height: 80px;
  width: auto;
  display: block;
}
.logo-text h1 {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
.logo-text p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 4px;
}
.nav a {
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text);
  border-radius: 4px;
  font-weight: 500;
  position: relative;
}
.nav a:hover, .nav a.active {
  color: var(--primary);
  background: rgba(58, 139, 216, 0.08);
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ========== Banner ========== */
.banner {
  background: linear-gradient(135deg, rgba(37,104,168,0.92) 0%, rgba(58,139,216,0.88) 50%, rgba(107,181,238,0.85) 100%), url('../images/banner-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,155,60,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.banner-content { max-width: 600px; }
.banner-content .tag {
  display: inline-block;
  background: rgba(200,155,60,0.2);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(200,155,60,0.3);
}
.banner-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.banner-content p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 30px;
  line-height: 1.8;
}
.banner-btns { display: flex; gap: 16px; }
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200,155,60,0.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.banner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.stat-card .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-light);
}
.stat-card .label {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ========== 通用区块 ========== */
.section { padding: 70px 0; }
.section-gray { background: var(--bg-gray); }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .subtitle {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 32px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header .desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}
.section-header .line {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========== 服务领域 ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.service-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== 公告区域 ========== */
.notice-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.notice-box {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.notice-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notice-header h3 { font-size: 18px; }
.notice-header a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.notice-header a:hover { color: var(--accent-light); }
.notice-list { padding: 8px 0; }
.notice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover { background: var(--bg-gray); padding-left: 30px; }
.notice-item .title {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 16px;
}
.notice-item .title::before {
  content: '●';
  color: var(--accent);
  font-size: 8px;
  margin-right: 10px;
  vertical-align: middle;
}
.notice-item .date {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.tag-new {
  display: inline-block;
  background: #E74C3C;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ========== 公司简介 ========== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}
.about-img-placeholder {
  height: 360px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.about-img-placeholder .big-icon { font-size: 64px; margin-bottom: 16px; }
.about-img-placeholder p { font-size: 18px; opacity: 0.9; }
.about-content h2 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.about-feature .check {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ========== 业绩案例 ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.case-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
}
.case-img.engineering { background: linear-gradient(135deg, #6BB5EE, #2568A8); }
.case-img.goods { background: linear-gradient(135deg, #F0B550, #C87A18); }
.case-img.service { background: linear-gradient(135deg, #27AE60, #1E8449); }
.case-body { padding: 20px; }
.case-body .cat {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background: rgba(58,139,216,0.1);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.case-body h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.case-body .client {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== 流程 ========== */
.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 100px;
  padding: 0 8px;
}
.flow-step .num {
  width: 60px;
  height: 60px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}
.flow-step:hover .num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.flow-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========== 页脚 ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact li {
  margin-bottom: 14px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ========== 内页Banner ========== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h2 { font-size: 32px; margin-bottom: 8px; }
.page-banner p { opacity: 0.8; font-size: 15px; }
.breadcrumb {
  background: var(--bg-gray);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }

/* ========== 内容页 ========== */
.content-section { padding: 50px 0; }
.content-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.sidebar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  align-self: flex-start;
  position: sticky;
  top: 100px;
}
.sidebar-title {
  background: var(--primary);
  color: #fff;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 600;
}
.sidebar-menu li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.sidebar-menu li:last-child a { border-bottom: none; }
.sidebar-menu li a:hover, .sidebar-menu li a.active {
  background: var(--bg-gray);
  color: var(--primary);
  padding-left: 26px;
}
.sidebar-menu li a.active { border-left: 3px solid var(--accent); }

.main-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  min-height: 500px;
}
.main-content h2 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}
.main-content h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 28px 0 14px;
}
.main-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}
.main-content ul { margin: 14px 0; }
.main-content ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
}
.main-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.data-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.data-table tr:hover td { background: var(--bg-gray); }

/* 联系表单 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-light); margin: 0; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(46,117,182,0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner .container { flex-direction: column; gap: 40px; text-align: center; }
  .banner-content { max-width: 100%; }
  .banner-btns { justify-content: center; }
  .about-wrap { grid-template-columns: 1fr; }
  .notice-wrap { grid-template-columns: 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-content h2 { font-size: 28px; }
  .flow-steps { flex-direction: column; gap: 20px; }
  .flow-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}

/* 轮播 */
.carousel { position: relative; width: 100%; height: 100%; min-height: 400px; border-radius: var(--radius); overflow: hidden; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
.carousel-dots .dot.active { background: #fff; width: 24px; border-radius: 5px; }

.banner-logo-deco {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.12;
  z-index: 0;
}
.banner-logo-deco img {
  width: 420px;
  height: auto;
}
/* 团队成员 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #E8F4FD);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.team-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 12px;
}
.team-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}
.team-achievement {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  line-height: 1.6;
}

/* 招聘公告 */
.recruit-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.recruit-list { display: flex; flex-direction: column; gap: 20px; }
.recruit-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.recruit-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.recruit-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.recruit-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}
.recruit-contact {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  height: fit-content;
}
.recruit-contact h3 { font-size: 20px; margin-bottom: 12px; }
.recruit-contact p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; line-height: 1.6; }
.recruit-phone, .recruit-address {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 12px;
}
