:root {
  --blue-900: #123b6d;
  --blue-950: #0e2d57;
  --orange-500: #ff7a00;
  --bg-soft: #f5f7fb;
  --text-main: #183153;
  --text-muted: #607086;
  --card-shadow: 0 10px 30px rgba(18, 59, 109, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --site-font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --phone-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79c1.44 2.83 3.76 5.15 6.59 6.59l2.2-2.2c.31-.31.76-.41 1.17-.28 1.29.43 2.68.66 4.12.66.72 0 1.3.58 1.3 1.3v3.49c0 .72-.58 1.3-1.3 1.3C10.4 21.65 2.35 13.6 2.35 3.3 2.35 2.58 2.93 2 3.65 2h3.5c.72 0 1.3.58 1.3 1.3 0 1.44.23 2.83.66 4.12.13.41.03.86-.28 1.17l-2.21 2.2z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--site-font);
  color: var(--text-main);
  background: #fff;
}
body, button, input, textarea, select {
  font-family: var(--site-font) !important;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header,
.site-footer {
  background: linear-gradient(180deg, var(--blue-900), var(--blue-950));
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--card-shadow);
}

.site-header__inner,
.site-footer__inner,
.site-footer__bottom,
.hero,
.metrics,
.services,
.why-us,
.workflow,
.cases-preview,
.contact,
.page-shell,
.archive-shell__header {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

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

.site-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.site-brand__mark {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-radius: 999px;
}

.site-nav__list { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.site-nav__list a { color: rgba(255,255,255,.88); font-size: 14px; }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list a:hover { color: var(--orange-500); }

.site-header__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
}
.site-header__cta,
.btn--accent {
  background: var(--orange-500);
  color: #fff;
}
.btn--ghost {
  border: 1px solid rgba(18,59,109,.2);
  color: var(--blue-900);
  background: #fff;
}

.hero {
  padding: 30px 0 0;
}

.hero--slider { min-height: 520px; }
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 0;
  background: #dcebf9;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,45,87,.72), rgba(14,45,87,.24) 52%, rgba(14,45,87,.08));
}
.hero-slide__copy {
  position: absolute;
  left: max(40px, 8vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 560px;
  color: #fff;
}
.hero-slide__copy h1,
.hero-slide__copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}
.hero-slide__copy p {
  margin: 0;
  font-size: 20px;
  color: rgba(255,255,255,.9);
}
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-slider__dots button {
  width: 24px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.hero-slider__dots button.is-active { background: var(--orange-500); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-head h2,
.page-content__header h1,
.article-shell__header h1,
.archive-shell__header h1,
.case-detail__header h1 {
  margin: 0;
  color: var(--blue-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__copy h1 { font-size: clamp(44px, 6vw, 72px); }
.eyebrow { color: var(--orange-500); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__subtitle,
.section-head p,
.archive-shell__header p,
.page-content__body,
.article-shell__body,
.case-detail__content { color: var(--text-muted); }

.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.metrics,
.services,
.why-us,
.workflow,
.cases-preview,
.contact,
.page-shell {
  padding: 64px 0;
}

.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }

.metrics__grid,
.cards,
.timeline,
.contact__grid,
.why-us__grid,
.archive-shell__grid {
  display: grid;
  gap: 18px;
}

.cards--three { grid-template-columns: repeat(3, 1fr); }

.metrics__grid { grid-template-columns: repeat(4, 1fr); }
.metric-card {
  text-align: center;
  padding: 18px 12px;
}
.metric-card strong {
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--blue-900);
}
.metric-card span { color: var(--text-muted); font-size: 14px; }

.cards--four { grid-template-columns: repeat(4, 1fr); }
.image-card,
.case-card,
.card,
.page-content,
.article-shell,
.case-detail,
.why-us__visual,
.timeline article,
.contact__grid > div {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.image-card { overflow: hidden; }
.image-card__media { height: 220px; background: #eef3f8; position: relative; }
.image-card__media img { width: 100%; height: 100%; object-fit: cover; }
.image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 31, 60, 0.1), rgba(9, 31, 60, 0.55));
}
.image-card h3 {
  margin: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(18,59,109,.78), rgba(18,59,109,.95));
  position: relative;
  z-index: 1;
  margin-top: -66px;
}

.why-us__grid { grid-template-columns: 1fr 1fr; align-items: center; }
.section-head--left { text-align: left; }
.why-us__list { margin: 0; padding-left: 24px; display: grid; gap: 18px; }
.why-us__list li strong { display: block; margin-bottom: 4px; color: var(--blue-900); }
.why-us__visual img { border-radius: var(--radius-lg); }

.timeline { grid-template-columns: repeat(4, 1fr); }
.timeline article { padding: 24px; }
.timeline strong { display: block; color: var(--blue-900); margin-bottom: 8px; }

.timeline--page article { min-height: 170px; }

.info-card,
.mission-card,
.development__list > div,
.certs,
.service-pledge {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.info-card {
  padding: 24px;
  text-align: center;
}
.info-card__icon {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  margin: 0 auto 16px;
  background: var(--blue-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
}

.certs,
.service-pledge,
.mission-card {
  padding: 24px;
}

.certs__list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.certs__list span {
  border: 1px solid rgba(18,59,109,.18);
  padding: 12px 16px;
  border-radius: 10px;
}

.mission-grid,
.about-images,
.development__list {
  display: grid;
  gap: 18px;
}
.mission-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 24px; }
.about-images { grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.about-images img { border-radius: var(--radius-lg); box-shadow: var(--card-shadow); height: 260px; object-fit: cover; width: 100%; }
.development__list { grid-template-columns: repeat(2, 1fr); }
.development__list > div { padding: 20px; }
.development__list strong { display: block; color: var(--blue-900); margin-bottom: 8px; }

.cases-preview__grid,
.archive-shell__grid--cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { overflow: hidden; }
.case-card__media { height: 200px; background: var(--bg-soft); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body,
.card__body { padding: 18px; }
.case-card__body h3,
.card__body h2 { margin-top: 0; color: var(--blue-900); }
.case-card__meta {
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
}

.contact__grid { grid-template-columns: 1.1fr .9fr; }
.contact__grid > div,
.contact__qr { padding: 24px; }
.contact__qr { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.contact__panel {
  padding: 32px;
  background: linear-gradient(180deg, #f6f9fd, #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}
.contact__panel h3 {
  margin-top: 0;
  color: var(--blue-900);
}

.page-shell,
.archive-shell__header,
.page-content,
.article-shell,
.case-detail {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-content__header,
.article-shell__header,
.case-detail__header {
  text-align: center;
  margin-bottom: 28px;
}

.page-content__header h1,
.article-shell__header h1,
.case-detail__header h1,
.archive-shell__header h1 { font-size: clamp(36px, 4.4vw, 60px); }

.archive-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0 34px;
}
.archive-filters__item {
  padding: 10px 18px;
  border-radius: 999px;
  background: #f0f4fa;
  color: var(--text-main);
}
.archive-filters__item.is-active { background: var(--blue-900); color: #fff; }

.site-footer { margin-top: 70px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .9fr;
  gap: 28px;
  padding: 48px 0 36px;
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.site-footer__bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  opacity: .85;
}
.site-footer__qr { display: flex; gap: 12px; }
.site-footer__qr img { width: 88px; height: 88px; object-fit: cover; background: #fff; border-radius: 10px; padding: 4px; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 12px;
  z-index: 80;
}
.floating-actions__item {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--card-shadow);
}
.floating-actions__item--phone { background: var(--blue-900); }
.floating-actions__item--chat { background: var(--orange-500); }
.floating-actions__item--top { background: #173b66; }

@media (max-width: 1024px) {
  .hero,
  .why-us__grid,
  .contact__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .metrics__grid,
  .cards--four,
  .cards--three,
  .timeline,
  .cases-preview__grid,
  .archive-shell__grid--cases,
  .mission-grid,
  .about-images,
  .development__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-nav { display: none; }
}

@media (max-width: 720px) {
  .hero,
  .metrics,
  .services,
  .why-us,
  .workflow,
  .cases-preview,
  .contact,
  .page-shell {
    width: min(100% - 20px, 100%);
  }
  .hero { min-height: auto; }
  .hero-slider,
  .hero-slide img { min-height: 420px; }
  .hero-slide__copy { left: 22px; right: 22px; }
  .metrics__grid,
  .cards--four,
  .cards--three,
  .timeline,
  .cases-preview__grid,
  .archive-shell__grid--cases,
  .mission-grid,
  .about-images,
  .development__list {
    grid-template-columns: 1fr;
  }
  .site-header__inner { gap: 12px; }
}

/* Exact-style local preview for matching the current xuantiansan.com homepage. */
.clone-site { margin: 0; color: #1f2937; background: #fff; font-family: var(--site-font); }
.clone-container { width: min(1536px, calc(100% - 32px)); margin: 0 auto; }
.clone-header { height: 100px; position: sticky; top: 0; z-index: 50; color: #fff; background: #0a2e5c; box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.clone-header__inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.clone-brand { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 28px; font-weight: 800; }
.clone-brand img { width: 48px; height: 48px; object-fit: contain; }
.clone-nav { display: flex; align-items: center; gap: 32px; }
.clone-nav a { color: #fff; font-size: 20px; transition: color .2s ease; }
.clone-nav a:hover, .clone-nav .is-active { color: #ff6b00; }
.clone-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: auto; height: auto; padding: 0; border-radius: 0; background: transparent; color: #ff6b00; font-size: 20px; font-weight: 800; }
.clone-phone__icon { width: 20px; height: 20px; flex: 0 0 20px; background: currentColor; -webkit-mask: var(--phone-icon-mask) center / contain no-repeat; mask: var(--phone-icon-mask) center / contain no-repeat; }
.clone-phone:hover { color: #fb923c; }
.clone-menu-toggle { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: #fff; }
.clone-menu-toggle span { display: block; width: 24px; height: 3px; margin: 4px auto; border-radius: 99px; background: currentColor; }
.clone-mobile-menu { position: absolute; left: 0; right: 0; top: 100px; background: #0a2e5c; border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 24px rgba(0,0,0,.18); }
.clone-mobile-menu__inner { display: grid; gap: 0; padding: 8px 0 16px; }
.clone-mobile-menu a { display: block; padding: 12px 0; color: #fff; font-size: 16px; }
.clone-mobile-menu a:hover { color: #ff6b00; }
.clone-mobile-menu__phone { color: #ff6b00 !important; font-weight: 700; }
.clone-hero { height: 750px; position: relative; overflow: hidden; }
.clone-hero__slide { position: absolute; inset: 0; opacity: 0; background-size: cover; background-position: center; transition: opacity .45s ease; }
.clone-hero__slide.is-active { opacity: 1; }
.clone-hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,46,92,.88), rgba(10,46,92,.34), rgba(10,46,92,.03)); }
.clone-hero__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.clone-hero h1, .clone-hero h2 { margin: 0 0 22px; color: #fff; font-size: clamp(54px, 4.4vw, 82px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; }
.clone-hero p { margin: 0; color: #f3f4f6; font-size: clamp(24px, 1.7vw, 32px); }
.clone-hero__dots { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; gap: 12px; z-index: 2; }
.clone-hero__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; }
.clone-hero__dots button.is-active { width: 32px; background: #ff6b00; }
.clone-stats { height: 220px; padding: 64px 0; background: #fff; }
.clone-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.clone-stats__grid div { text-align: center; }
.clone-stats strong { display: block; color: #0a2e5c; font-size: 60px; line-height: 1; font-weight: 800; }
.clone-stats strong span { font-size: 30px; vertical-align: top; }
.clone-stats p { margin: 12px 0 0; color: #4b5563; font-size: 16px; }
.clone-section { padding: 64px 0; background: #fff; }
.clone-section--soft { background: #f5f7fa; }
.clone-title { text-align: center; margin-bottom: 48px; }
.clone-title h2, .clone-why h2 { margin: 0 0 16px; color: #0a2e5c; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: 0; }
.clone-title p { margin: 0; color: #4b5563; }
.clone-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.clone-service-grid article { position: relative; height: 256px; overflow: hidden; border-radius: 8px; background-size: cover; background-position: center; cursor: pointer; }
.clone-service-grid article::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,46,92,.9), rgba(10,46,92,.5), transparent); }
.clone-service-grid article div { position: absolute; inset: auto 0 0; padding: 24px; color: #fff; }
.clone-service-grid h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.clone-service-grid p { margin: 0; color: #e5e7eb; font-size: 14px; }
.clone-center { margin-top: 32px; text-align: center; }
.clone-button, .clone-outline-button { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 32px; border-radius: 8px; border: 0; font-size: 16px; font-family: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease; }
.clone-button { background: #ff6b00; color: #fff; }
.clone-outline-button { border: 2px solid #0a2e5c; color: #0a2e5c; background: #fff; }
.clone-button:hover, .clone-outline-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10,46,92,.16); }
.clone-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.clone-why__list { display: grid; gap: 24px; }
.clone-why__list > div { display: flex; gap: 16px; }
.clone-why__list span { color: #ff6b00; font-size: 30px; line-height: 1; font-weight: 800; }
.clone-why__list h3 { margin: 0 0 8px; color: #0a2e5c; font-size: 18px; }
.clone-why__list p { margin: 0; color: #4b5563; font-size: 14px; }
.clone-why img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; box-shadow: 0 14px 28px rgba(0,0,0,.16); }
.clone-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.clone-process-grid article { padding: 24px; text-align: center; border-radius: 8px; background: #fff; box-shadow: 0 8px 18px rgba(10,46,92,.12); }
.clone-process-grid article div { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 999px; background: #0a2e5c; color: #fff; font-size: 24px; }
.clone-process-grid article div img { width: 34px; height: 34px; display: block; }
.clone-process-grid h3 { margin: 0 0 8px; color: #0a2e5c; font-size: 18px; }
.clone-process-grid p { margin: 0; color: #4b5563; font-size: 14px; }
.clone-case-space { min-height: 40px; }
.clone-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.clone-news-grid article { min-height: 228px; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px rgba(10,46,92,.10); border-top: 4px solid #ff6b00; transition: transform .2s ease, box-shadow .2s ease; }
.clone-news-grid article:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,46,92,.14); }
.clone-news-grid span { display: inline-flex; margin-bottom: 14px; padding: 5px 13px; border-radius: 999px; background: #e9eff5; color: #0a2e5c; font-size: 13px; font-weight: 800; }
.clone-news-grid h3 { margin: 0 0 12px; color: #0a2e5c; font-size: 20px; line-height: 1.35; }
.clone-news-grid p { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.8; }
.clone-news-grid time { display: block; margin-top: 18px; color: #94a3b8; font-size: 13px; font-weight: 700; }
.clone-footer { padding: 48px 0 24px; background: #0a2e5c; color: #fff; }
.clone-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.clone-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.clone-footer__brand img { width: 48px; height: 48px; }
.clone-footer h3, .clone-footer h4 { margin: 0 0 16px; color: #fff; }
.clone-footer p, .clone-footer a { display: block; margin: 0 0 8px; color: #d1d5db; font-size: 14px; line-height: 1.7; }
.clone-footer__contact p { display: flex; align-items: center; gap: 8px; }
.clone-footer__icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; color: #ff6b00; }
.clone-footer__icon--phone { background: currentColor; -webkit-mask: var(--phone-icon-mask) center / contain no-repeat; mask: var(--phone-icon-mask) center / contain no-repeat; }
.clone-footer__icon--mail::before { content: ""; position: absolute; left: 1px; top: 3px; width: 14px; height: 10px; border: 2px solid currentColor; border-radius: 2px; }
.clone-footer__icon--mail::after { content: ""; position: absolute; left: 4px; top: 3px; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transform-origin: center; }
.clone-footer__icon--location::before { content: ""; position: absolute; left: 4px; top: 1px; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.clone-footer__icon--location::after { content: ""; position: absolute; left: 7px; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.clone-footer__qr { display: flex; gap: 16px; }
.clone-footer__qr img { width: 96px; height: 96px; object-fit: contain; padding: 8px; border-radius: 8px; background: #fff; }
.clone-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #9ca3af; text-align: center; font-size: 14px; }
.clone-footer__bottom a { display: inline-flex; margin: 0; color: #d1d5db; line-height: 1.7; }
.clone-footer__bottom a:hover { color: #ff6b00; }
.clone-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; gap: 12px; }
.clone-float a, .clone-float button { width: 56px; height: 56px; border: 0; border-radius: 999px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.clone-float__icon { position: relative; display: block; width: 20px; height: 20px; color: currentColor; }
.clone-float__icon--phone { background: currentColor; -webkit-mask: var(--phone-icon-mask) center / contain no-repeat; mask: var(--phone-icon-mask) center / contain no-repeat; }
.clone-float__icon--chat::before { content: ""; position: absolute; left: 2px; top: 4px; width: 15px; height: 10px; border-radius: 10px; background: currentColor; }
.clone-float__icon--chat::after { content: ""; position: absolute; left: 11px; top: 12px; width: 6px; height: 6px; background: currentColor; clip-path: polygon(0 0, 100% 0, 0 100%); }
.clone-float__icon--top::before { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 13px; border-radius: 2px; background: currentColor; }
.clone-float__icon--top::after { content: ""; position: absolute; left: 5px; top: 4px; width: 8px; height: 8px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.clone-float a { background: #0a2e5c; }
.clone-float button { background: #ff6b00; }
.clone-float a:hover, .clone-float button:hover { transform: translateY(-2px); }
.clone-redirect-card { width: min(720px, calc(100% - 32px)); margin: 96px auto; padding: 48px; border-radius: 18px; background: linear-gradient(145deg, #fff, #f3f6fb); box-shadow: 0 20px 48px rgba(10,46,92,.12); text-align: center; }
.clone-redirect-card span { display: inline-flex; margin-bottom: 16px; padding: 6px 16px; border-radius: 999px; background: #e9eff5; color: #0a2e5c; font-size: 14px; font-weight: 800; }
.clone-redirect-card h1 { margin: 0 0 14px; color: #0a2e5c; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.clone-redirect-card p { margin: 0 auto 26px; max-width: 520px; color: #4b5563; line-height: 1.8; }
.clone-inquiry-modal[hidden] { display: none; }
.clone-inquiry-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(5,18,34,.64); backdrop-filter: blur(6px); }
.clone-inquiry-modal__panel { width: min(520px, 100%); padding: 32px; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.clone-inquiry-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.clone-inquiry-modal h2 { margin: 0 0 8px; color: #0a2e5c; font-size: 28px; line-height: 1.2; }
.clone-inquiry-modal p { margin: 0; color: #4b5563; line-height: 1.7; }
.clone-inquiry-modal__close { width: 36px; height: 36px; border: 0; border-radius: 999px; color: #0a2e5c; background: #f5f7fa; font-size: 24px; line-height: 1; cursor: pointer; }
.clone-inquiry-form { display: grid; gap: 16px; }
.clone-inquiry-form label { display: grid; gap: 8px; color: #0a2e5c; font-size: 15px; font-weight: 700; }
.clone-inquiry-form input, .clone-inquiry-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #d9e1ea; border-radius: 10px; padding: 13px 14px; color: #1f2937; font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.clone-inquiry-form textarea { min-height: 104px; resize: vertical; }
.clone-inquiry-form input:focus, .clone-inquiry-form textarea:focus { border-color: #0a2e5c; box-shadow: 0 0 0 4px rgba(10,46,92,.12); }
.clone-inquiry-form__error { min-height: 20px; color: #dc2626; font-size: 14px; }
.clone-inquiry-form__success { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 12px; background: #f5f7fa; color: #0a2e5c; }
.clone-inquiry-form__success[hidden] { display: none; }
.clone-inquiry-form__success img { width: 82px; height: 82px; object-fit: contain; padding: 6px; border-radius: 8px; background: #fff; }
@media (max-width: 900px) {
  .clone-nav { display: none; }
  .clone-menu-toggle { display: inline-block; }
  .clone-hero { height: 500px; }
  .clone-hero h1, .clone-hero h2 { font-size: 42px; }
  .clone-stats { height: auto; }
  .clone-stats__grid, .clone-service-grid, .clone-process-grid, .clone-news-grid, .clone-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clone-why { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .clone-stats__grid, .clone-service-grid, .clone-process-grid, .clone-news-grid, .clone-footer__grid { grid-template-columns: 1fr; }
  .clone-phone { display: none; }
  .clone-hero p { font-size: 20px; }
  .clone-redirect-card { margin: 48px auto; padding: 32px 20px; }
  .clone-float { right: 16px; bottom: 16px; }
  .clone-float a, .clone-float button { width: 48px; height: 48px; }
  .clone-inquiry-modal__panel { padding: 24px; }
  .clone-inquiry-form__success { grid-template-columns: 1fr; }
}

/* Route pages copied from the live xuantiansan.com page structure. */
.clone-subpage { background: #fff; }
.clone-page, .clone-cases-page { width: min(1216px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 64px; }
.clone-page__hero { text-align: center; margin: 0 0 56px; }
.clone-page__hero h1 { margin: 0 0 16px; color: #0a2e5c; font-size: clamp(44px, 4.8vw, 64px); line-height: 1.1; font-weight: 900; letter-spacing: -2px; }
.clone-page__hero p { margin: 0; color: #374151; font-size: 24px; }
.clone-page__section { margin: 0 0 64px; }
.clone-page__section h2 { margin: 0 0 28px; color: #0a2e5c; font-size: 36px; line-height: 1.2; font-weight: 900; }
.clone-copy p { margin: 0 0 24px; color: #1f2937; font-size: 20px; line-height: 1.9; }
.clone-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.clone-team-grid article, .clone-mission-grid article { padding: 32px; border-radius: 8px; background: #f5f7fa; }
.clone-team-grid article { min-height: 216px; text-align: center; }
.clone-team-grid article div { width: 80px; height: 80px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 999px; background: #0a2e5c; color: #fff; font-size: 32px; font-weight: 800; }
.clone-team-grid h3, .clone-mission-grid h3, .clone-fee-grid h3, .clone-faq h3 { margin: 0 0 14px; color: #0a2e5c; font-size: 24px; font-weight: 800; }
.clone-team-grid p, .clone-mission-grid p, .clone-fee-grid p, .clone-faq p { margin: 0; color: #1f2937; font-size: 18px; line-height: 1.8; }
.clone-cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.clone-cert-grid span { padding: 16px 12px; border: 2px solid rgba(10,46,92,.20); border-radius: 8px; color: #0a2e5c; text-align: center; font-size: 16px; background: #fff; }
.clone-pledge { text-align: center; }
.clone-pledge > div { width: min(768px, 100%); margin: 0 auto 32px; padding: 32px; border-radius: 8px; background: #f5f7fa; text-align: left; }
.clone-pledge p { margin: 0 0 18px; color: #1f2937; font-size: 18px; line-height: 1.9; }
.clone-process-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 64px; }
.clone-process-cards article { display: grid; grid-template-columns: 88px 1fr; gap: 16px; min-height: 234px; padding: 30px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; transition: box-shadow .2s ease; }
.clone-process-cards article:hover { box-shadow: 0 12px 26px rgba(10,46,92,.12); }
.clone-step-icon { position: relative; width: 80px; height: 80px; display: grid; place-items: center; border-radius: 999px; background: #0a2e5c; color: #fff; font-size: 34px; font-weight: 800; }
.clone-step-icon img { width: 42px; height: 42px; display: block; }
.clone-step-icon span { position: absolute; right: -8px; top: -8px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; background: #ff6b00; color: #fff; font-size: 14px; }
.clone-process-cards h3 { margin: 0 0 8px; color: #0a2e5c; font-size: 28px; font-weight: 900; }
.clone-process-cards p { margin: 0 0 24px; color: #374151; font-size: 18px; }
.clone-process-cards ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.clone-process-cards li { color: #1f2937; font-size: 16px; }
.clone-process-cards li::before { content: "✓"; margin-right: 10px; color: #ff6b00; font-weight: 900; }
.clone-fee-box { margin: 0 0 64px; padding: 40px; border-radius: 8px; background: #f5f7fa; }
.clone-fee-box h2 { margin: 0 0 32px; text-align: center; color: #0a2e5c; font-size: 32px; font-weight: 900; }
.clone-fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(896px, 100%); margin: 0 auto; }
.clone-fee-grid article { min-height: 180px; padding: 28px; border-radius: 8px; background: #fff; text-align: center; }
.clone-faq { text-align: center; }
.clone-faq article { width: min(768px, 100%); margin: 0 auto 16px; padding: 24px 30px; border: 1px solid #d1d5db; border-radius: 8px; text-align: left; }
.clone-faq .btn { margin-top: 28px; }
.clone-mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.clone-history { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.clone-history article { margin: 0 0 28px; }
.clone-history article h3 { margin: 0 0 10px; color: #0a2e5c; font-size: 20px; font-weight: 800; }
.clone-history article p { margin: 0; color: #1f2937; font-size: 17px; line-height: 1.7; }
.clone-history img { width: 100%; min-height: 389px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.clone-photo-grid { display: grid; gap: 24px; }
.clone-photo-grid--office { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clone-photo-grid--team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.clone-photo-grid img { width: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 22px rgba(0,0,0,.14); background: #f5f7fa; }
.clone-photo-grid--office img { height: 256px; }
.clone-photo-grid--team img { height: 320px; }
.clone-contact-box { padding: 40px; border-radius: 8px; background: #f5f7fa; text-align: center; }
.clone-contact-box > div { display: inline-block; width: min(420px, 100%); margin: 0 24px 28px; text-align: left; vertical-align: top; }
.clone-contact-box h3 { color: #0a2e5c; font-size: 22px; }
.clone-contact-box p { color: #1f2937; font-size: 17px; line-height: 1.8; }
.clone-contact-qr img { width: 128px; height: 128px; margin: 0 10px; padding: 8px; border-radius: 8px; background: #fff; object-fit: contain; }
.clone-empty-news { min-height: 220px; text-align: center; color: #6b7280; font-size: 18px; }
.clone-case-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: -14px 0 42px; }
.clone-case-filters a, .clone-case-filters span { padding: 11px 22px; border-radius: 999px; color: #0a2e5c; background: #f5f7fa; font-size: 18px; }
.clone-case-filters .is-active { background: #0a2e5c; color: #fff; }
.clone-case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.case-card { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.case-card a { display: block; color: inherit; }
.case-card__media { height: 240px; background: #f8fafc; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { padding: 22px; }
.case-card__body span, .case-card__body em { display: inline-flex; padding: 5px 14px; border-radius: 999px; background: #e9eff5; color: #0a2e5c; font-style: normal; font-size: 14px; }
.case-card__body h2 { margin: 18px 0 12px; color: #0a2e5c; font-size: 24px; line-height: 1.35; font-weight: 900; }
.case-card__body time { display: block; margin-bottom: 16px; color: #4b5563; font-size: 18px; }
.case-card__body p { margin: 0 0 18px; color: #374151; font-size: 16px; line-height: 1.65; }
.clone-case-detail { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 72px; }
.clone-case-detail__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e8eef6;
  color: #0a2e5c;
  font-size: 14px;
  font-weight: 700;
}
.clone-case-detail h1 { margin: 0 0 14px; color: #0a2e5c; text-align: left; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; font-weight: 900; }
.clone-case-detail__date { margin: 0 0 28px; color: #94a3b8; font-size: 14px; font-weight: 600; }
.clone-case-detail__cover { display: block; width: min(760px, 100%); margin: 0 auto 34px; }
.clone-case-detail__cover img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.clone-case-detail__content { color: #1f2937; font-size: 18px; line-height: 1.9; }
.clone-case-detail__content, .clone-case-detail__content * {
  font-family: var(--site-font) !important;
}
.clone-case-detail__content h2,
.clone-case-detail__content h3 { margin: 26px 0 12px; color: #0a2e5c; line-height: 1.35; }
.clone-case-detail__content p { margin: 0 0 20px; }
.case-detail__content img,
.clone-case-detail__content img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 10px; box-shadow: 0 14px 28px rgba(10,46,92,.12); }
.case-detail__hero img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 14px 28px rgba(10,46,92,.12); }
.case-detail__content figure,
.clone-case-detail__content figure { margin: 28px 0; }
.case-detail__content figcaption,
.clone-case-detail__content figcaption { margin-top: 10px; color: #6b7280; text-align: center; font-size: 14px; }
.case-detail__evidence,
.clone-case-detail__evidence { padding: 18px; border-radius: 14px; background: #f3f4f6; clear: both; }
.case-detail__evidence img,
.clone-case-detail__evidence img { width: min(760px, 100%); }
.clone-case-detail__content ol,
.clone-case-detail__content ul { margin: 0 0 20px 24px; padding: 0; }
.clone-case-detail__nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.clone-case-detail__content .clone-outline-button { margin-top: 18px; }

@media (max-width: 1000px) {
  .clone-team-grid, .clone-cert-grid, .clone-process-cards, .clone-fee-grid, .clone-mission-grid, .clone-history, .clone-photo-grid--office, .clone-photo-grid--team, .clone-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .clone-page, .clone-cases-page { padding-top: 36px; }
  .clone-page__hero h1 { font-size: 42px; }
  .clone-page__hero p { font-size: 18px; }
  .clone-team-grid, .clone-cert-grid, .clone-process-cards, .clone-fee-grid, .clone-mission-grid, .clone-history, .clone-photo-grid--office, .clone-photo-grid--team, .clone-case-grid { grid-template-columns: 1fr; }
  .clone-process-cards article { grid-template-columns: 1fr; }
}
