/* ================================================================
   CATLAXY AI — style.css
   Official Website Stylesheet
   Version: 1.0
   ================================================================ */

/* ----------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------------- */
:root {
  /* Brand Blue — 唯一 UI 功能色 */
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-light: #EBF3FF;

  /* Canvas */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --dark: #0A0A14;

  /* Ink */
  --ink: #1A1A2E;
  --ink-secondary: #555568;
  --ink-muted: #9090A0;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-muted: rgba(255, 255, 255, 0.55);

  /* Typography */
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-15: 120px;

  /* Radius */
  --r: 16px;
  --r-btn: 10px;
  --r-pill: 100px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 350ms;
  --duration-fast: 250ms;

  /* Nav height */
  --nav-h: 68px;
}

/* ----------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ----------------------------------------------------------------
   2. TYPOGRAPHY
   ---------------------------------------------------------------- */
.overline {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}

.section-subtitle {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--ink-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: var(--sp-6);
}

.highlight {
  color: var(--blue);
}

.nowrap {
  white-space: nowrap;
}

/* Mobile-only line break */
.m-br { display: none; }

/* ----------------------------------------------------------------
   3. LAYOUT
   ---------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: var(--sp-15) 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section > .container {
  width: 100%;
}

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: var(--dark);
  color: var(--ink-on-dark);
}

.section--dark .section-title {
  color: var(--ink-on-dark);
}

.section--dark .section-subtitle {
  color: var(--ink-on-dark-muted);
}

.section--dark .overline {
  color: var(--blue);
}

/* Section background image (fluid art) */
/* 桌面端：100% 100% 精确填满区块，零裁切，保证所有页面无缝衔接 */
.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-bg--screen {
  mix-blend-mode: screen;
}


/* Grid system */
.grid {
  display: grid;
  gap: var(--sp-3);
}

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

.text-center { text-align: center; }

/* ----------------------------------------------------------------
   4. NAVIGATION
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 300ms ease;
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 28px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 200ms ease;
  cursor: pointer;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav__lang {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 200ms ease;
}

.nav__lang:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 24px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-btn);
  transition: all var(--duration-fast) var(--ease);
}

.nav__cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 300ms ease;
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: var(--sp-6) var(--sp-3);
  flex-direction: column;
  gap: var(--sp-1);
}

.nav__mobile-menu.is-open {
  display: flex;
}

.nav__mobile-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 16px 36px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--text {
  background: transparent;
  color: var(--blue);
  padding: var(--sp-1) 0;
  position: relative;
  font-size: 15px;
  font-weight: 600;
}

.btn--text::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width 300ms ease;
}

.btn--text:hover::after {
  width: 100%;
}

/* ----------------------------------------------------------------
   6. CARDS
   ---------------------------------------------------------------- */
