/* ==========================================================================
   World Star - common.css
   公共样式：重置 / 基础 / 页头 / 页脚 / 横幅 / 通用组件
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1a2847;
  --navy-2: #24365e;
  --navy-dark: #101b33;
  --red: #d6222f;
  --red-dark: #b01a25;
  --gray-bg: #f5f6f8;
  --gray-border: #e6e9f0;
  --text: #4a5568;
  --heading: #1a2847;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(26, 40, 71, 0.1);
  --shadow-sm: 0 3px 12px rgba(26, 40, 71, 0.08);
  --container: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red-dark); }

button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; }

svg { display: inline-block; vertical-align: middle; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Container / Section ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }
.section--tight { padding: 50px 0; }

.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head .accent-bar {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 18px;
  background: var(--red);
}
.section-head p { color: var(--text); font-size: 15px; margin: 0; }

.section-head--left { margin-left: 0; text-align: left; }
.section-head--left .accent-bar { margin-left: 0; }
.section-head--flat { max-width: none; margin-bottom: 24px; }
.section-head--mb { margin-bottom: 36px; }

.on-navy h2, .on-navy h3, .on-navy h4 { color: #fff; }
.on-navy p { color: #c3cede; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn--ghost-white:hover { background: #fff; color: var(--navy); }

.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--lg { padding: 15px 40px; font-size: 16px; }

.btn .btn-plus {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.25s ease;
}
.site-header.is-sticky { box-shadow: 0 2px 16px rgba(26, 40, 71, 0.12); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo:hover { color: var(--navy); }
.logo .logo-img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 26px 13px;
  font-size: 15px;
  font-weight: 600;
  color: #2b3a55;
}
.nav-link:hover,
.nav-link--current { color: var(--red); }

.drop-arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-item:hover > .drop-menu,
.nav-item:focus-within > .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s ease;
}
.drop-menu a:hover {
  color: var(--red);
  background: var(--gray-bg);
  padding-left: 28px;
}

.header-cta { flex-shrink: 0; }

/* 语言切换（RU / EN） */
.lang-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-link {
  padding: 5px 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
}
.lang-link:hover { color: var(--red); }
.lang-link.is-current { color: var(--red); }
.lang-sep { color: #c3cad6; font-size: 14px; user-select: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Page Banner (inner pages)
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 64px 0 60px;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(214, 34, 47, 0.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(56, 84, 150, 0.35), transparent 50%);
  pointer-events: none;
}

.page-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.banner-content { max-width: 640px; }
.banner-content h1 { color: #fff; margin-bottom: 14px; font-size: 38px; }
.banner-desc { color: #c9d3e6; font-size: 15px; margin-bottom: 24px; }

.banner-points { margin: 0 0 26px; }
.banner-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #d4dcec;
  font-size: 15px;
}
.banner-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6222f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.banner-media { flex: 0 0 38%; position: relative; }
.banner-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* video overlay button */
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; }
.video-box img { width: 100%; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  background: rgba(214, 34, 47, 0.92);
  border-radius: 50%;
  transition: all 0.25s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--red); }
