@charset "UTF-8";
/* =====================================================
   XINGTONG GLASS - Black Gold Theme
   ThinkCMF 5.1 | 全自适应 rem 体系
   1920px 基准: 1rem = 16px
   ===================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black:       #0a0a0a;
  --black2:      #111111;
  --black3:      #1a1a1a;
  --dark:        #222222;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-dark:   #a07830;
  --white:       #ffffff;
  --gray:        #999999;
  --gray-light:  #cccccc;
  --text:        #dddddd;
  --border:      rgba(201,168,76,.25);
  --transition:  .35s ease;
  --radius:      0.25rem;
}

html{font-size: calc(16vw / 1920 * 100);}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--white); font-weight: 600; line-height: 1.3; }

/* ---- Container ---- */
.xt-container { width: 84%; max-width: 120rem; margin: 0 auto; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#xt-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  background: rgba(10,10,10,.96);
  border-bottom: 0.0625rem solid var(--border);
  backdrop-filter: blur(0.5rem);
  transition: box-shadow var(--transition), padding var(--transition);
}
#xt-header.scrolled { box-shadow: 0 0.25rem 1.875rem rgba(0,0,0,.7); }

.xt-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5.5rem;       /* 74px */
}

/* Logo */
.xt-logo { display: flex; align-items: center; gap: 0.75rem; }
.xt-logo .logo-img { height: 2.875rem; width: auto; }
.xt-logo .logo-text { display: flex; flex-direction: column; }
.xt-logo .logo-text .name {
  font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: 0.0625rem;
}
.xt-logo .logo-text .sub {
  font-size: 0.8rem; color: var(--gold); letter-spacing: 0.34rem; text-transform: uppercase;
}

/* Nav */
.xt-nav { display: flex; align-items: center; }
.xt-nav > ul { display: flex; gap: 0.25rem; }
.xt-nav > ul > li { position: relative; }
.xt-nav > ul > li > a {
  display: block; padding: 0.5rem 1rem;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.0625rem; text-transform: uppercase;
  color: var(--gray-light); border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.xt-nav > ul > li > a:hover,
.xt-nav > ul > li.active > a {
  color: var(--gold); background: rgba(201,168,76,.08);
}
/* ── Dropdown (一级→二级) ── */
.xt-nav .dropdown { position: relative; }
.xt-nav .dropdown > a::after {
  content: '\25BE'; margin-left: 0.3125rem; font-size: 0.625rem; opacity: .7;
}
.xt-nav .dropdown .drop-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  background: var(--black2); border: 0.0625rem solid var(--border); border-radius: var(--radius);
  min-width: 11.25rem; padding: 0.375rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-0.375rem);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 100;
}
.xt-nav .dropdown:hover .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.xt-nav .drop-menu > li { position: relative; }
.xt-nav .drop-menu a {
  display: block;
  padding: 1rem;
  font-size: 1rem; color: var(--gray-light);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.xt-nav .drop-menu a:hover { color: var(--gold); background: rgba(201,168,76,.06); }

/* 有子级的二级条目：右侧箭头（绝对定位，不影响无子级条目的布局） */
.xt-nav .drop-menu > li.has-child { position: relative; }
.xt-nav .drop-menu > li.has-child > a {
  padding-right: 1.75rem; /* 为箭头留位置 */
}
.xt-nav .drop-menu > li.has-child > a::after {
  content: '\203A';
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  font-size: 1rem; opacity: .6; line-height: 1;
  pointer-events: none;
}

/* ── 三级菜单（向右展开）── */
.xt-nav .drop-menu .sub-menu {
  position: absolute; top: -0.375rem; left: 100%;
  background: var(--black2); border: 0.0625rem solid var(--border); border-radius: var(--radius);
  min-width: 10.5rem; padding: 0.375rem 0;
  opacity: 0; visibility: hidden; transform: translateX(-0.375rem);
  transition: opacity .22s, visibility .22s, transform .22s;
  z-index: 200;
}
.xt-nav .drop-menu > li.has-child:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.xt-nav .drop-menu .sub-menu a {
  display: block; justify-content: initial;
  padding: 1rem;
  font-size: 1rem; color: var(--gray-light);
}
.xt-nav .drop-menu .sub-menu a:hover { color: var(--gold); background: rgba(201,168,76,.06); }

/* Mobile toggle */
.xt-hamburger {
  display: none; cursor: pointer; padding: 0.375rem;
  background: none; border: none; flex-direction: column; gap: 0.3125rem;
}
.xt-hamburger span {
  display: block; width: 1.5rem; height: 0.125rem; background: var(--white); transition: .3s;
}
.xt-hamburger.open span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
.xt-hamburger.open span:nth-child(2) { opacity: 0; }
.xt-hamburger.open span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }

