/* ===== 基础重置与变量 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a4a8a;
  --color-primary-dark: #0d2b52;
  --color-primary-light: #2d6cb5;
  --color-accent: #4facfe;
  --color-accent-end: #00c6fb;
  --color-gold: #c4a574;
  --color-gold-dark: #a8894e;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #ffffff;
  --color-bg-light: #f7f8fa;
  --color-bg-section: #f0f2f5;
  --color-placeholder: #d9dce0;
  --color-placeholder-text: #aab0b8;
  --color-footer: #0a1628;
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --header-height: 70px;
  --hero-content-top: 156px;
  --content-offset-x: -100px;
  --nav-offset-x: 100px;
  --section-watermark-offset-x: -100px;
  --pagination-right: 280px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 图片占位符 ===== */
.img-placeholder {
  background-color: var(--color-placeholder);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-placeholder-text);
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 36px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-end) 100%);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .logo {
  margin-left: var(--content-offset-x);
}

.header .logo img {
  height: 28px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-end));
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 40px;
}

.header .nav {
  margin-right: calc(-1 * var(--nav-offset-x));
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  color: rgba(255, 255, 255, 0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(10, 22, 40, 0.35) 45%,
    rgba(10, 22, 40, 0.1) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-top: calc(var(--header-height) + var(--hero-content-top));
  max-width: 680px;
  margin-left: var(--content-offset-x);
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-btn {
  align-self: flex-start;
  width: auto;
  padding: 12px 32px;
  border-radius: 2px;
  background: linear-gradient(to right, #1fb2f9 0%, #1578e5 100%);
}

.hero-pagination {
  position: absolute;
  right: var(--pagination-right);
  top: calc(var(--header-height) + var(--hero-content-top) - 72px);
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  pointer-events: none;
}

.pagination-current {
  font-size: 56px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.pagination-divider {
  font-size: 18px;
  margin: 0 2px;
  color: rgba(255, 255, 255, 0.5);
}

.pagination-total {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 通用区块标题 ===== */
.section {
  padding: 100px 0;
}

.section-header {
  position: relative;
  margin-bottom: 60px;
}

.section-title-en {
  display: block;
  font-size: 72px;
  font-weight: 900;
  color: #eef0f3;
  letter-spacing: 4px;
  line-height: 1;
  user-select: none;
}

.section-title-cn {
  position: absolute;
  bottom: 8px;
  left: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}

/* ===== 企业概况 ===== */
.section-profile {
  padding-top: 0;
}

.section-header--block,
.section-header--profile {
  position: relative;
  margin-bottom: 56px;
  min-height: 80px;
  padding-bottom: 28px;
}

.section-header--block .section-title-en,
.section-header--profile .section-title-en {
  font-size: 106px;
  letter-spacing: 6px;
  margin-left: var(--section-watermark-offset-x);
  position: relative;
  z-index: 0;
}

.section-header--block .section-title-group,
.section-header--profile .section-title-group {
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 1;
  margin-top: 0;
}

.section-header--block .section-title-cn,
.section-header--profile .section-title-cn {
  position: static;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 1px;
  line-height: 1;
}

.section-subtitle-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.section-subtitle-text {
  line-height: 1;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.profile-main {
  position: relative;
  min-height: 532px;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.profile-main-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    transparent 100%
  );
  color: #ffffff;
  z-index: 1;
}

.profile-main-text h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.profile-main-text p {
  font-size: 16px;
  line-height: 2;
  max-width: 420px;
  opacity: 0.95;
}

.profile-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 532px;
}

.profile-idea {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.profile-idea-text {
  position: absolute;
  inset: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  color: #ffffff;
}

.profile-idea-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.profile-idea-text p {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.92;
}

.profile-culture-block {
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.profile-culture-text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  color: #ffffff;
}

.profile-culture-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.profile-culture-text p {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.95;
}

/* ===== 主营业务 ===== */
.section-business {
  background: var(--color-bg);
  overflow-x: hidden;
  padding-bottom: 0;
}

.business-item {
  padding: 48px 0;
}

.business-item--merchant {
  background: #f7f8fc;
  padding-bottom: 24px;
  margin-top: -50px;
}

.business-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.business-row--reverse .business-visual {
  order: 2;
}

.business-row--reverse .business-content {
  order: 1;
}

.business-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.business-item--merchant .business-visual {
  transform: translateY(-100px);
  margin-bottom: -80px;
}

.business-phone-placeholder,
.business-phone-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
}

.business-phone-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 320px;
}

.business-content {
  width: 300px;
  padding: 20px 0;
}

.business-content--raised {
  margin-left: 30px;
  transform: translateY(-160px);
}

.business-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1;
}

.business-logo {
  height: 1em;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.business-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.business-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #d0d4da;
  border-radius: 5px;
  font-size: 12px;
  color: var(--color-text-light);
  background: #ffffff;
}

.business-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.business-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2;
  text-align: justify;
}

/* ===== 业务范围 ===== */
.section-scope {
  background: var(--color-bg);
}

.scope-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.scope-text p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
  font-weight: bold;
  color: #000;
}

