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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #25364a;
  line-height: 1.7;
  background: #fff;
}

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

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
}

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

.logo {
  color: #153451;
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  white-space: nowrap;
}

.logo span {
  color: #d99b49;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #30445b;
  text-decoration: none;
  font-size: 14px;
  transition: .2s;
}

nav a:hover {
  color: #c68c40;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #153451;
}

.hero {
  min-height: 570px;
  background:
    linear-gradient(90deg, rgba(10,31,53,.94), rgba(10,31,53,.42)),
    url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=2000&q=85")
    center/cover;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  color: #fff;
  padding-top: 65px;
  padding-bottom: 65px;
}

.eyebrow {
  color: #e2b56e;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 15px;
}

.eyebrow.blue {
  color: #b17c37;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.hero-desc {
  color: #dbe4ee;
  max-width: 610px;
  margin-bottom: 32px;
  font-size: 16px;
}

.btn {
  display: inline-block;
  padding: 13px 27px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: .2s;
}

.btn-primary {
  background: #d5a15c;
  color: #142d48;
}

.btn-primary:hover {
  background: #edc384;
  transform: translateY(-2px);
}

.section {
  padding: 90px 0;
}

.section h2 {
  color: #173652;
  font-size: 34px;
  margin-bottom: 15px;
}

.section-desc {
  max-width: 750px;
  color: #778493;
  margin-bottom: 35px;
}

.about {
  text-align: center;
}

.about .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.stats div {
  background: #f4f7fa;
  padding: 28px 15px;
  border-radius: 6px;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: #183d5e;
  font-size: 27px;
}

.stats span {
  color: #778493;
  font-size: 14px;
}

.services {
  background: #f5f7fa;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.card {
  background: #fff;
  padding: 32px 25px;
  border-radius: 7px;
  text-align: left;
  border: 1px solid #e8edf2;
  transition: .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20,45,70,.09);
}

.card-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.card h3 {
  color: #173652;
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: #7c8794;
  font-size: 14px;
}

.products {
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 35px;
}

.category {
  background: #183957;
  color: white;
  padding: 30px 15px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 600;
  transition: .2s;
}

.category:hover {
  background: #c28e4c;
  transform: translateY(-3px);
}

.process {
  background: #f5f7fa;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 45px;
}

.steps div {
  background: #fff;
  padding: 24px 12px;
  border-radius: 6px;
}

.steps b {
  color: #c18b45;
  font-size: 28px;
}

.steps h3 {
  color: #173652;
  font-size: 16px;
  margin: 12px 0 6px;
}

.steps p {
  color: #85909d;
  font-size: 13px;
}

.contact {
  padding: 80px 0;
  text-align: center;
  color: #fff;
  background: #142f4b;
}

.contact h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.contact p {
  color: #d2dce7;
  margin-bottom: 25px;
}

.btn-light {
  background: #fff;
  color: #173652;
}

.contact .contact-note {
  font-size: 12px;
  margin: 20px 0 0;
  color: #aebdce;
}

footer {
  background: #0c2035;
  color: #d2dce7;
  padding: 25px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 850px) {
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 22px 5%;
    gap: 17px;
    box-shadow: 0 10px 15px rgba(0,0,0,.08);
  }

  nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

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

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

@media (max-width: 560px) {
  .hero {
    min-height: 490px;
  }

  .section {
    padding: 65px 0;
  }

  .section h2,
  .contact h2 {
    font-size: 27px;
  }

  .card-grid,
  .category-grid,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}

/* ===== 信达贸易加载页面 ===== */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #102A46;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  transition: opacity .6s ease, visibility .6s ease;
}

#site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(90%, 500px);
  padding: 30px;
}

.loader-logo {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 3px;
}

.loader-logo span {
  color: #D7A65C;
}

.loader-title {
  margin-top: 25px;
  font-size: 23px;
  font-weight: 600;
}

.loader-desc {
  color: #C5D2DF;
  margin-top: 12px;
  font-size: 14px;
}

.loader-track {
  width: 100%;
  height: 4px;
  background: #40566E;
  margin-top: 45px;
  overflow: hidden;
  border-radius: 20px;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: #D7A65C;
  animation: loaderMove 5s linear forwards;
}

.loader-status {
  margin-top: 15px;
  color: #C5D2DF;
  font-size: 13px;
}






 .loader-footer {
  margin-top: 55px;
  font-size: 10px;
  letter-spacing: 3px;
  color: #8296AA;
}

@keyframes loaderMove {
  from { width: 0; }
  to { width: 100%; }
}


/* ===== 信达贸易高级企业介绍区域 ===== */

.about-new {
  padding: 110px 0;
  background: #ffffff;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.about-image {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-label {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  background: rgba(16,42,70,.93);
  padding: 22px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.image-label strong {
  color: #D7A65C;
  letter-spacing: 2px;
  font-size: 13px;
}

.image-label span {
  font-size: 17px;
}

.about-content h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.55;
  color: #142F4B;
  margin-bottom: 25px;
}

.about-text {
  color: #718096;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 35px;
  display: grid;
  gap: 20px;
}