.video-play::after {
  content: "";
  margin-left: 5px;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-top: 18px;
  font-size: 14px;
  color: #93a3c2;
}
.breadcrumbs a { color: #c9d3e6; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 8px; color: #5d6f95; }
.breadcrumbs .current { color: #fff; font-weight: 600; }

/* Breadcrumb bar (top of main) */
.crumb-bar {
  padding: 12px 0;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-border);
  font-size: 14px;
  color: var(--text);
}
.crumb-bar a { color: var(--navy); font-weight: 600; }
.crumb-bar a:hover { color: var(--red); }
.crumb-bar .sep { margin: 0 8px; color: #9aa6bd; }
.crumb-bar .current { color: var(--heading); font-weight: 600; }

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar { background: var(--navy); padding: 46px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 6px 30px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:first-child { border-left: 0; }
.stat .stat-num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.stat .stat-num em { font-style: normal; color: var(--red); }
.stat .stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: #aebbd6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Media rows (image + text)
   ========================================================================== */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.media-row--rev .media-img { order: 2; }
.media-row h2 { margin-bottom: 18px; }
.media-row p { font-size: 15px; }
.media-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-img--plain img { box-shadow: none; }

/* ==========================================================================
   Feature grid (cards with icon)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: all 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-card .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(214, 34, 47, 0.09);
  color: var(--red);
}
.feature-card .feature-icon svg { width: 28px; height: 28px; }
.feature-card .feature-icon--img {
  width: 58px;
  height: 58px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.feature-card .feature-icon--img img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}
.feature-card .feature-icon--img + h3 { text-align: center; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; margin: 0; }

/* cards on navy background */
.cards-on-navy .feature-card {
  background: #fff;
  border: 0;
}
.cards-on-navy .feature-card h3 { color: var(--navy); }

/* ==========================================================================
   Accordion
   ========================================================================== */
.accordion {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
}
.accordion-item + .accordion-item { border-top: 1px solid var(--gray-border); }

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 17px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  transition: color 0.2s ease;
}
.accordion-head:hover { color: var(--red); }

.accordion-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  transition: transform 0.25s ease;
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; }
.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.accordion-body { display: none; padding: 0 24px 20px; }
.accordion-body p { font-size: 14.5px; margin: 0; }
.accordion-body ul { margin: 6px 0 0; }
.accordion-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 14.5px;
}
.accordion-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.accordion-item.open .accordion-body { display: block; }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--gray-border);
}
.tab {
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--red); }
.tab.active { color: var(--red); border-bottom-color: var(--red); }

.tab-panel { display: none; padding-top: 26px; }
.tab-panel.active { display: block; }

/* vertical tabs */
.tabs--vertical {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tabs--vertical .tab-list {
  flex-direction: column;
  gap: 0;
  border-bottom: 0;
  border-right: 1px solid var(--gray-border);
  background: var(--gray-bg);
}
.tabs--vertical .tab {
  width: 100%;
  text-align: left;
  padding: 14px 22px;
  border-bottom: 0;
  border-left: 3px solid transparent;
  margin-bottom: 0;
  border-radius: 0;
}
.tabs--vertical .tab.active {
  background: #fff;
  border-left-color: var(--red);
}
.tabs--vertical .tab-panel { padding: 26px 30px; }
.tabs--vertical .tab-panel.active { display: block; }

/* material grade chips */
.grade-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.grade-chips span {
  padding: 7px 16px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 30px;
  font-size: 14px;
  color: var(--heading);
  transition: all 0.2s ease;
}
.grade-chips span:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ==========================================================================
   Data table
   ========================================================================== */
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
}
.data-table th,
.data-table td {
  padding: 13px 20px;
  border: 1px solid var(--gray-border);
  text-align: left;
}
.data-table th {
  background: var(--red);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) { background: var(--gray-bg); }

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 14px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 calc(25% - 17px);
  scroll-snap-align: start;
}
.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-bg);
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--navy);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.carousel-btn:hover { background: var(--red); color: #fff; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn--prev { left: -14px; }
.carousel-btn--next { right: -14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #cfd6e2;
  transition: all 0.2s ease;
}
.carousel-dots button.active { background: var(--red); transform: scale(1.25); }

/* ==========================================================================
   Industry grid
   ========================================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.industry-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.industry-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.industry-card:hover img { transform: scale(1.06); }
.industry-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 10px;
  background: rgba(16, 27, 51, 0.85);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.25s ease;
}
.industry-card:hover .industry-label { background: var(--red); }

/* ==========================================================================
   Resource cards
   ========================================================================== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resource-grid--4 { grid-template-columns: repeat(4, 1fr); }

.resource-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.resource-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.resource-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.resource-body h3 { font-size: 17px; margin-bottom: 10px; }
.resource-body h3 a { color: var(--heading); }
.resource-body h3 a:hover { color: var(--red); }
.resource-body p { font-size: 14px; color: var(--text); flex: 1; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.read-more .arrow { transition: transform 0.2s ease; }
.read-more:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 42px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-group { margin: 0; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}
.form-group label .req { color: var(--red); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 34, 47, 0.12);
}
.form-group input.is-error,
.form-group textarea.is-error { border-color: var(--red); }

.file-field {
  position: relative;
  display: block;
  padding: 12px 16px;
  border: 1px dashed #c4ccda;
  border-radius: 4px;
  background: var(--gray-bg);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.file-field:hover { border-color: var(--red); }
.file-field input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-field .file-name { font-weight: 600; color: var(--heading); }

.form-note { font-size: 13px; color: #8794a9; line-height: 1.6; }
.form-success {
  margin-top: 16px;
  padding: 13px 18px;
  background: #e8f7ee;
  border: 1px solid #b7e4c7;
  border-radius: 4px;
  color: #1d7a45;
  font-size: 14px;
  font-weight: 600;
}
.form-actions { margin-top: 26px; }

/* 验证码行（留言表单）：输入框与图片同行显示 */
.checkcode-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}
.checkcode-row input { flex: 1 1 auto; width: auto; min-width: 0; }
.checkcode-row img {
  flex: 0 0 auto;
  width: 120px;
  height: 49px;
  max-width: none;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  cursor: pointer;
}

