/* ============================================================
   界外出海 · idotive 版皮肤
   仅覆盖字体、中文排版与新增组件，不改模板布局骨架
   ============================================================ */

:root {
  --font-family--heading-font: "Parkinsans", "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-family--body-font: "Inter Tight", "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --jw-accent: #124ed4;
  --jw-accent-hover: #103ca5;
  --jw-accent-ink: #1749a8;
  --jw-ink: #111;
  --jw-cream: #fbf9ef;
}

body {
  font-family: "Inter Tight", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 中文标签去掉全大写与过宽的负字距 */
.fda-sub-text,
.fda-text-style-h1, .fda-text-style-h2, .fda-text-style-h3,
.fda-text-style-h4, .fda-text-style-h5, .fda-text-style-h6,
.fda-big-text, .fda-team-v1-big-text, .fda-menu-tag {
  letter-spacing: -.01em;
}
.fda-sub-text {
  text-transform: none;
  letter-spacing: .06em;
}

h1, h2, h3, h4 { text-wrap: balance; }

.jw-profile-intro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 6vw, 6rem);
  background: #edf4ff;
}
.jw-profile-intro > div { flex: 2 1 22rem; }
.jw-profile-intro h1 { font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1.15; margin: .5rem 0 1rem; }
.jw-profile-intro p { max-width: 40em; line-height: 1.75; color: #334155; }
.jw-profile-intro figure { flex: 1 1 14rem; margin: 0; }
.jw-profile-intro img { width: 100%; max-width: 22rem; border-radius: .75rem; }
.jw-profile-intro figcaption { color: #475569; font-size: .875rem; margin-top: .5rem; }

.jw-back-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--jw-accent);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px #123b8340;
  cursor: pointer;
}
.jw-back-top[hidden] { display: none; }
.jw-back-top:hover { background: var(--jw-accent-hover); }
.jw-back-top:focus-visible { outline: 2px solid var(--jw-accent); outline-offset: 4px; }