/* Body push */
body { padding-top: 4.625rem; }

/* ============================================================
   HERO / BANNER SLIDER
   ============================================================ */
.xt-hero {
  position: relative; overflow: hidden;
  height: 50rem;                    /* 800px */
  background: var(--black);
}
.xt-hero .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .9s ease;
}
.xt-hero .slide.active { opacity: 1; }
.xt-hero .slide-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 1;
}
.xt-hero .slide-bg-fallback {
  position: absolute; inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
.xt-hero .slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%);
  z-index: 2;
}
.xt-hero .slide-content {
  position: absolute; top: 50%; left: 8%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 36.25rem;            /* 580px */
}
.xt-hero .slide-tag {
  display: inline-block; margin-bottom: 1rem;
  padding: 0.25rem 0.875rem; border: 0.0625rem solid var(--gold);
  font-size: 0.6875rem; letter-spacing: 0.1875rem; text-transform: uppercase; color: var(--gold);
  border-radius: 0.125rem;
}
.xt-hero .slide-title {
  font-size: clamp(4.2rem, 4vw, 3.25rem);
  font-weight: 800; line-height: 1.15; color: var(--white);
  text-shadow: 0 0.125rem 1.25rem rgba(0,0,0,.5);
}
.xt-hero .slide-title span { color: var(--gold); }
.xt-hero .slide-sub {
  margin-top: 0.875rem; font-size: 1rem;
  color: var(--gray-light); line-height: 1.6;
}
.xt-hero .slide-btns { margin-top: 2rem; display: flex; gap: 0.875rem; flex-wrap: wrap; }
.xt-btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.09375rem; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black); border: none; border-radius: 0.1875rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.xt-btn-gold:hover { transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.5625rem rgba(201,168,76,.4); color: var(--black); }
.xt-btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6875rem 1.75rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09375rem; text-transform: uppercase;
  background: transparent; color: var(--white);
  border: 0.09375rem solid rgba(255,255,255,.5); border-radius: 0.1875rem;
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.xt-btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.07); }

/* Slider controls */
.xt-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.5rem; height: 3.5rem; background: rgba(0,0,0,.5);
  border: 0.0625rem solid var(--border); border-radius: 50%; color: var(--gold);
  font-size: 2rem; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.xt-hero-arrow:hover { background: rgba(201,168,76,.2); }
.xt-hero-arrow.prev { left: 5.25rem; }
.xt-hero-arrow.next { right: 5.25rem; }
.xt-hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 10;
}
.xt-hero-dots .dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s, transform .3s;
}
.xt-hero-dots .dot.active { background: var(--gold); transform: scale(1.3); }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.xt-section { padding: 2rem 0; }              /* 80px */
.xt-section-dark { background: linear-gradient(90deg, #151515 0, #4a4a4a 100%); }
.xt-section-darker { background: var(--black2); }
.xt-section-gradient { background: linear-gradient(180deg, var(--black) 0%, var(--black3) 100%); }

.xt-section-header { text-align: center; margin-bottom: 2rem; }  /* 56px */
.xt-section-header .tag {
  display: inline-block; margin-bottom: 0.625rem;
  font-size: 0.6875rem; letter-spacing: 0.25rem; text-transform: uppercase; color: var(--gold);
}
.xt-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  font-weight: 700; color: var(--white);
  position: relative; display: inline-block; padding-bottom: 1rem;
}
.xt-section-header h2::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 3.125rem; height: 0.125rem; background: var(--gold);
}
.xt-section-header p {
  margin-top: 1rem; font-size: 1rem;
  color:#ffffffcf; margin-left: auto; margin-right: auto;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.xt-stats {
  background: linear-gradient(90deg, #111 0%, #1a1a1a 50%, #111 100%);
  border-top: 0.0625rem solid var(--border); border-bottom: 0.0625rem solid var(--border);
  padding: 2.25rem 0;           /* 36px */
}
.xt-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.xt-stat-item {
  text-align: center; padding: 0 1rem;
  border-right: 0.0625rem solid var(--border);
}
.xt-stat-item:last-child { border-right: none; }
.xt-stat-item .num {
  font-size: 2.625rem;          /* 42px */
  font-weight: 800; color: var(--gold); line-height: 1;
}
.xt-stat-item .num sup { font-size: 1.25rem; }
.xt-stat-item .label {
  margin-top: 0.375rem;
  font-size: 0.9rem; letter-spacing: 0.125rem; text-transform: uppercase; color: #fff;
}

/* ============================================================
   ABOUT SECTION (homepage strip)
   ============================================================ */
.xt-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.xt-about-visual { position: relative; }
.xt-about-visual img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 1.25rem 3.75rem rgba(0,0,0,.6);
}
.xt-about-badge {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black); width: 6.875rem; height: 6.875rem;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-weight: 700;
  box-shadow: 0 0.5rem 1.875rem rgba(201,168,76,.4);
}
.xt-about-badge .big { font-size: 2rem; line-height: 1; }
.xt-about-badge .sml { font-size: 0.8rem; letter-spacing: 0.0625rem; text-align: center; }
.xt-about-content .tag {
  font-size: 0.6875rem; letter-spacing: 0.25rem; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.625rem;
}
.xt-about-content h2 {
  font-size: 2rem; color: var(--white); margin-bottom: 1.125rem;
}
.xt-about-content .line { width: 2.5rem; height: 0.125rem; background: var(--gold); margin-bottom: 1.25rem; }
.xt-about-content p {
  color: #fff; line-height: 1.8; margin-bottom: 0.875rem; font-size: 1.2rem;
}
.xt-about-certs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.xt-about-cert {
  padding: 0.25rem 0.75rem; border: 0.0625rem solid var(--border);
  font-size: 0.9rem; color: var(--gold); border-radius: 0.125rem;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.xt-products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.xt-products-grid.show-prods { grid-template-columns: repeat(4, 1fr); }
.xt-product-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--black3);
  border: 0.0625rem solid var(--border);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.xt-product-card:hover { transform: translateY(-0.375rem); box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,.6); }