/* ---------- 图片展示列表（imglist） ---------- */
.img-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.img-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.img-card__pic {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-bg);
}
.img-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.img-card:hover .img-card__pic img { transform: scale(1.06); }
.img-card__title {
  padding: 13px 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 富文本区块（about 等内容页） ---------- */
.about-richtext {
  width: 100%;
  font-size: 16px;
  line-height: 1.9;
}
.about-richtext p { margin: 0 0 1.15em; }
.about-richtext h2,
.about-richtext h3 {
  margin: 1.4em 0 0.6em;
  font-size: 22px;
}
.about-richtext h4 { margin: 1.2em 0 0.5em; font-size: 18px; }
.about-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 10px 0;
}
.about-richtext ul,
.about-richtext ol {
  margin: 0 0 1.15em;
  padding-left: 1.4em;
}
.about-richtext ul li { margin-bottom: 0.4em; }
.about-richtext ul li::marker { color: var(--red); }
.about-richtext ol li::marker { color: var(--red); font-weight: 600; }
.about-richtext a { color: var(--red); }
.about-richtext a:hover { text-decoration: underline; }
.about-richtext blockquote {
  margin: 0 0 1.2em;
  padding: 14px 20px;
  border-left: 3px solid var(--red);
  background: var(--gray-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--heading);
  font-size: 17px;
}
.about-richtext table {
  width: 100%;
  margin: 0 0 1.2em;
  border-collapse: collapse;
}
.about-richtext th,
.about-richtext td {
  padding: 10px 14px;
  border: 1px solid var(--gray-border);
  text-align: left;
}
.about-richtext th { background: var(--gray-bg); color: var(--heading); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}
.contact-hero .contact-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 27, 51, 0.55), rgba(16, 27, 51, 0.8));
  z-index: 1;
}
.contact-hero .container { position: relative; z-index: 2; }
.contact-hero h1 { color: #fff; margin-bottom: 6px; }
.contact-hero .breadcrumbs { color: #9fb0cc; margin-top: 0; }
.contact-hero .breadcrumbs .current { color: #fff; }

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.contact-info { border-right: 1px solid var(--gray-border); padding-right: 50px; min-width: 0; }
.contact-form-wrap { min-width: 0; }
.contact-info h2 { font-size: 24px; margin-bottom: 24px; }

/* 联系信息富文本（后台内容调用） */
.contact-content { font-size: 16px; overflow-wrap: break-word; }
.contact-content p { margin: 0 0 14px; }
.contact-content a { color: var(--red); text-decoration: none; }
.contact-content a:hover { text-decoration: underline; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-item .ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(214, 34, 47, 0.09);
  color: var(--red);
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 15px; margin-bottom: 3px; }
.contact-item p { font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #b9c5dc; }

.footer-main { padding: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
}

/* footer：版权左 + 联系方式右（图标在上、文字在下） */
.footer-contacts { display: flex; align-items: flex-start; gap: 48px; }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #d4dcec;
  text-align: center;
}
.footer-contact-item svg { width: 22px; height: 22px; }
.footer-contact-item:hover { color: #fff; }

.footer-about { font-size: 14px; line-height: 1.85; margin-bottom: 14px; }

.footer-title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.footer-links li { margin-bottom: 4px; }
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: #b9c5dc;
  transition: all 0.2s ease;
}
.footer-links a:hover { color: #fff; padding-left: 6px; }

.social-list { display: flex; gap: 12px; margin-top: 20px; }
.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  transition: all 0.25s ease;
}
.social-list a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.social-list svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom { padding: 30px 0; }
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 13px; color: #8fa1c0; }

/* ==========================================================================
   Floating widgets
   ========================================================================== */
.float-chat {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #22c55e;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s ease;
}
.float-chat:hover { transform: scale(1.08); color: #fff; }
.float-chat svg { width: 26px; height: 26px; }
.float-chat::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.5);
  animation: chatPulse 2s ease-out infinite;
}
@keyframes chatPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   Helpers
   ========================================================================== */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 16px; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6222f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.on-navy .check-list li { color: #d4dcec; }

.dot-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .nav-link { padding: 24px 8px; font-size: 14px; }
}

@media (max-width: 991px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }

  .section { padding: 60px 0; }

  .nav-toggle { display: flex; margin-left: 0; }
  .header-cta { display: none; }
  .lang-switch { margin-left: auto; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: #fff;
    box-shadow: 0 12px 30px rgba(26, 40, 71, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .site-nav.open { max-height: 640px; overflow-y: auto; }
  .nav-list { display: block; padding: 8px 0; }
  .nav-item { border-top: 1px solid var(--gray-border); }
  .nav-item:first-child { border-top: 0; }
  .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
  }
  .drop-menu {
    position: static;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: 0;
    border-radius: 0;
    background: var(--gray-bg);
    padding: 4px 0;
  }
  .nav-item.drop-open > .drop-menu { display: block; }
  .drop-menu a { padding: 10px 34px; }
  .nav-item.drop-open > .nav-link .drop-arrow { transform: rotate(180deg); }

  .page-banner { padding: 48px 0; }
  .page-banner-inner { flex-direction: column; align-items: flex-start; }
  .banner-media { flex: 0 0 auto; width: 100%; max-width: 520px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(3) { border-left: 0; }

  .media-row { grid-template-columns: 1fr; gap: 32px; }
  .media-row--rev .media-img { order: 0; }

  .feature-grid,
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--4,
  .resource-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .carousel-item { flex-basis: calc(33.333% - 15px); }
  .carousel-btn--prev { left: -8px; }
  .carousel-btn--next { right: -8px; }

  .tabs--vertical { grid-template-columns: 1fr; }
  .tabs--vertical .tab-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--gray-border); }
  .tabs--vertical .tab { border-left: 0; border-bottom: 2px solid transparent; }
  .tabs--vertical .tab.active { border-bottom-color: var(--red); }

  .contact-split { grid-template-columns: 1fr; gap: 44px; }
  .contact-info { border-right: 0; padding-right: 0; border-top: 1px solid var(--gray-border); padding-top: 40px; }
  .img-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }

  /* 非PC：联系方式在上、版权在下 */
  .footer-bottom { padding: 26px 0; }
  .footer-bottom .container { flex-direction: column-reverse; gap: 18px; }
  .footer-bottom p { text-align: center; }

  .form-card { padding: 30px 24px; }
}

@media (max-width: 575px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
  .section { padding: 48px 0; }

  .banner-content h1 { font-size: 28px; }

  .stats-grid { grid-template-columns: 1fr; gap: 22px; }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 18px 0 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .stat .stat-num { font-size: 34px; }

  .feature-grid,
  .feature-grid--4,
  .resource-grid,
  .resource-grid--4,
  .industry-grid { grid-template-columns: 1fr; }

  .carousel-item { flex-basis: 78%; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-contacts { gap: 36px; }

  .float-chat { right: 18px; bottom: 18px; width: 52px; height: 52px; }
}