.scope-text p:last-child {
  margin-bottom: 0;
}

.scope-map {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== 联系我们 ===== */
.section-contact {
  background: #f7f8fc;
}

.section-contact .section-title-en {
  color: #f3f3f3;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-detail {
  padding-top: 8px;
}

.contact-greeting {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.contact-intro {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 32px;
  text-align: justify;
}

.contact-block {
  margin-bottom: 28px;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.contact-block p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 4px;
  background: #e8eaed;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--color-text);
  transition: background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #dfe2e6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 48px;
}

/* ===== 页脚 ===== */
.footer {
  background: #000;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 24px;
}

.footer-company-name {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-contact p {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== 表单提交提示 ===== */
.form-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 20px 40px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.form-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ===== 独立页 Hero ===== */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 34, 0.55);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 72px;
  margin-left: var(--content-offset-x);
}

.page-hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.page-hero__line {
  display: block;
  width: 48px;
  height: 3px;
  background: #ffffff;
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== 企业概况独立页 ===== */
.profile-page-section {
  padding: 80px 0 96px;
}

.profile-page-section--intro {
  background: #ffffff;
}

.profile-page-section--vision {
  background: #f7f8fc;
}

.profile-page-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.profile-page-section-header__en {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.profile-page-section-header__cn {
  font-size: 16px;
  color: var(--color-text-light);
  letter-spacing: 2px;
}

.profile-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.profile-page-intro__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-page-intro__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.profile-page-intro__text p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: 20px;
  font-weight: bold;
}

.profile-page-intro__text p:last-child {
  margin-bottom: 0;
}

.profile-page-vision-quote {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-text);
}

.profile-page-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.profile-page-vision__text p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text);
  text-align: justify;
  font-weight: bold;
  color: #000;
}

.profile-page-vision__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-page-vision__img {
  width: 78%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===== 联系我们独立页 ===== */
.contact-page-section {
  padding: 72px 0 96px;
  background: #ffffff;
}

.contact-page-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-page-section-header__en {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.contact-page-section-header__cn {
  font-size: 16px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.contact-page-section-header__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin: 0 auto;
}

.contact-page-section-header__divider span {
  display: block;
  height: 1px;
  flex: 1;
  background: #e4e6eb;
}

.contact-page-section-header__divider span.is-accent {
  flex: 0 0 140px;
  height: 3px;
  background: linear-gradient(135deg, #1fb2f9 0%, #1578e5 100%);
}

.contact-page-body {
  max-width: 920px;
  margin: 0 auto;
}

.contact-page-info {
  margin-bottom: 48px;
}

.contact-page-info__label {
  font-size: 18px;
  font-weight: 600;
  color: #1fb2f9;
  margin-bottom: 24px;
}

.contact-page-info__label span {
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-page-info__greeting {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.contact-page-info__intro {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-light);
  text-align: justify;
  margin-bottom: 32px;
}

.contact-page-info__block {
  margin-bottom: 28px;
}

.contact-page-info__block:last-child {
  margin-bottom: 0;
}

.contact-page-info__block h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.contact-page-info__block p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-light);
}

.contact-page-map {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e4e6eb;
}
