:root {
  --navy-950: #061529;
  --navy-900: #0b2545;
  --navy-800: #133863;
  --blue-700: #005a9c;
  --blue-600: #0a73c0;
  --gold-500: #c8963e;
  --gold-400: #dfb15b;
  --slate-900: #142030;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --border: #e2e8f0;
  --bg-page: #ffffff;
  --bg-alt: #f4f7fa;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.1);
  --shadow-lg: 0 20px 50px rgba(6, 21, 41, 0.18);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: var(--bg-page);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* 顶部信息栏 */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .sep {
  opacity: 0.35;
}

.topbar a:hover {
  color: var(--gold-400);
}

/* 导航栏 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-cn {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.6px;
}

.brand-en {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.9px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue-700);
  background: rgba(0, 90, 156, 0.06);
}

.nav-cta {
  margin-left: 8px;
  background: var(--navy-900);
  color: #ffffff !important;
  padding: 9px 18px;
}

.nav-cta:hover {
  background: var(--blue-700);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
}

/* Hero 首屏 */
.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    98deg,
    rgba(6, 21, 41, 0.9) 0%,
    rgba(11, 37, 69, 0.76) 48%,
    rgba(11, 37, 69, 0.36) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 64px;
  max-width: 780px;
  margin-left: max(24px, calc((100% - 1220px) / 2 + 24px));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 1px;
}

.hero-title span {
  color: var(--gold-400);
}

.hero-subtitle {
  margin: 0 0 34px;
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: #ffffff;
}

.btn-primary:hover {
  background: #b5842e;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(200, 150, 62, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--navy-900);
}

.btn-full {
  width: 100%;
}

/* 数据指标条 */
.hero-metrics {
  position: relative;
  z-index: 2;
  background: rgba(6, 21, 41, 0.84);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.metric-num em {
  font-style: normal;
  font-size: 15px;
  color: var(--gold-400);
  margin-left: 4px;
  font-weight: 600;
}

.metric-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 6px;
}

/* 通用板块 */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, #10325a 100%);
  color: #ffffff;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-tag.light {
  color: var(--gold-400);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.section-title.light {
  color: #ffffff;
}

.section-desc {
  margin: 0;
  font-size: 15.5px;
  color: var(--slate-600);
  max-width: 680px;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.76);
}

.section-header {
  margin-bottom: 44px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-desc {
  margin: 0 auto;
}

/* 关于倚天 */
.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}

.lead-text {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--slate-900);
  margin: 0 0 16px;
}

.body-text {
  font-size: 15px;
  color: var(--slate-600);
  margin: 0 0 24px;
}

.value-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.pillar {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border-left: 3.5px solid var(--blue-700);
}

.pillar-code {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.pillar h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: var(--navy-900);
}

.pillar p {
  margin: 0;
  font-size: 13.8px;
  color: var(--slate-600);
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(6, 21, 41, 0.88));
  color: #ffffff;
}

.caption-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: var(--gold-500);
  border-radius: 3px;
  margin-bottom: 6px;
}

.photo-caption p {
  margin: 0;
  font-size: 13.5px;
}

.about-stat-card {
  margin-top: 18px;
  background: var(--navy-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}

.stat-row strong {
  display: block;
  font-size: 24px;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}

.stat-row span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* 核心业务 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 90, 156, 0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(0, 90, 156, 0.08);
  color: var(--blue-700);
  margin-bottom: 18px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  font-weight: 800;
  color: rgba(11, 37, 69, 0.07);
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--navy-900);
}

.service-card p {
  margin: 0 0 18px;
  font-size: 14.2px;
  color: var(--slate-600);
  min-height: 74px;
}

.service-tags {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 12px;
  padding: 3px 9px;
  background: var(--bg-alt);
  color: var(--slate-700);
  border-radius: 4px;
}

/* 代表工程业绩 */
.projects-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
}

.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(11, 37, 69, 0.86);
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.project-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-loc {
  font-size: 12.5px;
  color: var(--slate-500);
  margin-bottom: 6px;
}

.project-body h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  color: var(--navy-900);
  line-height: 1.4;
}

.project-summary {
  margin: 0 0 16px;
  font-size: 13.8px;
  color: var(--slate-600);
  flex: 1;
}

.project-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  font-size: 12.5px;
}

.project-specs span {
  color: var(--slate-500);
  display: block;
}

.project-specs strong {
  color: var(--navy-900);
  font-weight: 600;
}

.project-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue-700);
  font-size: 13.8px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.project-link:hover {
  color: var(--gold-500);
}

/* 资质荣誉 */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qual-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, background 0.25s;
}

.qual-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(223, 177, 91, 0.55);
}

.qual-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
  margin-bottom: 14px;
}

.qual-badge.gold {
  background: rgba(200, 150, 62, 0.25);
  color: var(--gold-400);
}

.qual-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #ffffff;
}

.qual-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.qual-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.honors-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.honor-item {
  background: rgba(6, 21, 41, 0.52);
  border-left: 3px solid var(--gold-500);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.honor-item strong {
  display: block;
  font-size: 18px;
  color: var(--gold-400);
  margin-bottom: 4px;
}

.honor-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* 技术研发与BIM */
.innovation-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.innovation-media {
  position: relative;
}

.innovation-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.innovation-badge-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: -28px;
  margin-left: 20px;
  margin-right: 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.innovation-badge-box strong {
  display: block;
  font-size: 22px;
  color: var(--blue-700);
}

.innovation-badge-box span {
  font-size: 12px;
  color: var(--slate-600);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.tech-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.18);
}

.tech-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--navy-900);
}

.tech-item p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
}

/* 新闻动态 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.news-tag {
  padding: 2px 8px;
  background: rgba(0, 90, 156, 0.08);
  color: var(--blue-700);
  border-radius: 4px;
  font-weight: 600;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy-900);
}

.news-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--slate-600);
  flex: 1;
}

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.c-item {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.c-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 4px;
}

.c-val {
  font-size: 14.8px;
  color: var(--navy-900);
  font-weight: 500;
}

.careers-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
}

.careers-box h4 {
  margin: 0 0 6px;
  color: var(--gold-400);
  font-size: 15.5px;
}

.careers-box p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  margin: 0 0 6px;
  font-size: 21px;
  color: var(--navy-900);
}

.form-hint {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--slate-500);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--slate-900);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.12);
}

.form-feedback {
  margin-top: 14px;
  font-size: 13.8px;
  font-weight: 500;
}

.form-feedback.ok {
  color: #15803d;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
}

/* 页脚 */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.75;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: #ffffff;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
}

/* 模态框 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 41, 0.72);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--slate-700);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  background: var(--navy-900);
  color: #ffffff;
}

.modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 18px 0;
}

.modal-specs-grid div span {
  display: block;
  font-size: 12px;
  color: var(--slate-500);
}

.modal-specs-grid div strong {
  font-size: 14.5px;
  color: var(--navy-900);
}

/* 响应式 */
@media (max-width: 1024px) {
  .services-grid, .projects-grid, .qual-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .innovation-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .honors-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
  .hero-content {
    margin-left: 0;
    padding-top: 64px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
  .metric-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .services-grid, .projects-grid, .qual-grid, .news-grid, .honors-strip, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
}