/* ---------------- 首页导航 ---------------- */
.jw-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: #fffffff0;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(16px);
}
.jw-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
  max-width: 84rem;
  padding: .65rem clamp(.85rem, 4vw, 3rem);
  margin-inline: auto;
}
.jw-header-brand, .jw-header-cta, .jw-header-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--jw-ink);
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}
.jw-header-brand { justify-self: start; font-size: 1.125rem; }
.jw-header-brand img { width: 3.5rem; height: auto; }
.jw-header-links { display: flex; align-items: center; gap: .25rem; }
.jw-header nav a {
  color: #334155;
  padding: .55rem .85rem;
  border-radius: .5rem;
  text-decoration: none;
  font-size: .925rem;
}
.jw-header nav a:hover, .jw-header nav a:focus-visible { background: #e8f1ff; color: var(--jw-ink); }
.jw-header-cta {
  justify-self: end;
  padding: .68rem .95rem;
  border-radius: .55rem;
  background: var(--jw-accent);
  font-size: .875rem;
  transition: background-color .2s ease;
}
.jw-header-cta, .jw-header-cta:hover { color: #fff; }
.jw-header-cta:hover { background: var(--jw-accent-hover); }
.jw-header-mobile { display: none; }
@media (max-width: 991px) {
  .jw-header-inner { grid-template-columns: 1fr auto auto; gap: .65rem; }
  .jw-header-links { display: none; }
  .jw-header-mobile { display: block; }
  .jw-header-mobile summary { cursor: pointer; padding: .55rem; border: 1px solid #cbd5e1; border-radius: .5rem; font-size: .875rem; }
  .jw-header-mobile nav { position: absolute; inset: calc(100% + .4rem) .85rem auto; display: grid; padding: .45rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .65rem; box-shadow: 0 10px 28px #0f172a14; }
}
@media (max-width: 420px) {
  .jw-header-inner { min-height: 4rem; }
  .jw-header-brand { font-size: .95rem; gap: .35rem; }
  .jw-header-brand img { width: 2.35rem; height: auto; }
  .jw-header-cta { padding: .55rem .65rem; }
}

/* ---------------- 首屏 ---------------- */
.fda-hero-v1 {
  --_colors---soft-ivory: #fff;
  background-color: #fff;
  position: relative;
  isolation: isolate;
  overflow: clip;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(7rem, 19svh, 11.5rem);
  padding-bottom: clamp(1.25rem, 3svh, 2.5rem);
}

.fda-hero-v1::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: radial-gradient(ellipse at 50% 68%, #edf3f9, #fff 68%);
}

.fda-hero-v1::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 140%;
  height: clamp(28rem, 61vw, 57rem);
  top: clamp(9rem, 15vw, 14rem);
  left: 50%;
  transform: translateX(-50%) skewX(-24deg);
  background: repeating-linear-gradient(90deg,
    transparent 0 8%, #e8f1fa40 8%, #c4d9ee8c 12%,
    #f7fbffb3 14.8%, #fff 15%, #a3bed875 15.15%, transparent 15.5% 20%);
  mask-image: radial-gradient(ellipse at 50% 55%, transparent 18%, #000 53%, transparent 77%);
}

@media (prefers-reduced-motion: no-preference) {
  .fda-hero-v1::before { animation: jw-hero-depth 16s ease-in-out infinite alternate; }
  .fda-hero-v1::after { animation: jw-hero-glass 11s ease-in-out infinite alternate; }
}

@keyframes jw-hero-depth {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.12); }
}

@keyframes jw-hero-glass {
  from { transform: translate3d(-55%, 1%, 0) perspective(75rem) rotateY(-18deg) skewX(-24deg); }
  to { transform: translate3d(-44%, -4%, 0) perspective(75rem) rotateY(15deg) skewX(-24deg) scale(1.08); }
}

@media (max-width: 767px) {
  .fda-hero-v1::after {
    width: 160%;
    top: 15rem;
    opacity: .66;
  }
}

.fda-hero-v1 .fda-button-body {
  min-height: 3.25rem;
  padding: .75rem 1.55rem;
  border-radius: .65rem;
  background: var(--jw-accent);
  box-shadow: 0 8px 22px #2460df29;
}
.fda-hero-v1 .fda-button-body:hover { background: var(--jw-accent-hover); }
.fda-hero-v1 .fda-static-wrapper-1 {
  position: relative;
  background: transparent;
  transform: none !important;
  opacity: 1 !important;
}
.fda-hero-v1 .fda-static-wrapper-2,
.fda-hero-v1 .fda-button-background,
.fda-hero-v1 .fda-rotate-icon-2 { display: none; }
.fda-hero-v1 .fda-button-text {
  color: var(--jw-ink);
  background: transparent;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  transform: none !important;
  opacity: 1 !important;
}
.fda-hero-v1 .fda-button-body:focus-visible {
  outline: 2px solid var(--jw-ink);
  outline-offset: 4px;
}

.jw-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
}

.jw-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: clamp(.875rem, 1.2vw, 1.0625rem);
  line-height: 1.5;
  font-weight: 550;
  letter-spacing: .035em;
  color: #475569;
}
.jw-dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--jw-accent);
  display: inline-block;
}

.jw-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .02em;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-size: clamp(3rem, min(6.2vw, 11vh), 6.5rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: .015em;
  color: #111;
}
.jw-hero-line { display: block; overflow: hidden; padding-bottom: .04em; }
.jw-ch {
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .jw-hero-kicker { animation: jw-hero-enter .65s cubic-bezier(.2,.75,.25,1) both; }
  .jw-ch {
    animation: jwRise .92s cubic-bezier(.18,.79,.23,1) both;
    animation-delay: calc(.12s + var(--i) * .057s);
  }
  .jw-hero-summary { animation: jw-hero-enter .75s .65s cubic-bezier(.2,.75,.25,1) both; }
  .jw-hero-cta { animation: jw-hero-button-in .8s .83s cubic-bezier(.22,.75,.25,1) both; }
}