.xt-product-card .card-img { aspect-ratio: 4/4; overflow: hidden; }
.xt-product-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.xt-product-card:hover .card-img img { transform: scale(1.08); }
.xt-product-card .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.25rem;
}
.xt-product-card:hover .card-overlay { opacity: 1; }
.xt-product-card .card-overlay a {
  padding: 0.5625rem 1.375rem; background: var(--gold); color: var(--black);
  font-size: 0.75rem; font-weight: 700; border-radius: 0.125rem;
  letter-spacing: 0.0625rem; text-transform: uppercase;
}
.xt-product-card .card-info { padding: 0.875rem 1rem; }
.xt-product-card .card-info h3 {
  font-size: 0.875rem; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.xt-product-card .card-info .cat { font-size: 0.75rem; color: var(--gold); margin-top: 0.25rem; }

/* Category filter tabs */
.xt-cat-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.xt-cat-tab {
  padding: 0.5rem 1.125rem;
  font-size: 0.95rem; letter-spacing: 0.0625rem; text-transform: uppercase; font-weight: 500;
  border: 0.0625rem solid rgb(255 225 140 / 34%); color: #ffffff;
  border-radius: 0.125rem; cursor: pointer; transition: .2s; background: transparent;
}
.xt-cat-tab:hover, .xt-cat-tab.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }

/* Product filter animation */
.xt-product-card { transition: transform .3s, box-shadow .3s, opacity .35s ease, filter .35s ease; }
.xt-products-grid.filtering .xt-product-card {
  opacity: 0;
  transform: scale(.9) translateY(0.625rem);
  filter: blur(0.25rem);
  pointer-events: none;
}

/* ============================================================
   SERVICES (Custom / OEM)
   ============================================================ */