.about-features div {
  border-left: 3px solid #D7A65C;
  padding-left: 18px;
}

.about-features span {
  color: #C18B45;
  font-size: 12px;
  font-weight: bold;
}

.about-features strong {
  display: block;
  color: #183957;
  font-size: 17px;
  margin: 4px 0;
}

.about-features p {
  color: #8995A3;
  font-size: 13px;
}

@media (max-width: 768px) {
  .about-new {
    padding: 65px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image {
    height: 340px;
  }
}

/* ===== 信达贸易采购服务图片展示 ===== */

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.service-tile {
  position: relative;
  height: 310px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 50, .45);
  transition: .3s;
}

.service-tile:hover::before {
  background: rgba(10, 30, 50, .7);
}

.service-tile::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 65px 65px;
  border-color: transparent transparent #D7A65C transparent;
}

.service-overlay {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.service-overlay span {
  display: block;
  color: #E8BD7D;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.service-overlay h3 {
  color: white;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .service-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-tile {
    height: 240px;
  }

  .service-overlay h3 {
    font-size: 22px;
  }
}

/* ===== 图片高级动态效果 ===== */

/* 图片卡片放大动画 */
.service-tile {
  background-size: 100% 100%;
  transition:
    background-size .65s ease,
    transform .4s ease,
    box-shadow .4s ease;
}

/* 鼠标经过时图片放大 */
.service-tile:hover {
  background-size: 110% 110%;
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(10, 30, 50, .22);
}

/* 图片高级渐变遮罩 */
.service-tile::before {
  background: linear-gradient(
    180deg,
    rgba(10, 30, 50, .12),
    rgba(10, 30, 50, .58)
  );
  transition: background .4s ease;
}

/* 鼠标经过时渐变加深 */
.service-tile:hover::before {
  background: linear-gradient(
    180deg,
    rgba(10, 30, 50, .25),
    rgba(10, 30, 50, .78)
  );
}

/* 文字动画 */
.service-overlay {
  transition: transform .4s ease;
}

.service-tile:hover .service-overlay {
  transform: translateY(-8px);
}

/* 英文标题细节 */
.service-overlay span {
  transition: letter-spacing .4s ease;
}

.service-tile:hover .service-overlay span {
  letter-spacing: 5px;
}


/* ===== 产品分类卡片：深蓝商务风 + 金色细节 ===== */
.products {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(30, 75, 112, .10), transparent 58%),
    #f4f7fa;
  text-align: center;
}

.products .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin-top: 40px;
}

.category-card {
  position: relative;
  isolation: isolate;
  height: 330px;
  overflow: hidden;
  border: 1px solid rgba(215, 166, 92, .78);
  border-radius: 13px;
  background: #102a46;
  box-shadow: 0 10px 26px rgba(16, 42, 70, .08);
  text-align: left;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.category-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 22px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(7, 25, 43, .04) 8%,
    rgba(7, 25, 43, .18) 38%,
    rgba(7, 25, 43, .94) 100%
  );
  transition: background .4s ease;
}

.category-copy {
  min-width: 0;
  transform: translateY(4px);
  transition: transform .4s ease;
}

.category-copy > span {
  display: block;
  margin-bottom: 8px;
  color: #e5b66e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.category-copy h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 750;
}

.category-copy p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.7;
}

.category-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
  border: 1px solid rgba(231, 187, 112, .9);
  border-radius: 50%;
  background: #d7a65c;
  color: #102a46;
  font-size: 25px;
  line-height: 1;
  transition: transform .4s ease, background .4s ease, color .4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: #f0c982;
  box-shadow: 0 20px 38px rgba(16, 42, 70, .2);
}

.category-card:hover img {
  transform: scale(1.09);
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    180deg,
    rgba(7, 25, 43, .12) 5%,
    rgba(7, 25, 43, .32) 35%,
    rgba(7, 25, 43, .97) 100%
  );
}

.category-card:hover .category-copy {
  transform: translateY(0);
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
  background: #f0c982;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .category-card {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 28px;
  }

  .category-card {
    height: 270px;
    border-radius: 10px;
  }

  .category-overlay {
    padding: 20px 18px;
  }

  .category-copy h3 {
    font-size: 22px;
  }

  .category-copy p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-card img,
  .category-overlay,
  .category-copy,
  .category-arrow {
    transition: none;
  }
}

/* ===== 信达贸易整站商务配色升级 ===== */

/* 顶部导航 */
.header {
    background: #102A46;
}

.logo,
nav a,
.menu-btn {
    color: #FFFFFF;
}

nav a:hover {
    color: #D7A65C;
}

/* 关于我们 */
.about-new {
    background: #E9EEF3;
}

/* 采购服务 */
.services {
    background: #102A46;
}

.services h2 {
    color: #FFFFFF;
}

.services .section-desc {
    color: #C5D2DF;
}

/* 产品分类 */
.products {
    background: #E9EEF3;
}

/* 采购流程 */
.process {
    background: #DCE5ED;
}

/* 联系我们 */
.contact {
    background: #102A46;
}

