/* ========== 全局基础重置 ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.2vw, 18px);
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #333;
  background: #fff;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Playfair Display', 'Microsoft YaHei', serif;
  color: #1a1a1a;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== Header / Navigation ========== */
header {
  background: #001F3F;
  padding: 10px 0;
  border-bottom: 2px solid #001028;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  max-width: 120px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color .3s;
}
.nav-links a:hover {
  color: #FDD835;
}
.lang-switcher select {
  background: #001F3F;
  color: #fff;
  border: 1px solid #fff;
  padding: 4px 8px;
}

/* ========== Banner / 首页左右卡片 ========== */
.hero.hero-about2 {
  min-height: 60vh;
  background: url("../img/banner_silk_texture.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.about2-flexbox {
  width: 90vw;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 4vw;
}

.about2-card {
  flex: 1 1 0;
  background: rgba(255,255,255,0.84);
  border-radius: 38px;
  box-shadow: 0 8px 48px rgba(80,120,180,0.12);
  padding: 3vw 2.5vw;
  min-width: 320px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about2-card h1 {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 800;
  color: #233868;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: .04em;
}
.about2-maintext p {
  font-size: clamp(1em, 1.2vw, 1.22em);
  color: #243456;
  text-align: justify;
  letter-spacing: .01em;
  margin-bottom: 36px;
  line-height: 2.02;
}
.about2-philosophy {
  font-size: clamp(1em, 1.3vw, 1.25em);
  color: #204cb2;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
  margin: 0 auto;
  background: linear-gradient(90deg,#e0ecff 20%,#f0f6ff 80%);
  border-radius: 8px;
  padding: 10px 18px;
  box-shadow: 0 2px 10px rgba(110,140,200,0.07);
  width: fit-content;
}
.about2-section {
  margin-bottom: 32px;
}
.about2-section-title {
  font-size: 1.13em;
  color: #2479e6;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: 15px;
  border-left: 5px solid #c6e3ff;
  padding-left: 12px;
}
.about2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.about2-badges span {
  display: inline-block;
  background: linear-gradient(120deg,#eef3fb 60%,#e0edfd 100%);
  border-radius: 17px;
  padding: 10px 20px;
  font-size: 1.08em;
  color: #234196;
  border: 1.2px solid #c2e3ff;
  box-shadow: 0 2px 10px rgba(80,130,190,0.08);
  font-weight: 600;
  letter-spacing: .02em;
  transition: box-shadow 0.18s, background 0.18s;
  margin-bottom: 3px;
}
.about2-badges span:hover {
  background: #d6eaff;
  box-shadow: 0 4px 16px rgba(60,140,240,0.13);
}

@media (max-width:1100px) {
  .about2-flexbox { gap: 2vw; }
  .about2-card { padding: 5vw 2vw; }
}
@media (max-width:900px) {
  .about2-flexbox { flex-direction: column; align-items: center; gap: 30px;}
  .about2-card { width: 97vw; max-width: 100vw; min-width: unset; }
}
@media (max-width:600px) {
  .about2-card { padding: 7vw 2vw; }
  .about2-card h1 { font-size: 1.5em; }
  .about2-maintext p { font-size: 1em; }
  .about2-badges span { font-size: 0.95em; padding: 8px 10px;}
}

/* ========== 产品中心：自适应放大，两卡片并排居中 ========== */
.products-section {
  padding: 110px 0 100px 0;
  max-width: 2200px;
  margin: 0 auto;
}
.products-section .section-title {
  font-size: clamp(3.2em, 8vw, 5em);
  margin-bottom: 80px;
  letter-spacing: 0.14em;
  text-align: center;
  font-weight: 900;
}
.product-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 6vw;
  flex-wrap: nowrap;  /* 核心：一行不换行 */
  max-width: 2000px;
  margin: 0 auto;
}
.product-card {
  flex: 1 1 0;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 26px 92px rgba(120,120,160,0.21);
  padding: 120px 90px 120px 90px;
  min-width: 600px;
  max-width: 900px;
  width: 42vw;
  transition: transform 0.14s, box-shadow 0.14s;
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-card:hover {
  transform: translateY(-32px) scale(1.06);
  box-shadow: 0 38px 120px rgba(70,120,160,0.22);
}
.product-img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 44px;
  box-shadow: 0 18px 54px rgba(100,120,170,0.17);
  max-width: 100%;
}
.product-card h3 {
  font-size: clamp(2.4em, 5vw, 4em);
  margin-top: 60px;
  color: #183196;
  font-weight: bold;
  letter-spacing: .13em;
}
@media (max-width:1800px) {
  .product-flex { gap: 3vw; }
  .product-card { min-width: 400px; max-width: 700px; width: 46vw; padding: 70px 5vw 70px 5vw;}
  .product-img { height: 380px;}
}
@media (max-width:1100px) {
  .product-flex { flex-wrap: wrap; gap: 30px;}
  .product-card { width: 98vw; max-width: 580px; min-width: 230px; padding: 30px 8px 28px 8px;}
  .product-img { height: 210px;}
}
@media (max-width:700px) {
  .product-flex { flex-direction: column; align-items: center; }
  .product-card { width: 96vw; max-width: 99vw; min-width: unset; }
  .product-img { height: 120px;}
  .products-section .section-title { font-size: 2em; }
}
.product-card-tip {
  font-size: 1em;
  color: #6276a0;
  text-align: center;
  margin-top: 6px;
  letter-spacing: .05em;
  opacity: .8;
}

.product-card {
  cursor: pointer;
  transition: box-shadow .16s, transform .16s;
}
.product-card:hover {
  box-shadow: 0 6px 28px rgba(20,60,160,.15);
  transform: translateY(-4px) scale(1.02);
}


/* ========== 我们的优势 ========== */
.advantages-section {
  padding: 80px 0;
}
.advantages-section h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 40px;
  color: #112D4E;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
  text-align: center;
}
.advantage-item {
  padding: 24px 16px;
  border-radius: 8px;
  color: #112D4E;
}
.advantages-grid .advantage-item:nth-child(1) { background: #FFEBEE; }
.advantages-grid .advantage-item:nth-child(2) { background: #E3F2FD; }
.advantages-grid .advantage-item:nth-child(3) { background: #E8F5E9; }
.advantage-item h4 {
  margin-bottom: 12px;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
}
.advantage-item p {
  line-height: 1.6;
}

/* ========== 联系我们 & 表单 ========== */
.contact-section {
  background: #001F3F;
  color: #fff;
  padding: 60px 0;
}
.contact-section .contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}
.contact-info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}
.contact-info h2,
.contact-info p {
  margin: 8px 0;
  line-height: 1.4;
  color: #fff;
}
.footer-contact-form {
  flex: 1 1 40%;
  max-width: 360px;
  background: #fff;
  color: #333;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.footer-contact-form h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: #001F3F;
}
.footer-contact-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: #333;
}
.footer-contact-form input,
.footer-contact-form textarea {
  display: block;
  width: 100%;
  padding: 6px 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 4px;
  color: #333;
}
.footer-contact-form textarea {
  height: 80px;
  resize: vertical;
}
.footer-contact-form .btn-submit {
  margin-top: 10px;
  width: 100%;
  padding: 6px 0;
  font-size: 0.95rem;
  background: #001F3F;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.footer-contact-form .btn-submit:hover {
  background: #003366;
}

/* ========== Modal (Popup) ========== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
.modal-content {
  background: #fff;
  color: #333;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 90%;
  max-width: 360px;
  margin: 8% auto;
}
.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}
.modal-form h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
  color: #001F3F;
}
.modal-form p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
}
.modal-form label {
  display: block;
  margin: 12px 0 4px;
  font-size: 0.9rem;
  color: #333;
}
.modal-form input,
.modal-form textarea {
  display: block;
  width: 100%;
  padding: 6px 8px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 4px;
  color: #333;
}
.modal-form textarea {
  height: 80px;
  resize: vertical;
}
.modal-form .btn-submit {
  margin-top: 10px;
  width: 100%;
  padding: 6px 0;
  font-size: 0.95rem;
  background: #001F3F;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.modal-form .btn-submit:hover {
  background: #003366;
}

/* ========== Footer ========== */
footer {
  background: #222;
  color: #eee;
  text-align: center;
  padding: 20px 0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}
.product-img {
  width: 100% !important;
  height: 420px !important;         /* 你想要的统一高度，可根据页面实际效果调 */
  object-fit: cover !important;     /* 让图片“填满”并且高度对齐，溢出裁切 */
  border-radius: 44px !important;
  background: #f7fafe !important;
  margin: 0 auto !important;
  display: block !important;
  max-width: 100% !important;
}
.product-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s, box-shadow 0.16s, filter 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-card:hover {
  filter: brightness(0.97);
  transform: translateY(-16px) scale(1.025);
}
.product-card:active {
  filter: brightness(0.9);
}
.product-card h3,
.product-card img {
  pointer-events: none;
}