.xt-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.xt-service-card {
  padding: 2rem 1.5rem; text-align: center;
  background: var(--black3); border: 0.0625rem solid var(--border); border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.xt-service-card:hover { border-color: var(--gold); transform: translateY(-0.25rem); }
.xt-service-card .icon {
  width: 3.75rem; height: 3.75rem; margin: 0 auto 1.125rem;
  background: rgba(201,168,76,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem; color: var(--gold);
}
.xt-service-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.625rem; }
.xt-service-card p { font-size: 0.95rem; color: #ffffffd4; line-height: 1.7; }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.xt-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.xt-adv-card {
  display: flex; gap: 1.125rem; padding: 1.75rem 1.5rem;
  background: var(--black3); border: 0.0625rem solid var(--border); border-radius: var(--radius);
  transition: border-color .3s;
}
.xt-adv-card:hover { border-color: var(--gold); }
.xt-adv-card .adv-num {
  font-size: 2.25rem; font-weight: 900; color: rgba(201,168,76,.2); line-height: 1; flex-shrink: 0;
}
.xt-adv-card h3 { font-size: 0.9375rem; color: var(--white); margin-bottom: 0.375rem; }
.xt-adv-card p { font-size: 0.8125rem; color: var(--gray); line-height: 1.6; }

/* ============================================================
   TEAM / FULL-SERVICE BLOCK
   ============================================================ */
.xt-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.75rem; align-items: center; }
.xt-team-content .tag {
  font-size: 0.6875rem; letter-spacing: 0.25rem; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.625rem;
}
.xt-team-content h2 { font-size: 2rem; color: var(--white); margin-bottom: 1rem; }
.xt-team-content .line { width: 2.5rem; height: 0.125rem; background: var(--gold); margin-bottom: 1.25rem; }
.xt-team-img {
  width: 100%; border-radius: 0.5rem; border: 0.125rem solid rgba(255,255,255,.25);
  margin-bottom: 1.25rem;
}
.xt-team-content p { color: var(--gray-light); line-height: 1.8; margin-bottom: 1rem; }
.xt-team-list { display: flex; flex-direction: column; gap: 0.875rem; }
.xt-team-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 2rem; background: var(--black3); border-radius: var(--radius);
  border: 0.0625rem solid var(--border);
}
.xt-team-item .ico {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0; background: rgba(201,168,76,.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--gold);
}
.xt-team-item h4 { font-size: 1.2rem; color: var(--white); }
.xt-team-item p { font-size: 0.9rem; color: #d6d6d6; margin-top: 0.125rem; }

/* ============================================================
   NEWS
   ============================================================ */
.xt-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.xt-news-card {
  background: var(--black3); border: 0.0625rem solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.xt-news-card:hover { transform: translateY(-0.25rem); box-shadow: 0 1rem 2.5rem rgba(0,0,0,.5); }
.xt-news-card .news-img { aspect-ratio: 16/9; overflow: hidden; }
.xt-news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.xt-news-card:hover .news-img img { transform: scale(1.06); }
.xt-news-card .news-body { padding: 1.25rem 1.375rem; }
.xt-news-card .date { font-size: 0.75rem; color: var(--gold); margin-bottom: 0.5rem; }
.xt-news-card h3 { font-size: 0.9375rem; color: var(--white); line-height: 1.4; margin-bottom: 0.625rem; }
.xt-news-card h3 a { color: var(--white); }
.xt-news-card h3 a:hover { color: var(--gold); }
.xt-news-card p { font-size: 0.8125rem; color: var(--gray); line-height: 1.6; }
.xt-news-card .read-more {
  display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.875rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.0625rem;
  color: var(--gold); text-transform: uppercase;
}
.xt-news-card .read-more::after { content: '\2192'; transition: transform .2s; }
.xt-news-card:hover .read-more::after { transform: translateX(0.25rem); }

/* ============================================================
   FLOATING SIDE BUTTONS
   ============================================================ */
.xt-float-btns {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 9000; display: flex; flex-direction: column; gap: 0.1625rem;
  align-items: flex-end; /* 关键：子元素右对齐，互不影响 */
}
.xt-float-btn {
  display: flex; align-items: center; gap: 0.8125rem;
  width: 3.575rem; overflow: hidden; white-space: nowrap;
  padding: 0 0.975rem; height: 3.9rem;
  background: rgba(20,20,20,.92); border: 0.0625rem solid var(--border);
  border-right: none; border-radius: 0.325rem 0 0 0.325rem;
  color: var(--gold); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: width .3s ease, background .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.xt-float-btn:hover {
  width: 14.625rem; background: rgb(9 9 9 / 64%); color: var(--gold);
}
.xt-float-btn .fbt-ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1.625rem; height: 1.625rem; transition: transform .25s ease; }
.xt-float-btn:hover .fbt-ico { transform: scale(1.12); }
.xt-float-btn .fbt-text {
  font-size: 1rem; opacity: 0; transition: opacity .2s .1s; white-space: nowrap;
}
.xt-float-btn:hover .fbt-text { opacity: 1; }

/* Message modal */
.xt-msg-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.75); backdrop-filter: blur(0.25rem);
}
.xt-msg-overlay.open { display: flex; align-items: center; justify-content: center; }
.xt-msg-modal {
  background: var(--black2); border: 0.0625rem solid var(--border);
  border-radius: 0.5rem; padding: 2.5rem 2.75rem;
  width: 90%; max-width: 32.5rem; position: relative;  /* 520px */
}
.xt-msg-modal .modal-close {
  position: absolute; top: 0.875rem; right: 1.125rem;
  font-size: 1.5rem; color: var(--gray); cursor: pointer; background: none; border: none;
}
.xt-msg-modal .modal-close:hover { color: var(--gold); }
.xt-msg-modal h2 { font-size: 1.375rem; color: var(--white); margin-bottom: 1.5rem; }
.xt-msg-modal h2 span { color: var(--gold); }
.xt-form-group { margin-bottom: 1rem; }
.xt-form-group label {
  display: block; font-size: 0.75rem; color: var(--gray);
  margin-bottom: 0.375rem; letter-spacing: 0.0625rem; text-transform: uppercase;
}
.xt-form-control {
  width: 100%; padding: 0.6875rem 0.875rem;
  background: rgba(255,255,255,.04); border: 0.0625rem solid var(--border);
  color: var(--white); font-size: 0.875rem; border-radius: var(--radius);
  transition: border-color .2s; outline: none;
}
.xt-form-control:focus { border-color: var(--gold); }
.xt-form-control::placeholder { color: var(--gray); }
textarea.xt-form-control { resize: vertical; min-height: 6.25rem; }
.xt-btn-submit {
  width: 100%; padding: 0.8125rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.125rem;
  text-transform: uppercase; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black); border: none; border-radius: var(--radius);
  cursor: pointer; transition: opacity .2s, transform .2s;
  margin-top: 0.5rem;
}
.xt-btn-submit:hover { opacity: .9; transform: translateY(-0.0625rem); }