@keyframes jwRise {
  from { transform: translateY(145%) rotate(9deg) scale(.92); opacity: 0; }
  72% { transform: translateY(-5%) rotate(-1deg); opacity: 1; }
  to { transform: none; opacity: 1; }
}
@keyframes jw-hero-enter {
  from { transform: translateY(2.2rem); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes jw-hero-button-in {
  from { transform: translateY(3rem) scale(.72); opacity: 0; }
  68% { transform: translateY(-.3rem) scale(1.08); opacity: 1; }
  to { transform: none; opacity: 1; }
}

/* 说明移到标题下方后，收紧按钮与卡片之间的留白。 */
.fda-hero-v1 .fda-hero-main-wrap {
  position: relative;
  z-index: 4;
  margin-bottom: 0;
}
.fda-hero-v1 .fda-image-marque-wrap {
  margin-top: 1.5rem;
  top: 0;
  overflow: clip;
}
@media (min-width: 768px) {
  .fda-hero-v1 .fda-image-marque-wrap {
    flex: 1 0 auto;
    height: clamp(25rem, 46vw, 40rem);
    overflow: clip;
  }
  .fda-hero-v1 .fda-cards-wrapper {
    top: 15rem;
  }
}
@media (max-width: 767px) {
  .fda-hero-v1 .fda-cards-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    max-width: 34rem;
  }
  .fda-hero-v1 .fda-card-image-wrap {
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 2;
  }
}
.jw-hero-details {
  display: grid;
  justify-items: center;
  gap: .9rem;
  margin: 1.5rem auto 0;
}
.jw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  padding-inline: .75rem;
}
.fda-hero-v1 .jw-hero-cta {
  min-width: min(9rem, 38vw);
  color: var(--jw-ink);
  font-weight: 650;
}
.fda-hero-v1 .jw-hero-contact {
  border: 1px solid #bac7d4;
  background: #ffffffb3;
  box-shadow: none;
  animation-delay: .95s;
}
.fda-hero-v1 .jw-hero-cta:not(.jw-hero-contact) { color: #fff; }
.fda-hero-v1 .jw-hero-contact:hover { background: #e8f1ff; }

.fda-hero-v1 .jw-hero-cta {
  gap: .45rem;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, translate .22s ease;
}
.fda-hero-v1 .jw-hero-cta::after {
  content: "";
  width: .42em;
  height: .42em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  rotate: 45deg;
  transition: translate .22s ease;
}
@media (hover: hover) {
  .fda-hero-v1 .jw-hero-cta:hover { box-shadow: 0 10px 24px #2460df40; }
  .fda-hero-v1 .jw-hero-contact:hover {
    border-color: #8799ab;
    box-shadow: 0 8px 20px #293f591a;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .fda-hero-v1 .jw-hero-cta:focus-visible { translate: 0 -3px; }
  @media (hover: hover) {
    .fda-hero-v1 .jw-hero-cta:hover { translate: 0 -3px; }
    .fda-hero-v1 .jw-hero-cta:hover::after { translate: .2rem 0; }
  }
  .fda-hero-v1 .jw-hero-cta:active { translate: 0 1px; }
}

.fda-card-wrap { box-shadow: 0 18px 50px #00000014; }
.fda-card-wrap .fda-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fda-text-style-h5 { font-size: 1.0625rem; letter-spacing: .01em; }

/* ---------------- 关于 ---------------- */
.fda-about-v1 { background-color: #fff; }
.fda-featured-v1 { background-color: #edf4ff; }
.fda-service-v1 { background-color: #fff; }
.fda-service-v5 { background-color: #eef6ff; }
.fda-testimonial-v1 { background-color: #fff; }
.fda-team-v1 { background-color: #e8effa; }
.fda-about-v1 h2 { font-size: clamp(1.9rem, 3.55vw, 3.4rem); line-height: 1.24; }
.fda-about-v1-left-inner-text p { font-size: .9375rem; line-height: 1.85; color: #4a473a; }

.jw-stats {
  display: flex;
  align-items: flex-end;
  gap: 1.9rem;
  flex-wrap: wrap;
}
.jw-stat-num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-family--heading-font);
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: #111;
}
.jw-stat-num .jw-suf { color: var(--jw-accent-ink); margin-left: .06em; }
.jw-stat .fda-sub-text { margin-top: .55rem; color: #77705e; font-size: .8125rem; }
.jw-stat-line { width: 1px; height: 3.4rem; background: #0000001f; margin-bottom: .3rem; }

/* ---------------- 案例网格 ---------------- */
.jw-work {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.2rem 1.6rem;
  padding-top: 3.6rem;
  width: 100%;
}
.jw-work-card { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.jw-work-large { grid-column: span 8; width: 100%; max-width: 53.4375rem; }
.jw-work-small { grid-column: span 4; width: 100%; max-width: 26.375rem; justify-self: end; }
.jw-work-wide { grid-column: span 12; width: 100%; max-width: 53.4375rem; justify-self: center; }
.jw-work-third { grid-column: span 4; }

.jw-work-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #e9e5d8;
}
.jw-work-large .jw-work-media { aspect-ratio: 2560 / 1444; }
.jw-work-small .jw-work-media { aspect-ratio: 2560 / 1444; }
.jw-work-wide .jw-work-media { aspect-ratio: 2560 / 1444; }
.jw-work-third .jw-work-media { aspect-ratio: 2560 / 1444; }
.jw-work-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.19, 1, .22, 1);
}
.jw-work-card:hover .jw-work-media img { transform: scale(1.045); }
.jw-work-index {
  position: absolute;
  top: .9rem; left: .9rem;
  font-size: .7rem;
  letter-spacing: .12em;
  color: #fff;
  background: #00000066;
  border: 1px solid #ffffff3d;
  padding: .25rem .5rem;
  border-radius: 2rem;
  backdrop-filter: blur(6px);
}
.jw-work-meta { display: flex; flex-direction: column; gap: .7rem; }
.jw-work-meta .fda-text-style-h4 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); }

.fda-small-tag-btn { border-color: #00000029; }

/* ---------------- 服务行背景 ---------------- */
/* 用模板自带的场景图（home-one-featured / home-image-1/2/3），不再覆盖成 AI 图 */
.fda-service-v1-inner-heading .fda-text-style-h3 { letter-spacing: .01em; }

/* ---------------- 黑区数字 ---------------- */
.jw-dark-stats { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.jw-dark-stat b {
  display: block;
  font-family: var(--font-family--heading-font);
  font-size: clamp(2rem, 3vw, 3rem);
  color: #fff;
  line-height: 1;
  font-weight: 600;
}
.jw-dark-stat span {
  display: block;
  margin-top: .5rem;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: #b9b6ae;
}

/* ---------------- 客户评价 ---------------- */
.fda-testimonial-v1 h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.28; }
.fda-testimonial-v1 .fda-text-style-h5 { font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.72; letter-spacing: .01em; }

/* ---------------- 团队 ---------------- */
/* 模板是"超大标题被照片覆盖"的编辑式排版；中文单字承载信息更多，
   所以把标题放大到接近模板的 200px 级，让照片只压住局部而不是糊住整句 */
.fda-team-v1-big-text {
  font-size: clamp(3.4rem, 13.2vw, 11.5rem);
  line-height: 1.04;
  letter-spacing: .02em;
}

/* ---------------- 联系 ---------------- */
.jw-contact {
  background: #dceaff;
  color: #111;
  padding: 7.5rem 0 6.5rem;
}
.jw-contact-inner { display: flex; flex-direction: column; gap: 2.4rem; }
.jw-contact-kicker { color: #111; opacity: .62; }
.jw-contact-title {
  margin: 0;
  font-family: var(--font-family--heading-font);
  font-size: clamp(3rem, 8.4vw, 8rem);
  line-height: .98;
  font-weight: 700;
  letter-spacing: .005em;
}
.jw-contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  border-top: 1px solid #1113;
  padding-top: 2.2rem;
}
.jw-contact-para { max-width: 30rem; font-size: .975rem; line-height: 1.85; color: #1c1c1c; margin: 0; }
.jw-contact-info { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: flex-end; }
.jw-ci { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; }
.jw-ci span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.jw-ci a { color: #111; text-decoration: none; border-bottom: 1px solid #1114; }
.jw-ci a:hover { border-color: #111; }
.jw-contact-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #111; color: #fff;
  padding: 1rem 1.4rem;
  border-radius: 3rem;
  text-decoration: none;
  font-size: .95rem;
  transition: transform .4s cubic-bezier(.19, 1, .22, 1), background .3s;
}
.jw-contact-btn:hover { transform: translateY(-2px); background: #000; }
.jw-contact-btn .jw-arrow { font-size: 1rem; }

/* ---------------- 页脚 ---------------- */
.fda-footer-v1 .fda-footer-item-three { display: flex; gap: 2rem; flex-wrap: wrap; }
.jw-footer-col-title { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #ffffff59; margin-bottom: 1rem; }
.jw-footer-big { font-size: clamp(2.6rem, 7.6vw, 7.4rem) !important; letter-spacing: .01em; line-height: 1; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 991px) {
  .jw-hero-title { font-size: clamp(2.8rem, 10.2vw, 6rem); }
  .jw-work { gap: 1.6rem 1rem; }
  .jw-work-large, .jw-work-small { grid-column: span 12; }
  .jw-work-third { grid-column: span 6; }
  .jw-contact-bottom { flex-direction: column; gap: 2rem; }
}

@media (max-width: 767px) {
  .fda-hero-v1 { padding-top: clamp(6.5rem, 16svh, 8.5rem); }
  .jw-hero-title { font-size: clamp(2rem, 9.6vw, 3.6rem); line-height: 1.12; }
  .jw-stats { gap: 1.2rem; }
  .jw-stat-line { height: 2.6rem; }
  .jw-stat-num { font-size: 2.1rem; }
  .jw-work { display: flex; flex-direction: column; }
  .jw-work-wide .jw-work-media { aspect-ratio: 2560 / 1444; }
  .fda-about-v1 h2 { font-size: 1.75rem; }
  .jw-contact { padding: 4.6rem 0 4rem; }
  .jw-contact-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .jw-contact-info { gap: 1.2rem 1.6rem; }
  .jw-contact-btn { width: 100%; justify-content: center; }
  .fda-team-v1-big-text { font-size: clamp(2rem, 11vw, 3.2rem); }
  .jw-footer-big { font-size: clamp(2.4rem, 13vw, 4rem) !important; }
  .fda-footer-v1 .fda-footer-item-three { gap: 1.4rem; }
}

/* ---------------- 修正：logo / 大字 / 装饰尺寸 ---------------- */
img.fda-site-logo-v2 { width: 4rem !important; height: 4rem !important; object-fit: contain; }
.fda-footer-logo img.fda-site-logo-v2 { width: 3.5rem !important; height: 3.5rem !important; }
.fda-footer-v2-bottom-left img { width: 2.6rem; height: 2.6rem; }

.fda-big-text {
  line-height: 1.04;
  letter-spacing: .004em;
  font-size: clamp(3rem, 10.2vw, 10.2rem);
}

.fda-about-v1-right-top-image { max-width: 11rem !important; width: 11rem !important; }
.fda-about-v1-right-top-image img { width: 100% !important; height: auto !important; }

.fda-footer-item-two .fda-dribbble-icon-1 { width: 1.5rem; height: 1.5rem; min-width: 1.5rem; }
.fda-footer-item-two .fda-dribbble-icon-1 img { width: 100%; height: 100%; object-fit: contain; }
.fda-footer-v2-bottom-right { min-width: 0; }

.jw-hero-summary {
  max-width: 32em;
  margin: 0;
  padding-inline: 1rem;
  font-size: clamp(.9375rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
  color: #475569;
}
.fda-hero-v1 .fda-hero-small-content { display: none; }

/* ---------------- 修正：容器溢出把整页撑宽 ----------------
   用 overflow-x: clip 而不是 hidden —— hidden 会让 body 变成滚动容器，
   导致内部 position: sticky 全部失效（黑区卡片不再钉住）。 */
html, body { overflow-x: clip; }
.fda-overview-v4 { overflow-x: clip; }
.fda-overview-v4 .fda-container-large { max-width: 100vw; }
/* 不用 overflow:hidden，否则内部 sticky 失效、卡片不再钉住 */
.fda-portfolio-v3-bottom-wrapper { max-width: 100vw; overflow-x: clip; }

/* 服务行默认不要太淡，悬停仍然完整露出图片 */
.fda-service-v1-item .fda-service-v1-overlay { opacity: .18 !important; transition: opacity .4s ease; }
.fda-service-v1-item:hover .fda-service-v1-overlay { opacity: 0 !important; }

/* ---------------- 第二轮修正 ---------------- */
.jw-wordmark {
  font-family: var(--font-family--heading-font);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #111;
  margin-left: .9rem;
  white-space: nowrap;
}
.jw-wordmark-light { color: #fff; }
.fda-site-logo-wrapper { display: flex; align-items: center; }
.fda-footer-logo { display: flex; align-items: center; }

/* v5 卡片图片固定可见，不依赖滚动触发 */
.fda-service-v5 .fda-transform { transform: none !important; }
.fda-service-v5 .fda-transforming-inner-image { width: 100%; }
.fda-service-v5 .fda-transforming-inner-image img { width: 100%; height: auto; display: block; }

/* 团队区文字压在上层，避免被照片遮住 */
.fda-team-v1 { overflow: hidden; }
.fda-team-v1-content-text { position: relative; z-index: 4; }
.fda-team-v1-big-text { color: #111; text-align: center; }
.fda-rotate-image-wrap img { max-height: 24rem; width: auto; }

.jw-contact { position: relative; z-index: 6; }

.jw-footer-big { font-size: clamp(2.4rem, 6.6vw, 6.2rem) !important; text-align: right; }

/* 缩短黑区滚动钉住长度，减少空白 */
.fda-portfolio-v3-bottom-wrapper.fda-portfolio-v3-bottom-wrapper-2 { height: 260vh; }

/* ---------------- 第三轮：v5 卡片改为编号卡 / 团队区留白 ---------------- */
.fda-service-v5 .fda-transforming-inner-image { display: none !important; }
.fda-service-v5-item-wrapper { counter-reset: jwcard; }
.fda-service-v5-item {
  counter-increment: jwcard;
  min-height: 0 !important;
  gap: 1.1rem !important;
  padding: 1.7rem 1.6rem !important;
}
.fda-service-v5-item::before {
  content: "0" counter(jwcard);
  font-family: var(--font-family--body-font);
  font-size: .75rem;
  letter-spacing: .16em;
  color: var(--jw-accent-ink);
  display: block;
  order: -1;
}
.fda-service-v5-item .fda-text-style-h6 { font-size: 1.15rem; }
.fda-service-v5-item p { font-size: .9rem; line-height: 1.8; color: #4a473a; }

/* 合作机构那一格 */
.fda-client-item .fda-text-style-h3 { font-size: 2.4rem; }
.fda-client-item .fda-client-image { width: 3.4rem !important; height: 3.4rem !important; border-radius: 50%; overflow: hidden; margin-left: -.7rem; }
.fda-client-item .fda-client-image img { width: 100% !important; height: 100% !important; object-fit: cover; }

/* 团队区：去掉叠压照片，留下大字statement */
.fda-rotate-image-wrap { display: none !important; }
.fda-team-v1-height { height: auto !important; padding: 4.5rem 0 5rem; }
.fda-team-v2 { width: 100%; justify-content: center; }
.fda-team-v1-content-text { width: 100%; text-align: center; }
.fda-team-v1-big-text { display: block; width: 100%; }

/* 客户评分小图统一 */
.fda-image-site-move .fda-client-image { border-radius: .6rem; overflow: hidden; }
.fda-image-site-move .fda-client-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- 第四轮：v5 两列网格 / 团队大字 ---------------- */
.fda-service-v5-wrapper {
  grid-template-columns: .85fr 1.15fr !important;
  align-items: start !important;
  gap: 3rem !important;
}
.fda-service-v5-item-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem !important;
  width: 100%;
}
.fda-service-v5 .fda-client-item,
.fda-service-v5 .fda-explore { display: none !important; }

.fda-team-v1-big-text { color: #111 !important; -webkit-text-fill-color: #111 !important; background: none !important; }
.fda-team-v1-top-image-wrapper { display: none !important; }
.fda-team-v1 .fda-team-v1-top { margin-bottom: 0 !important; }

@media (max-width: 991px) {
  .fda-service-v5-wrapper { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

@media (max-width: 767px) {
  .jw-wordmark { color: #fff; font-size: .95rem; }
  .fda-service-v5-item-wrapper { grid-template-columns: 1fr; }
  .fda-big-text { font-size: clamp(2.5rem, 13.2vw, 3.6rem) !important; }
  .fda-overview-v4 .fda-portfolio-card-row { flex-wrap: wrap; gap: 1rem; }
  .fda-overview-v4 .fda-service-card { width: 100%; }
  .jw-stats { gap: 1rem; }
  .jw-stat-num { font-size: 1.9rem; }
}

/* v5 结构强制：左标题 + 右 2x2 */
.fda-service-v5-wrapper {
  display: grid !important;
  grid-template-columns: .82fr 1.18fr !important;
  gap: 3.4rem !important;
  align-items: start !important;
}
.fda-service-v5-heading-site { grid-column: 1 !important; grid-row: 1 !important; align-self: start; }
.fda-service-v5-item-wrapper { grid-column: 2 !important; grid-row: 1 !important; }
.fda-service-v5-item-wrapper > * { grid-area: auto !important; width: 100% !important; }
.fda-service-v5-item { display: flex !important; flex-direction: column; height: 100%; }

@media (max-width: 991px) {
  .fda-service-v5-wrapper { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .fda-service-v5-heading-site, .fda-service-v5-item-wrapper { grid-column: 1 !important; grid-row: auto !important; }
}
.fda-team-v1-height { padding: 3.4rem 0 3.4rem; }

/* ---------------- v5 自建网格 ---------------- */
.fda-service-v5-wrapper {
  display: grid !important;
  grid-template-columns: .82fr 1.18fr !important;
  gap: 3.4rem !important;
  align-items: start !important;
}
.fda-service-v5-heading-site { grid-column: 1; }
.fda-service-v5-heading-site h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.2; }
.fda-service-v5-heading-site p { margin-top: 1.3rem; max-width: 27rem; font-size: .95rem; line-height: 1.8; color: #4a473a; }
.fda-service-v5-heading-site .fda-button-gap { margin-top: 1.8rem; }

.jw-v5-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.jw-v5-card {
  background: #fff;
  border-radius: .95rem;
  padding: 1.7rem 1.6rem;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  box-shadow: 0 11px 108.8px #2417610f;
  transition: transform .45s cubic-bezier(.19, 1, .22, 1), box-shadow .45s;
}
.jw-v5-card:hover { transform: translateY(-4px); box-shadow: 0 22px 60px #2417611f; }
.jw-v5-num { font-size: .72rem; letter-spacing: .16em; color: var(--jw-accent-ink); }
.jw-v5-card h3 { margin: 0; font-family: var(--font-family--heading-font); font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.jw-v5-card p { margin: 0; font-size: .9rem; line-height: 1.8; color: #4a473a; }
.jw-v5-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: #111; text-decoration: none; padding-top: .8rem; }
.jw-v5-dot { width: .42rem; height: .42rem; border-radius: 50%; background: #111; display: inline-block; }

@media (max-width: 991px) {
  .fda-service-v5-wrapper { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .fda-service-v5-heading-site { grid-column: 1; }
}
@media (max-width: 767px) {
  .jw-v5-grid { grid-template-columns: 1fr; }
  .jw-v5-card { min-height: 0; }
}

/* 模板原图：团队拼贴恢复（服务行背景图模板自带，不要再覆盖） */

.fda-rotate-image-wrap { display: flex !important; top: 40%; }
.fda-team-v1-top-image-wrapper { display: flex !important; }
/* 团队区顶部换成品牌标记，收一下尺寸 */
.fda-team-v1-top-image { max-width: 4.6rem; margin: 0 auto 1.6rem; }
.fda-team-v1-top-image img { width: 100%; height: auto; display: block; border-radius: 1.1rem; }

/* 评价右侧小图与箭头收敛一点（分页数字保持模板的透明态，避免压在缩略图上） */
.fda-testimonial-v1 .fda-testimonial-small-1 { opacity: .95; }
.fda-testimonial-v1 .w-slider-nav,
.fda-testimonial-v1 .fda-slide-nav { opacity: 0 !important; pointer-events: none; }

/* 移动端评价分页数字太大，隐藏 */
@media (max-width: 767px) {
  .fda-testimonial-v1 .w-slider-nav { display: none !important; }
}

/* 锚点跳转时给固定导航留出让位，避免标题被压在导航下面 */
html { scroll-padding-top: 7.5rem; }

/* 移动端团队区：照片拼贴会整块压住中文大字，窄屏改为只留文字 */
@media (max-width: 991px) {
  .fda-team-v1 .fda-rotate-image-wrap { display: none !important; }
  .fda-team-v1 .fda-team-v2 { padding-bottom: 4rem; }
  .fda-team-v1-big-text { font-size: clamp(2.4rem, 12vw, 4rem); line-height: 1.1; }
}

/* 手机端全屏菜单：链接与联系信息竖排，避免右侧被挤出屏幕 */
@media (max-width: 991px) {
  .fda-megamenu { flex-direction: column !important; align-items: stretch; justify-content: flex-start; }
  .fda-megamenu-content-block,
  .fda-megamenu-social-main { width: 100% !important; max-width: 100% !important; }
  .fda-megamenu-social-main { padding-top: 1.6rem !important; }
  .fda-menu-link-text { white-space: normal; overflow-wrap: anywhere; }
  .fda-megamenu { padding: 5.5rem 1.6rem 2.4rem; box-sizing: border-box; }
}

.jw-work-media { position:relative; overflow:hidden; }
.jw-work-hover { position:absolute; inset:0; display:grid; align-items:center; opacity:0; pointer-events:none; transition:opacity .35s ease; background:#0000001a; -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); }
.jw-work-card:is(:hover,:focus-visible) .jw-work-hover { opacity:1; }
.jw-work-ribbon { display:flex; width:100%; overflow:hidden; background:#ffffffed; color:#14233a; padding-block:.45rem; }
.jw-work-train { display:flex; flex-shrink:0; }
.jw-work-train > span { display:flex; align-items:center; gap:1rem; padding-inline:.5rem; white-space:nowrap; font-size:.75rem; }
.jw-work-train i { width:.3rem; height:.3rem; border-radius:50%; background:var(--jw-accent); }
.jw-work-orb { position:absolute; left:50%; top:50%; translate:-50% -50%; display:grid; place-items:center; width:5.375rem; height:5.375rem; border-radius:50%; border:1px solid #ffffffaa; background:linear-gradient(135deg,#ffffffa6,#4d638a91); -webkit-backdrop-filter:blur(17px); backdrop-filter:blur(17px); box-shadow:0 8px 24px #101a3538; color:#fff; font-size:1.7rem; }
@media(prefers-reduced-motion:no-preference) { .jw-work-card:is(:hover,:focus-visible) .jw-work-train { animation:jw-work-marquee 18s linear infinite; } }
@keyframes jw-work-marquee { to { transform:translateX(-100%); } }

/* Match the source landscape framing while keeping all six company cases. */
@media (max-width: 991px) {
  .jw-work-large, .jw-work-small, .jw-work-wide { max-width: none; justify-self: stretch; }
}
@media (hover: none) {
  .jw-work-card:hover .jw-work-hover { opacity: 0; }
  .jw-work-card:hover .jw-work-media img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jw-work-media img, .jw-work-hover { transition: none; }
}