/* 页脚 */
footer {
    background: #091C30;
    border-top: 2px solid #D7A65C;
}

/* 金色细节 */
.section h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #D7A65C;
    margin: 12px auto 0;
}

/* ==================================
   商务视觉升级 V2
   采购服务、采购流程、联系我们
================================== */

/* 1. 采购服务：深蓝商务风 */
.section.services {
    background: linear-gradient(135deg, #0B1F35, #173B5C);
    color: #FFFFFF;
}

.section.services h2 {
    color: #FFFFFF;
}

.section.services .section-desc {
    color: #C5D2DF;
}

.section.services .card {
    background: linear-gradient(145deg, #17334F, #10263D);
    border: 1px solid rgba(215, 166, 92, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: all 0.35s ease;
}

.section.services .card h3 {
    color: #FFFFFF;
}

.section.services .card p {
    color: #C5D2DF;
}

.section.services .card:hover {
    transform: translateY(-7px);
    border-color: #D7A65C;
    box-shadow: 0 15px 35px rgba(215, 166, 92, 0.18);
}

/* 2. 采购流程：蓝灰渐变 */
.section.process {
    background: linear-gradient(135deg, #DCE5ED, #C7D5E2);
}

.section.process .steps > div {
    background: linear-gradient(145deg, #FFFFFF, #EDF2F6);
    border: 1px solid rgba(215, 166, 92, 0.55);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 42, 70, 0.08);
    transition: all 0.3s ease;
}

.section.process .steps > div:hover {
    transform: translateY(-6px);
    border-color: #D7A65C;
    box-shadow: 0 12px 28px rgba(16, 42, 70, 0.15);
}

.section.process .steps b {
    color: #C58D42;
}

.section.process .steps h3 {
    color: #102A46;
}

/* 3. 联系我们：深蓝渐变 */
.section.contact {
    background: linear-gradient(135deg, #102A46, #091C30);
    color: #FFFFFF;
    border-top: 2px solid #D7A65C;
}

.section.contact h2,
.section.contact h3 {
    color: #FFFFFF;
}

.section.contact p {
    color: #C5D2DF;
}

.section.contact a {
    color: #D7A65C;
}

.section.contact a:hover {
    color: #FFFFFF;
}

/* 4. 页脚：深色商务收尾 */
footer {
    background: linear-gradient(135deg, #091C30, #061321);
    color: #C5D2DF;
    border-top: 2px solid #D7A65C;
}

footer a {
    color: #D7A65C;
}

/* =================================
   XINDA TRADING 在线客服窗口
================================= */

#chat-widget {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 99999;
    font-family: inherit;
}

#chat-toggle {
    width: 64px;
    height: 64px;
    border: 2px solid #D7A65C;
    border-radius: 50%;
    background: #102A46;
    color: #D7A65C;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    transition: .3s;
}

#chat-toggle:hover {
    transform: scale(1.08);
    background: #193C60;
}

#chat-window {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 490px;
    max-height: calc(100dvh - 125px);
    background: #FFFFFF;
    border: 1px solid #D7A65C;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
}

.chat-hidden {
    display: none !important;
}

.chat-header {
    background: #102A46;
    color: white;
    padding: 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #D7A65C;
}

.chat-header strong {
    display: block;
    font-size: 16px;
}

.chat-header small {
    display: block;
    color: #D7A65C;
    margin-top: 6px;
}

#chat-close {
    border: none;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
}

#chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    background: #F1F4F7;
}

.chat-message {
    max-width: 85%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
}

.bot-message {
    background: white;
    color: #102A46;
    border-left: 3px solid #D7A65C;
}

.user-message {
    background: #102A46;
    color: white;
    margin-left: auto;
}

.chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    background: white;
}

.chat-quick-actions button {
    background: #F4F6F8;
    border: 1px solid #D7A65C;
    color: #102A46;
    border-radius: 20px;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
}

#chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #E2E7ED;
    background: white;
}

#chat-input {
    flex: 1;
    min-width: 0;
    padding: 11px;
    border: 1px solid #D5DCE4;
    border-radius: 7px;
    outline: none;
}

#chat-form button {
    background: #D7A65C;
    color: #102A46;
    border: none;
    border-radius: 7px;
    padding: 0 17px;
    font-weight: bold;
    cursor: pointer;
}

.chat-footer {
    background: #102A46;
    color: #D7A65C;
    text-align: center;
    padding: 9px;
    font-size: 10px;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    #chat-widget {
        right: 16px;
        bottom: 18px;
    }

    #chat-window {
        width: calc(100vw - 32px);
        height: min(490px, calc(100dvh - 110px));
    }
}
/* 在线客服按钮升级 */
#chat-toggle {
    width: auto;
    min-width: 175px;
    height: 58px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 30px;
    background: #102A46;
    color: #D7A65C;
    border: 1px solid #D7A65C;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

#chat-toggle:hover {
    background: #D7A65C;
    color: #102A46;
    transform: translateY(-3px);
}

.chat-toggle-icon {
    font-size: 22px;
}

.chat-toggle-text {
    white-space: nowrap;
}