/* ============================================================
   FOOTER
   ============================================================ */
#xt-footer {
  background: var(--black2);
  border-top: 0.0625rem solid var(--border);
  padding: 2.4rem 0 0;               /* 60px */
}
.xt-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem; padding-bottom: 3rem;   /* 48px */
}
.xt-footer-brand .f-logo-text {
  font-size: 1.7rem; font-weight: 800; color: var(--white); letter-spacing: 0.125rem;
}
.xt-footer-brand .f-logo-sub {
  font-size: 0.8rem; color: var(--gold); letter-spacing: 0.25rem;
  text-transform: uppercase; margin-bottom: 1rem;
}
.xt-footer-brand p { font-size: 0.9rem; color: #c7c7c7; line-height: 1.8; margin-bottom: 1.125rem; }
.xt-footer-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.xt-footer-contacts .fc-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 1rem; color: #fff; text-decoration: none;
  transition: color .2s;
}
.xt-footer-contacts .fc-item:hover { color: var(--gold); }
.xt-footer-contacts .fc-item .ico { color: var(--gold); flex-shrink: 0; margin-top: 0.125rem; }
/* Footer contact office cards */
.xt-fcontact-card {
  padding: 0.875rem 1rem; background: rgba(255,255,255,0.03);
  border: 0.0625rem solid var(--border); border-radius: var(--radius);
}
.xt-fcontact-card h4 {
  font-size: 0.95rem; color: var(--gold); margin-bottom: 0.5rem; font-weight: 700;
}
.xt-fcontact-card p {
  font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; margin: 0;
}
.xt-fcontact-card p strong { color: var(--white); }
.xt-fcontact-card a { color: var(--gold); transition: color .2s; }
.xt-fcontact-card a:hover { color: var(--white); }
.xt-fcontact-card svg { vertical-align: -3px; margin-right: 2px; display: inline; }