.card {
  background: var(--off-white);
  border-radius: var(--r);
  padding: 36px;
  position: relative;
  transition: all var(--duration) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 2px 2px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* On #FAFAFA sections, cards are white */
.section--alt .card {
  background: var(--white);
}

.section--alt .card:hover {
  background: #fff;
}

.card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card__sub {
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.card__text {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

.card__points {
  margin-top: 12px;
}

.card__points li {
  font-size: 14px;
  color: var(--ink-secondary);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.6;
}

.card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

/* Icon circle — 参照 ICON_FORMATTING 大圆虚线风格 */
.card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  background: transparent;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 32px;
}

/* ----------------------------------------------------------------
   7. TAGS
   ---------------------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--blue-light);
  color: var(--blue);
  letter-spacing: 0.02em;
}

.tag--dark {
  background: var(--dark);
  color: #fff;
}

/* ----------------------------------------------------------------
   8. HERO (Section 1)
   ---------------------------------------------------------------- */
.hero {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--sp-8)) 0 var(--sp-10);
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero .overline {
  color: var(--blue);
  margin-bottom: var(--sp-3);
}

.hero__title {
  font-size: clamp(42px, 4.5vw, 80px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__desc {
  font-size: clamp(16px, 1.3vw, 22px);
  color: var(--ink-secondary);
  margin-bottom: var(--sp-6);
  line-height: 1.7;
  max-width: 540px;
}

.hero__btns {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-muted);
  font-size: 12px;
  text-align: center;
  z-index: 2;
}

.hero__scroll-arrow {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ----------------------------------------------------------------
   9. ABOUT US (Section 4) — Statement + traits
   ---------------------------------------------------------------- */
.about-statement {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-statement__heading {
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}

.about-statement__text {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--ink-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.about-traits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.about-trait {
  text-align: center;
  padding: var(--sp-3) var(--sp-2);
}

.about-trait__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--blue);
  font-size: 36px;
}

.about-trait__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.about-trait__desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   10. AGENT SYSTEM (Section 7) — 左右布局
   ---------------------------------------------------------------- */
.agent-grid {
  display: flex;
  gap: var(--sp-8);
  align-items: center;
}

.agent-grid__sidebar {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
}

.agent-grid__slogan {
  font-size: 17px;
  color: var(--blue);
  font-weight: 600;
  line-height: 2;
}

.agent-grid__list {
  flex: 1;
  min-width: 0;
}

.agent-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.agent-row:last-child {
  border-bottom: none;
}

.agent-row__icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 24px;
}

.agent-row__body {
  flex: 1;
  min-width: 0;
}

.agent-row__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.agent-row__desc {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   14. CASE STUDIES (Section 8) — 3×2 网格
   ---------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-item {
  background: #F0F0F3;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}

.case-item__badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.case-item__highlight {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.4;
  margin-bottom: 4px;
}

.case-item__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.case-item__desc {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.case-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.case-item__tag {
  background: #e2e2e6;
  font-size: 12px;
  color: var(--ink-secondary);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ----------------------------------------------------------------
   12. CTA (Section 11)
   ---------------------------------------------------------------- */
.cta {
  text-align: center;
}

.cta__heading {
  font-size: clamp(32px, 3.5vw, 60px);
  font-weight: 700;
  color: var(--ink-on-dark);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}

.cta__text {
  font-size: 17px;
  color: var(--ink-on-dark-muted);
  margin-bottom: var(--sp-6);
}

.cta__contact {
  display: flex;
  gap: var(--sp-8);
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: var(--sp-6);
}

.cta__qr {
  text-align: center;
}

.cta__qr-img {
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  margin: 0 auto;
  overflow: hidden;
}

.cta__qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta__qr-label {
  font-size: 13px;
  color: var(--ink-on-dark-muted);
  margin-top: 12px;
}

.cta__info {
  text-align: left;
}

.cta__info-label {
  font-size: 14px;
  color: var(--ink-on-dark-muted);
  margin-bottom: var(--sp-1);
}

.cta__email {
  font-size: 20px;
  color: var(--ink-on-dark);
  font-weight: 600;
}

.cta__btns {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
/* 页脚条 — 合并在 CTA 区块底部 */
.footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: rgba(255, 255, 255, 0.45);
  padding: var(--sp-3) 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer__logo img {
  height: 22px;
  width: auto;
}

.footer__copy {
  margin-top: var(--sp-1);
  font-size: 12px;
}

.footer__links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer__link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 200ms ease;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------------------------------
   18. SCROLL ANIMATION (fade-in)
   ---------------------------------------------------------------- */
/* 元素动画已停用 — 翻页速度感即是动画 */
.fade-in {
  opacity: 1;
  transform: none;
}

/* Counter animation placeholder — actual counting done in JS */
.counter[data-target] {
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------
   19. RESPONSIVE — TABLET (768–1199px)
   ---------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    padding: 0 var(--sp-5);
  }

  .section {
    padding: var(--sp-12) 0;
    min-height: auto; /* 平板端由内容撑开，不强制满屏 */
  }

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

  .hero__title {
    font-size: 48px;
  }

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

  .agent-grid__sidebar {
    flex: 0 0 240px;
  }
}

/* ----------------------------------------------------------------
   20. RESPONSIVE — MOBILE (<768px)
   ---------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --nav-h: 56px;
  }

  .container {
    padding: 0 var(--sp-3);
  }

  .section {
    padding: calc(var(--nav-h) + 16px) 0 32px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
  }


  /* Nav */
  .nav {
    padding: 0 20px;
  }

  .nav__links,
  .nav__right {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__logo img {
    height: 22px;
  }

  /* Hero (S1) */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 20px) 0 72px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__desc {
    font-size: 15px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Typography */
  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: var(--sp-3);
  }

  .overline {
    margin-bottom: var(--sp-1);
  }

  /* Cards (compact) */
  .card {
    padding: 20px;
  }
  .card::before {
    left: 20px;
  }
  .card__icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 8px;
  }
  .card__title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .card__sub {
    font-size: 12px;
    margin-bottom: 0;
  }
  .card__text {
    font-size: 13px;
  }

  /* Grids default */
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  /* S4 About */
  .about-statement__heading {
    font-size: 24px;
  }
  .about-statement__text {
    font-size: 14px;
  }
  .about-traits {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: var(--sp-3);
  }
  .about-trait {
    padding: var(--sp-1);
  }
  .about-trait__icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
    margin-bottom: 6px;
  }
  .about-trait__title {
    font-size: 14px;
  }
  .about-trait__desc {
    font-size: 11px;
  }

  /* S5 Services: 2×2 网格，隐藏详情 */
  #services .card__points {
    display: none;
  }
  #services .grid--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* S7 Agents: 隐藏 sidebar */
  .agent-grid {
    flex-direction: column;
    gap: var(--sp-3);
  }
  .agent-grid__sidebar {
    display: none;
  }
  .agent-row {
    gap: var(--sp-2);
    padding: 12px 0;
  }
  .agent-row__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
  .agent-row__name {
    font-size: 15px;
  }
  .agent-row__desc {
    font-size: 13px;
  }

  /* S8 Cases: 只显示前3个，隐藏描述 */
  .case-grid .case-item:nth-child(n+4) {
    display: none;
  }
  .case-item__desc {
    display: none;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .case-item {
    padding: 14px 16px;
  }
  .case-item__badge {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 6px;
  }
  .case-item__highlight {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .case-item__name {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .case-item__tags {
    gap: 4px;
  }
  .case-item__tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* S11 CTA */
  .cta__heading {
    font-size: 28px;
  }
  .cta__text {
    font-size: 14px;
    margin-bottom: var(--sp-3);
  }
  .cta__contact {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
  }
  .cta__info {
    text-align: center;
  }
  .cta__btns {
    justify-content: center;
  }
  .cta__qr-img {
    width: 120px;
    height: 120px;
  }
  .cta__email {
    font-size: 16px;
  }

  /* Buttons (compact) */
  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* Footer */
  .footer-bar {
    padding: var(--sp-2) 0;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: var(--sp-1);
  }
  .footer__links {
    justify-content: center;
    gap: var(--sp-2);
  }
  .footer__link {
    font-size: 11px;
  }
  .footer__copy {
    font-size: 11px;
  }

  /* 手机端竖版背景图替换（与桌面端一样 100% 100% 填满，保证衔接） */
  #hero .section-bg {
    background-image: url('../images/fluid/section-01-hero-m.png') !important;
  }
  #about .section-bg {
    background-image: url('../images/fluid/section-04-about-m.png') !important;
  }
  #services .section-bg {
    background-image: url('../images/fluid/section-05-service-m.png') !important;
  }
  #agents .section-bg {
    background-image: url('../images/fluid/section-07-agent-m.png') !important;
  }
  #cases .section-bg {
    background-image: url('../images/fluid/section-08-case-m.png') !important;
  }
  #contact .section-bg {
    background-image: url('../images/fluid/section-11-cta-m.png') !important;
  }

  /* Mobile-only line break */
  .m-br { display: inline; }

  /* 手机端也不需要动画 */
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------------------------------------------
   21. EXTRA-LARGE SCREENS (1440px+, 2K/4K)
   ---------------------------------------------------------------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
    padding: 0 var(--sp-10);
  }

  .section {
    padding: 160px 0;
  }

  .hero {
    padding: calc(var(--nav-h) + var(--sp-12)) 0 var(--sp-15);
  }

  .hero__content {
    max-width: 860px;
  }

  .nav__link {
    font-size: 15px;
  }

  .btn {
    padding: 18px 44px;
    font-size: 16px;
  }

  .card {
    padding: 44px;
  }

  .card__icon {
    width: 84px;
    height: 84px;
    font-size: 36px;
  }

  .card__title {
    font-size: 24px;
  }

  .card__text,
  .card__points li {
    font-size: 15px;
  }

  .about-trait__icon {
    width: 90px;
    height: 90px;
    font-size: 40px;
  }

  .case-item {
    padding: 32px 28px;
  }

  .agent-row__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .agent-row__name {
    font-size: 20px;
  }

  .agent-row__desc {
    font-size: 16px;
  }

  .cta__email {
    font-size: 24px;
  }

}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  .section {
    padding: 200px 0;
  }

  .hero {
    padding: calc(var(--nav-h) + var(--sp-15)) 0 var(--sp-15);
  }

  .hero__content {
    max-width: 960px;
  }

  .nav {
    padding: 0 var(--sp-12);
  }

  .nav__logo img {
    height: 34px;
  }

  .nav__link {
    font-size: 16px;
  }

  .btn {
    padding: 20px 52px;
    font-size: 17px;
  }

  .card {
    padding: 52px;
  }

  .card__icon {
    width: 96px;
    height: 96px;
    font-size: 42px;
  }

  .card__title {
    font-size: 26px;
  }

  .about-trait__icon {
    width: 100px;
    height: 100px;
    font-size: 44px;
  }

  .case-item {
    padding: 36px 32px;
  }

  .overline {
    font-size: 16px;
  }

  .agent-grid__slogan {
    font-size: 20px;
  }

  .agent-row__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .agent-row__name {
    font-size: 22px;
  }

}

/* Footer is not a section — no min-height: 100vh */

/* ----------------------------------------------------------------
   22. ACCESSIBILITY & MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