.xt-footer-col h4 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.125rem; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.25rem; padding-bottom: 0.625rem;
  border-bottom: 0.0625rem solid var(--border);
}
.xt-footer-col ul li { margin-bottom: 0.5rem; }
.xt-footer-col ul li a { font-size: 1rem; color: #e6e6e6; transition: color .2s; }
.xt-footer-col ul li a:hover { color: var(--gold); }
.xt-footer-social { display: flex; gap: 0.5rem; margin-top: 1.125rem; }
.xt-footer-social a {
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border: 0.0625rem solid var(--border); border-radius: 50%; color: var(--gray);
  transition: all .25s; text-decoration: none;
}
.xt-footer-social a svg { display: block; }
.xt-footer-social a:hover { border-color: #1877F2; color: #1877F2; background: rgba(24,119,242,.1); transform: translateY(-2px); }
.xt-footer-bottom {
  border-top: 0.0625rem solid var(--border); padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.625rem;
}
.xt-footer-bottom p { font-size: 0.75rem; color: var(--gray); }
.xt-footer-bottom a { color: var(--gray); }
.xt-footer-bottom a:hover { color: var(--gold); }

/* Footer message form */
.xt-footer-msg-form {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.xt-footer-input {
  width: 100%; box-sizing: border-box;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem; color: var(--white);
  background: rgba(255,255,255,.05);
  border: 0.0625rem solid var(--border);
  border-radius: 0.1875rem;
  transition: border-color .2s;
  font-family: inherit;
  resize: vertical;
}
.xt-footer-input::placeholder { color: var(--gray); }
.xt-footer-input:focus { border-color: var(--gold); outline: none; }
.xt-footer-input[type="text"], .xt-footer-input[type="tel"] { height: 2.25rem; }
.xt-footer-msg-btn {
  padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black); border: none; border-radius: 0.1875rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  margin-top: 0.25rem;
}
.xt-footer-msg-btn:hover {
  transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.5rem rgba(201,168,76,.35);
}

/* ============================================================
   INNER PAGE COMMONS
   ============================================================ */
.xt-page-banner {
  height: 14vw;                      /* 自适应高度 */
  max-height: 16.25rem; min-height: 10rem;
  display: flex; align-items: center;
  background: url(../images/shape04.jpg) center center / cover no-repeat;
  border-bottom: 0.0625rem solid var(--border);
  position: relative; overflow: hidden;
}
.xt-page-banner::before {
  content: ''; position: absolute; inset: 0;
}
.xt-page-banner .banner-inner { position: relative; z-index: 1; }
.xt-page-banner .page-tag {
  font-size: 0.6875rem; letter-spacing: 0.25rem; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.5rem;
}
.xt-page-banner h1 {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  color: var(--white);
}
.xt-page-banner .banner-heading {
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  color: var(--white);
  margin: 0; font-weight: 700;
}
.xt-breadcrumb {
  display: flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem;
  font-size: 0.8125rem; color: var(--gray);
}
.xt-breadcrumb a { color: var(--gray); }
.xt-breadcrumb a:hover { color: var(--gold); }
.xt-breadcrumb span { color: var(--gold); }

/* Product intro strip — below banner */
.xt-product-intro-strip {
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  text-align: center;
}
.xt-product-intro-strip .strip-text {
  font-size: 1.1rem;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}
.xt-product-intro-strip .strip-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.xt-product-intro-strip .strip-text a:hover {
  color: #fff;
}

/* Inner page content */
.xt-inner-content { padding: 4rem 0; }              /* 64px */
.xt-inner-content h2 { font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.xt-inner-content p { color: var(--gray-light); line-height: 1.8; margin-bottom: 0.875rem; }

/* About page */
.xt-about-page-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.75rem; align-items: start; }
.xt-about-page-img { border-radius: var(--radius); overflow: hidden; }
.xt-about-page-img img { width: 100%; }
.xt-cert-list { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.25rem; }
.xt-cert-tag {
  padding: 0.375rem 0.875rem; border: 0.0625rem solid var(--border);
  font-size: 0.75rem; color: var(--gold); border-radius: 0.125rem;
}

/* Workshop Gallery */
.xt-workshop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem;
  margin-top: 0.75rem;
}
.xt-workshop-item {
  border-radius: 0.375rem; overflow: hidden; aspect-ratio: 4/3;
}
.xt-workshop-item img { width: 100%; height: 100%; object-fit: cover; }

/* Product list page */
.xt-product-list-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.75rem;
}
.xt-product-list-header h2 { font-size: 1.25rem; color: var(--white); }
.xt-product-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* News list page */
.xt-news-list { display: flex; flex-direction: column; }
.xt-news-row {
  display: grid; grid-template-columns: 16.25rem 1fr;  /* 260px → rem */
  gap: 1.75rem; padding: 1.75rem 0;
  border-bottom: 0.0625rem solid var(--border);
  transition: background .2s;
}
.xt-news-row:hover { background: rgba(255,255,255,.02); }
.xt-news-row .nr-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.xt-news-row .nr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.xt-news-row:hover .nr-img img { transform: scale(1.05); }
.xt-news-row .nr-body { display: flex; flex-direction: column; justify-content: center; }
.xt-news-row .nr-body .date { font-size: 0.75rem; color: var(--gold); margin-bottom: 0.5rem; }
.xt-news-row .nr-body h3 { font-size: 1.125rem; color: var(--white); margin-bottom: 0.625rem; }
.xt-news-row .nr-body h3 a { color: var(--white); }
.xt-news-row .nr-body h3 a:hover { color: var(--gold); }
.xt-news-row .nr-body p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }

/* Advantages page */
.xt-adv-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.xt-adv-page-card {
  padding: 2rem 1.75rem; background: var(--black3);
  border: 0.0625rem solid var(--border); border-radius: var(--radius);
  transition: border-color .3s;
}
.xt-adv-page-card:hover { border-color: var(--gold); }
.xt-adv-page-card .adv-icon { font-size: 2.25rem; color: var(--gold); margin-bottom: 1rem; }
.xt-adv-page-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.625rem; }
.xt-adv-page-card p { font-size: 0.8125rem; color: var(--gray); line-height: 1.7; }

/* Contact / Message form */
.xt-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.75rem; }
.xt-contact-info h2 { font-size: 1.625rem; color: var(--white); margin-bottom: 1.5rem; }
.xt-contact-info .line { width: 2.5rem; height: 0.125rem; background: var(--gold); margin-bottom: 1.5rem; }
.xt-contact-offices { display: flex; flex-direction: column; gap: 1.25rem; }
.xt-contact-office {
  padding: 1.25rem; background: var(--black3);
  border: 0.0625rem solid var(--border); border-radius: var(--radius);
}
.xt-contact-office h4 { font-size: 1.4rem; color: var(--gold); margin-bottom: 0.625rem; font-weight: 700; }
.xt-contact-office p { font-size: 1.1rem; color: var(--gray-light); line-height: 1.8; }
.xt-contact-form-wrap {
  background: var(--black3); padding: 2.25rem; border-radius: var(--radius);
  border: 0.0625rem solid var(--border);
}
.xt-contact-form-wrap h2 { font-size: 1.375rem; color: var(--white); margin-bottom: 1.5rem; }

/* Pagination */
.xt-pagination { display: flex; justify-content: center; gap: 0.375rem; margin-top: 3rem; }
.xt-pagination a, .xt-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.375rem; height: 2.375rem;
  font-size: 0.8125rem; border: 0.0625rem solid var(--border);
  border-radius: var(--radius); color: var(--gray); transition: .2s;
}
.xt-pagination a:hover, .xt-pagination .current {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.1);
}

/* Article detail */
.xt-article-wrap { margin: 0 auto; }  /* 820px */
.xt-article-header {
  margin-bottom: 1.875rem; padding-bottom: 1.5rem;
  border-bottom: 0.0625rem solid var(--border);
}
.xt-article-header h1 { font-size: 1.625rem; color: var(--white); margin-bottom: 0.75rem; }
.xt-article-meta {
  font-size: 0.8125rem; color: var(--gray); display: flex; gap: 1.25rem;
}
.xt-article-meta span { color: var(--gold); }
.xt-article-body { color: var(--text); line-height: 1.9; font-size: 1rem; }
.xt-article-body img { max-width: 100%; margin: 1.25rem auto; border-radius: var(--radius); }
.xt-article-body h2,h3 { color: var(--white); margin: 1.5rem 0 0.625rem; }
.xt-article-body p { margin-bottom: 0.875rem; }

/* Product detail */
.xt-product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.75rem; align-items: start; }
.xt-product-detail-img { border-radius: var(--radius); overflow: hidden; }
.xt-product-detail-img img { width: 100%; }

/* Product detail right panel */
.xt-product-detail-info .prod-title {
  font-size: 2.4rem; color: var(--white); text-align: center;
  margin-bottom: 1.25rem; font-weight: 700; line-height: 1.3;
}
.prod-contacts {
  display: flex; flex-direction: row; justify-content: space-between; gap: 0.625rem;
  margin-bottom: 1.5rem; padding-bottom: 1.25rem;
  border-bottom: 0.0625rem solid var(--border);
}
.prod-contact-item {
  display: flex; align-items: center; gap: 0.625rem;
  color: var(--gray-light); font-size: 1.2rem;
  text-decoration: none; transition: color .2s;
}	
.prod-contact-item:hover { color: var(--gold); }
.prod-contact-ico { display: flex; align-items: center; flex-shrink: 0; }
.prod-specs {
  list-style: none; padding: 0; margin: 0 0 1.5rem 0;
}
.prod-specs li {
  padding: 0.8rem 0; font-size: 1rem;
  color: var(--gray-light); line-height: 1.6;
  border-bottom: 0.0625rem solid rgba(255,255,255,.05);
}
.prod-specs li:last-child { border-bottom: none; }
.prod-specs .spec-label {
  color: var(--gold); font-weight: 600; margin-right: 0.25rem;
}
.prod-contact-btn {
  display: inline-block; width: 100%; text-align: center;
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black); border-radius: 0.1875rem; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.prod-contact-btn:hover {
  transform: translateY(-0.125rem); box-shadow: 0 0.5rem 1.5rem rgba(201,168,76,.35);
}

/* Product Prev/Next Navigation */
.xt-prod-nav {
  background: rgba(0,0,0,.25);
  border-top: 0.0625rem solid var(--border);
  border-bottom: 0.0625rem solid var(--border);
}
.xt-prod-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; gap: 1.5rem;
}
.xt-prod-nav-btn {
  display: flex; align-items: center; gap: 0.875rem;
  text-decoration: none; color: var(--gray-light);
  transition: color .25s; flex: 1; max-width: 35%;
}
.xt-prod-nav-btn:hover { color: var(--gold); }
.xt-prod-nav-btn.next { justify-content: flex-end; text-align: right; }
.xt-prod-nav-btn.disabled { opacity: .25; pointer-events: none; }
.xt-prod-nav-btn .nav-arrow {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0.0625rem solid var(--border); transition: border-color .25s, background .25s;
}
.xt-prod-nav-btn:hover .nav-arrow {
  border-color: var(--gold); background: rgba(201,168,76,.08);
}
.xt-prod-nav-btn .nav-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.xt-prod-nav-btn .nav-label {
  font-size: 0.6875rem; letter-spacing: 0.1875rem; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.xt-prod-nav-btn .nav-title {
  font-size: 0.95rem; color: inherit; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.xt-prod-nav-back {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gray-light); font-size: 0.875rem; text-decoration: none;
  white-space: nowrap; transition: color .25s; flex-shrink: 0;
}
.xt-prod-nav-back:hover { color: var(--gold); }
@media (max-width: 768px) {
  .xt-prod-nav-btn .nav-title { display: none; }
  .xt-prod-nav-inner { gap: 0.75rem; }
  .xt-prod-nav-back span { display: none; }
}

/* Product Detail Gallery */
.xt-product-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-bottom:2rem; padding-top:2rem;
}
.xt-product-gallery-item {
  border-radius: var(--radius); overflow: hidden;
}
.xt-product-gallery-item img { width: 100%; display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity:0; transform:translateY(1.5rem); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-1.5rem); } to { opacity:1; transform:translateX(0); } }
.anim-up { opacity: 0; animation: fadeInUp .7s ease forwards; }
.anim-left { opacity: 0; animation: fadeInLeft .7s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ============================================================
   RESPONSIVE — 仅做布局切换，不做字号重置
   ============================================================ */

/* 平板: 缩小 grid 列数 */
@media (max-width: 1024px) {
  .xt-products-grid, .xt-product-list-grid { grid-template-columns: repeat(3, 1fr); }
  .xt-services-grid { grid-template-columns: repeat(2, 1fr); }
  .xt-footer-grid { grid-template-columns: 1fr 1fr; }
  .xt-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 手机横屏: 移动端导航 + 单列布局 */
@media (max-width: 768px) {
  body { padding-top: 3.75rem; }
  .xt-header-inner { height: 3.75rem; }
  .xt-hamburger { display: flex; }
  .xt-nav {
    position: absolute; top: 3.75rem; left: 0; width: 100%;
    background: var(--black2); border-top: 0.0625rem solid var(--border);
    flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height .35s;
  }
  .xt-nav.open { max-height: 37.5rem; }
  .xt-nav > ul { flex-direction: column; gap: 0; }
  .xt-nav > ul > li > a {
    border-radius: 0; padding: 0.8125rem 1.25rem;
    border-bottom: 0.0625rem solid var(--border);
  }
  .xt-nav .dropdown .drop-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; border: none; padding-left: 1.25rem;
  }
  .xt-hero { height: auto; min-height: 24rem; }
  .xt-about-grid, .xt-team-grid, .xt-about-page-grid,
  .xt-contact-grid, .xt-product-detail-grid { grid-template-columns: 1fr; }
  .xt-about-badge { display: none; }
  .xt-products-grid, .xt-product-list-grid { grid-template-columns: repeat(2, 1fr); }
  .xt-news-grid { grid-template-columns: 1fr; }
  .xt-news-row { grid-template-columns: 1fr; }
  .xt-adv-grid, .xt-adv-page-grid { grid-template-columns: 1fr 1fr; }
  .xt-footer-grid { grid-template-columns: 1fr; }
  .xt-services-grid { grid-template-columns: 1fr 1fr; }
  .xt-workshop-grid { grid-template-columns: repeat(2, 1fr); }
  .xt-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .xt-product-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* 手机竖屏 */
@media (max-width: 480px) {
  .xt-products-grid, .xt-product-list-grid { grid-template-columns: 1fr 1fr; }
  .xt-adv-grid, .xt-adv-page-grid { grid-template-columns: 1fr; }
  .xt-services-grid { grid-template-columns: 1fr; }
  .xt-float-btn:not(:last-child) { display: none; }
}

/* ============================================================
   CERTIFICATE IMAGE MODAL
   ============================================================ */
.xt-cert-link { cursor: pointer; transition: opacity 0.2s; }
.xt-cert-link:hover { opacity: 0.75; }

.xt-cert-modal {
  position: fixed; top: 0; left: 0; z-index: 99999;
  width: 100vw; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.xt-cert-modal-overlay {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.88);
}
.xt-cert-modal-box {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 88vh;
  background: var(--black, #0a0a0a);
  border: 0.0625rem solid var(--gold, #c5a572);
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center;
}
.xt-cert-modal-close {
  position: absolute; top: 0.25rem; right: 0.75rem;
  font-size: 2rem; color: var(--gold, #c5a572);
  cursor: pointer; line-height: 1; z-index: 2;
  transition: color 0.2s;
}
.xt-cert-modal-close:hover { color: #fff; }
.xt-cert-modal-title {
  color: var(--gold, #c5a572);
  font-size: 1.25rem; font-weight: 700;
  margin: 0 0 1rem; text-align: center;
}
.xt-cert-modal-img {
  max-width: 100%; max-height: 72vh;
  object-fit: contain; border-radius: 0.25rem;
}
