:root {
  /* 企业主色 */
  --hy-primary: #102B63;
  --hy-primary-dark: #071B42;
  --hy-primary-soft: #183B78;

  /* VI 品牌蓝 */
  --hy-brand-blue: #006CD9;
  --hy-brand-blue-light: #2F8EF5;
  --hy-brand-blue-soft: #EAF4FF;

  /* 背景 */
  --hy-bg: #FAFBF8;
  --hy-bg-soft: #F2F7FD;
  --hy-bg-blue: #EEF6FF;
  --hy-card: #FFFFFF;

  /* 辅助色 */
  --hy-accent-yellow: #F1C232;
  --hy-accent-green: #9CC829;

  /* 文字 */
  --hy-text: #263447;
  --hy-text-strong: #102B63;
  --hy-text-muted: #667085;
  --hy-text-light: #F7FAFC;

  /* 边框与阴影 */
  --hy-border: #E5EAF0;
  --hy-border-blue: rgba(0, 108, 217, 0.18);

  /* 圆角 */
  --hy-radius-sm: 12px;
  --hy-radius-md: 18px;
  --hy-radius-lg: 24px;
  --hy-radius-xl: 32px;

  /* 阴影 */
  --hy-shadow-sm: 0 6px 18px rgba(16, 43, 99, 0.06);
  --hy-shadow-md: 0 14px 36px rgba(16, 43, 99, 0.08);
  --hy-shadow-lg: 0 24px 60px rgba(16, 43, 99, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", sans-serif;
  color: var(--hy-text);
  background: #F6F9FC;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

/* 标题层级 - 严格遵循 V1.0 规范 */
h1, h2, h3, h4 { color: var(--hy-text-strong); line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 5vw, 44px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 248, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hy-border);
}
.nav-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { width: 52px; height: 40px; object-fit: contain; flex-shrink: 0; }
.nav-logo strong { display: block; color: var(--hy-primary); font-size: 19px; line-height: 1.1; white-space: nowrap; }
.nav-logo small { display: block; color: var(--hy-text-muted); font-size: 11px; letter-spacing: .05em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.nav-links a { white-space: nowrap; }
.nav-links a.active, .nav-links a:hover { color: var(--hy-brand-blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-quick-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border: 1px solid var(--hy-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--hy-shadow-sm);
  flex-shrink: 0;
}
.lang-quick-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--hy-text-muted);
  white-space: nowrap;
}
.lang-quick-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-quick-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--hy-primary);
  background: transparent;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lang-quick-option:hover {
  background: var(--hy-bg-blue);
  color: var(--hy-brand-blue);
}
.lang-quick-option.active {
  background: var(--hy-brand-blue);
  color: #fff;
}

.lang-switcher { position: relative; flex-shrink: 0; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  height: auto;
  padding: 10px 14px;
  border: 1px solid var(--hy-border);
  border-radius: 999px;
  background: #fff;
  color: var(--hy-primary);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lang-trigger:hover {
  border-color: var(--hy-brand-blue);
  box-shadow: var(--hy-shadow-sm);
}
.lang-trigger-label {
  font-size: 13px;
  color: var(--hy-text-muted);
}
.lang-trigger strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.lang-caret {
  font-size: 12px;
  color: var(--hy-text-muted);
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--hy-border);
  border-radius: 16px;
  box-shadow: var(--hy-shadow-md);
  padding: 8px;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--hy-primary);
}
.lang-option:hover,
.lang-option.active {
  background: var(--hy-bg-blue);
  color: var(--hy-brand-blue);
}
.lang-check {
  color: var(--hy-brand-blue);
  font-weight: 700;
}

/* 统一按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px; /* 统一高度 */
  padding: 0 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  transition: all .25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--hy-brand-blue); color: #fff !important; }
.btn-primary:hover { background: var(--hy-primary); transform: translateY(-2px); box-shadow: var(--hy-shadow-md); }

.btn-secondary { background: var(--hy-bg-blue); color: var(--hy-brand-blue) !important; }
.btn-secondary:hover { background: var(--hy-brand-blue-soft); transform: translateY(-2px); }

.btn-outline { border-color: var(--hy-border); color: var(--hy-text) !important; }
.btn-outline:hover { border-color: var(--hy-brand-blue); color: var(--hy-brand-blue) !important; }

.btn-outline-white { border-color: rgba(255,255,255,0.3); color: #fff !important; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }

@keyframes hyHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero .hero-copy > *,
.page-hero .container > *,
.pd-hero .pd-content > *,
.article-hero .container > *,
.legal-hero .container > * {
  animation: hyHeroFadeUp .72s cubic-bezier(.22, 1, .36, 1) both;
}

.home-hero .hero-copy > :nth-child(1),
.page-hero .container > :nth-child(1),
.pd-hero .pd-content > :nth-child(1),
.article-hero .container > :nth-child(1),
.legal-hero .container > :nth-child(1) {
  animation-delay: .06s;
}

.home-hero .hero-copy > :nth-child(2),
.page-hero .container > :nth-child(2),
.pd-hero .pd-content > :nth-child(2),
.article-hero .container > :nth-child(2),
.legal-hero .container > :nth-child(2) {
  animation-delay: .18s;
}

.home-hero .hero-copy > :nth-child(3),
.page-hero .container > :nth-child(3),
.pd-hero .pd-content > :nth-child(3),
.article-hero .container > :nth-child(3),
.legal-hero .container > :nth-child(3) {
  animation-delay: .3s;
}

.home-hero .hero-copy > :nth-child(4),
.page-hero .container > :nth-child(4),
.pd-hero .pd-content > :nth-child(4),
.article-hero .container > :nth-child(4),
.legal-hero .container > :nth-child(4) {
  animation-delay: .42s;
}

.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .72s cubic-bezier(.22, 1, .36, 1),
    transform .72s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-init.reveal-soft {
  transform: translateY(14px);
}

.reveal-init.reveal-card {
  transform: translateY(18px);
}

.reveal-init.reveal-card.reveal-in {
  transform: translateY(0);
}

/* 卡片分区与对齐系统 */
.hy-card, .product-card, .article-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* 确保并列卡片等高 */
}

.article-card {
  position: relative;
  border-color: var(--hy-border);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.card-header,
.card-body,
.card-footer {
  width: 100%;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
  min-height: var(--card-header-height, 72px);
}

.card-header > h3,
.card-header > h4,
.card-header > .card-title,
.card-header > .brand-role,
.card-header > .product-tag,
.card-header > .product-card-icon,
.card-header > .about-card-icon,
.card-header > .about-value-icon,
.card-header > .process-step {
  margin-top: 0;
  margin-bottom: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  gap: 10px;
  min-height: var(--card-body-height, 88px);
  margin-bottom: 18px;
}

.card-body > :last-child {
  margin-bottom: 0;
}

.card-body p,
.card-copy p,
.card-desc,
.knowledge-card .card-body p,
.product-card-body > p,
.feature-product-copy p,
.solution-card p,
.pd-answer-card p,
.pd-feature-card p,
.pd-pair-card p,
.partner-card p,
.advantage-card p,
.support-card p,
.process-card p,
.need-card p,
.contact-info-item p,
.contact-scope span,
.response-card p,
.address-card p,
.brand-card p,
.value-card p,
.about-value-card p,
.channel-grid .hy-card p,
.about-channel-card p,
.article-card p,
.news-card p,
.guide-item p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  min-height: var(--card-footer-height, 40px);
  margin-top: auto;
  flex-shrink: 0;
}

.hy-card.card-compact {
  padding: 24px 22px 20px;
}

.hy-card.card-compact .card-header {
  min-height: var(--card-header-height, 56px);
  gap: 6px;
  margin-bottom: 8px;
}

.hy-card.card-compact .card-body {
  min-height: var(--card-body-height, 72px);
  margin-bottom: 0;
  gap: 8px;
}

.hy-card.card-compact .card-body p {
  font-size: 15px;
  line-height: 1.5;
}

.hy-card.card-compact .product-tag {
  margin-bottom: 8px;
}

.hy-card.card-compact .card-footer {
  gap: 10px;
  min-height: var(--card-footer-height, 34px);
}

.hy-card.card-compact .card-header > h3,
.hy-card.card-compact .card-header > h4,
.hy-card.card-compact .card-header > .card-title {
  font-size: 20px;
  line-height: 1.35;
}

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

.hy-card.card-center .card-header {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hy-card.card-center .card-header > h3,
.hy-card.card-center .card-header > h4,
.hy-card.card-center .card-header > .card-title {
  width: 100%;
  text-align: center;
  line-height: 1.35;
}

.hy-card.card-center .card-body {
  align-items: stretch;
  justify-content: flex-start;
}

.hy-card.card-center .card-body p,
.hy-card.card-center .card-desc {
  width: 100%;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-ideograph;
}

.hy-card.card-center .card-footer {
  align-items: center;
  text-align: center;
}

/* 覆盖之前的 navbar 和 cta 按钮样式以保持一致 */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 100px;
  background: var(--hy-brand-blue);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
}
.nav-cta:hover { background: var(--hy-primary); transform: translateY(-1px); }

body.lang-zh .nav-inner,
body.lang-zh-tw .nav-inner {
  gap: 12px;
}

body.lang-zh .nav-links,
body.lang-zh-tw .nav-links {
  gap: 20px;
  font-size: 15px;
}

body.lang-zh .nav-cta,
body.lang-zh-tw .nav-cta {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  flex-shrink: 0;
}

body.lang-zh .lang-quick-switch,
body.lang-zh-tw .lang-quick-switch {
  gap: 8px;
  padding: 5px 7px 5px 12px;
}

body.lang-zh .lang-quick-label,
body.lang-zh-tw .lang-quick-label {
  font-size: 12px;
}

body.lang-zh .lang-quick-list,
body.lang-zh-tw .lang-quick-list {
  gap: 4px;
}

body.lang-zh .lang-quick-option,
body.lang-zh-tw .lang-quick-option {
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

body.lang-en .nav-inner,
body.lang-th .nav-inner {
  min-height: 80px;
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 18px;
}

body.lang-th .nav-inner {
  gap: 14px;
}

body.lang-en .nav-logo strong,
body.lang-th .nav-logo strong {
  font-size: 17px;
  line-height: 1.08;
}

body.lang-en .nav-logo small,
body.lang-th .nav-logo small {
  font-size: 10px;
}

body.lang-en .nav-links,
body.lang-th .nav-links {
  gap: 16px;
  font-size: 14px;
}

body.lang-en .lang-quick-label,
body.lang-th .lang-quick-label {
  font-size: 12px;
}

body.lang-en .lang-quick-option,
body.lang-th .lang-quick-option {
  min-width: 36px;
  padding: 0 9px;
  font-size: 12px;
}

body.lang-th .nav-links {
  gap: 12px;
  font-size: 13px;
}

body.lang-en .nav-links a,
body.lang-th .nav-links a {
  white-space: nowrap;
}

body.lang-th .nav-links a {
  letter-spacing: 0;
}

body.lang-en .nav-cta,
body.lang-th .nav-cta {
  height: 44px;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
  max-width: none;
  font-size: 13px;
  flex-shrink: 0;
}

body.lang-th .nav-cta {
  padding: 0 14px;
  font-size: 12px;
}

body.lang-en .lang-trigger,
body.lang-th .lang-trigger {
  min-height: 42px;
  height: 42px;
  padding: 0 12px;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

body.lang-th .lang-trigger {
  padding: 0 10px;
  gap: 5px;
}

body.lang-en .lang-trigger-label,
body.lang-th .lang-trigger-label {
  font-size: 12px;
  white-space: nowrap;
}

body.lang-th .lang-trigger-label {
  font-size: 11px;
}

body.lang-en .lang-trigger strong,
body.lang-th .lang-trigger strong {
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

body.lang-th .lang-trigger strong {
  font-size: 12px;
}

body.lang-th .nav-actions {
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--hy-bg-soft);
  position: relative;
  cursor: pointer;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--hy-primary); margin: 5px auto; transition: .3s; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  padding: 80px 24px;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 20px; font-weight: 700; color: var(--hy-primary); padding: 12px 0; border-bottom: 1px solid var(--hy-border); }
.mobile-nav .mobile-cta { background: var(--hy-brand-blue); color: #fff; text-align: center; border-radius: 100px; margin-top: 24px; border: none; }
.mobile-close { position: absolute; top: 20px; right: 24px; font-size: 40px; border: none; background: none; color: var(--hy-primary); cursor: pointer; }
.mobile-lang-block {
  padding: 0 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hy-border);
}
.mobile-lang-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--hy-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.mobile-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mobile-lang-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--hy-bg-blue);
  color: var(--hy-primary) !important;
  border: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.mobile-lang-option.active {
  background: var(--hy-brand-blue);
  color: #fff !important;
}

.section { padding: 96px 0; background: #FFFFFF; }
.section-soft { background: #F2F7FD; }
.section-dark { background: var(--hy-primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* 统一内部页面 Hero 系统 - 升级为大气铺满版 */
.page-hero {
  padding: 140px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--hero-overlay, linear-gradient(90deg, rgba(7, 27, 66, 0.88), rgba(7, 27, 66, 0.62))), var(--hero-image);
  color: #fff;
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
}
.page-hero h1 { color: #fff; margin-bottom: 28px; }
.page-hero p { color: rgba(255,255,255,0.95); font-size: 21px; max-width: 850px; line-height: 1.6; }

body.lang-en .page-hero h1,
body.lang-th .page-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.16;
  max-width: 15ch;
}

body.lang-en .page-hero p,
body.lang-th .page-hero p {
  font-size: 19px;
  line-height: 1.68;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .page-hero {
    background-image: var(--hero-overlay, linear-gradient(90deg, rgba(7, 27, 66, 0.88), rgba(7, 27, 66, 0.62))), var(--hero-image-mobile, var(--hero-image));
  }
  body.lang-en .page-hero h1,
  body.lang-th .page-hero h1 { max-width: none; }
  body.lang-en .page-hero p,
  body.lang-th .page-hero p { max-width: none; font-size: 17px; }
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 18px; color: var(--hy-text-muted); margin-top: 16px; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* 基础网格系统 - 全站通用 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 卡片系统 */
.hy-card {
  position: relative;
  background: var(--hy-card);
  border: 1px solid var(--hy-border);
  border-radius: var(--hy-radius-lg);
  box-shadow: var(--hy-shadow-sm);
  padding: 26px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.hy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hy-brand-blue), var(--hy-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.hy-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 22px 52px rgba(14, 50, 88, .18);
  border-color: var(--hy-border-blue);
  background-color: #fbfdff;
}
.hy-card:hover::before {
  transform: scaleX(1);
}
.hy-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hy-radius-lg);
  padding: 28px;
  color: var(--hy-text-light);
}

.product-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--hy-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--hy-shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.product-card::before,
.article-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hy-brand-blue), var(--hy-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.product-card:hover,
.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(14, 50, 88, .2);
  border-color: var(--hy-border-blue);
}
.product-card:hover::before,
.article-card:hover::before {
  transform: scaleX(1);
}
.product-card-media { aspect-ratio: 4 / 3; background: var(--hy-bg-soft); overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.product-card:hover .product-card-media img { transform: scale(1.055); }
.product-card-body { padding: 24px; }
.product-tag { 
  display: inline-block; 
  padding: 4px 12px; 
  background: var(--hy-brand-blue-soft); 
  color: var(--hy-brand-blue); 
  border-radius: 6px; 
  font-size: 13px; 
  font-weight: 600;
  margin-bottom: 12px;
}

.stat-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--hy-border);
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--hy-shadow-sm);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--hy-brand-blue), var(--hy-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 46px rgba(14, 50, 88, .16);
  border-color: var(--hy-border-blue);
  background-color: #fbfdff;
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card strong { display: block; font-size: 34px; line-height: 1; color: var(--hy-primary); }
.stat-card span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--hy-text-muted); }

.faq-item { background: #FFFFFF; border: 1px solid var(--hy-border); border-radius: 20px; padding: 22px 26px; margin-bottom: 16px; transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background-color .24s ease; }
.faq-item:hover { transform: translateY(-5px); border-color: var(--hy-border-blue); box-shadow: 0 16px 36px rgba(14, 50, 88, .13); background-color: #fbfdff; }
.faq-question { font-size: 18px; font-weight: 700; color: var(--hy-primary); display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.faq-question span { font-size: 24px; transition: transform .3s ease; }
.faq-answer { display: none; margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--hy-text-muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

.pagination,
.pager,
.page-pagination,
.page-switcher,
.page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination a,
.pagination button,
.pager a,
.pager button,
.page-pagination a,
.page-pagination button,
.page-switcher a,
.page-switcher button,
.page-controls a,
.page-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hy-border);
  border-radius: 9px;
  background: #fff;
  color: var(--hy-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.pagination a:hover,
.pagination button:hover,
.pager a:hover,
.pager button:hover,
.page-pagination a:hover,
.page-pagination button:hover,
.page-switcher a:hover,
.page-switcher button:hover,
.page-controls a:hover,
.page-controls button:hover {
  transform: translateY(-2px);
  border-color: var(--hy-brand-blue);
  color: var(--hy-brand-blue);
  box-shadow: var(--hy-shadow-sm);
}

.pagination .active,
.pagination .current,
.pager .active,
.pager .current,
.page-pagination .active,
.page-pagination .current,
.page-switcher .active,
.page-switcher .current,
.page-controls .active,
.page-controls .current {
  background: var(--hy-brand-blue);
  border-color: var(--hy-brand-blue);
  color: #fff;
}

.pagination .prev,
.pagination .next,
.pager .prev,
.pager .next,
.page-pagination .prev,
.page-pagination .next,
.page-switcher .prev,
.page-switcher .next,
.page-controls .prev,
.page-controls .next,
.pagination [rel="prev"],
.pagination [rel="next"],
.pager [rel="prev"],
.pager [rel="next"],
.page-pagination [rel="prev"],
.page-pagination [rel="next"],
.page-switcher [rel="prev"],
.page-switcher [rel="next"],
.page-controls [rel="prev"],
.page-controls [rel="next"] {
  position: relative;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.pagination .prev::before,
.pagination .next::before,
.pager .prev::before,
.pager .next::before,
.page-pagination .prev::before,
.page-pagination .next::before,
.page-switcher .prev::before,
.page-switcher .next::before,
.page-controls .prev::before,
.page-controls .next::before,
.pagination [rel="prev"]::before,
.pagination [rel="next"]::before,
.pager [rel="prev"]::before,
.pager [rel="next"]::before,
.page-pagination [rel="prev"]::before,
.page-pagination [rel="next"]::before,
.page-switcher [rel="prev"]::before,
.page-switcher [rel="next"]::before,
.page-controls [rel="prev"]::before,
.page-controls [rel="next"]::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: inherit;
}

.pagination .next::before,
.pager .next::before,
.page-pagination .next::before,
.page-switcher .next::before,
.page-controls .next::before,
.pagination [rel="next"]::before,
.pager [rel="next"]::before,
.page-pagination [rel="next"]::before,
.page-switcher [rel="next"]::before,
.page-controls [rel="next"]::before {
  color: var(--hy-primary);
  transform: rotate(45deg) translate(-1px, 1px);
}

.pagination .prev::before,
.pager .prev::before,
.page-pagination .prev::before,
.page-switcher .prev::before,
.page-controls .prev::before,
.pagination [rel="prev"]::before,
.pager [rel="prev"]::before,
.page-pagination [rel="prev"]::before,
.page-switcher [rel="prev"]::before,
.page-controls [rel="prev"]::before {
  color: var(--hy-primary);
  transform: rotate(-135deg) translate(-1px, 1px);
}

.pagination .next:hover::before,
.pagination .prev:hover::before,
.pager .next:hover::before,
.pager .prev:hover::before,
.page-pagination .next:hover::before,
.page-pagination .prev:hover::before,
.page-switcher .next:hover::before,
.page-switcher .prev:hover::before,
.page-controls .next:hover::before,
.page-controls .prev:hover::before,
.pagination [rel="next"]:hover::before,
.pagination [rel="prev"]:hover::before,
.pager [rel="next"]:hover::before,
.pager [rel="prev"]:hover::before,
.page-pagination [rel="next"]:hover::before,
.page-pagination [rel="prev"]:hover::before,
.page-switcher [rel="next"]:hover::before,
.page-switcher [rel="prev"]:hover::before,
.page-controls [rel="next"]:hover::before,
.page-controls [rel="prev"]:hover::before {
  color: var(--hy-brand-blue);
}

.cta-card {
  background: radial-gradient(circle at 85% 20%, rgba(47, 142, 245, .24), transparent 30%), linear-gradient(135deg, #102B63 0%, #071B42 100%);
  color: #F7FAFC;
  border-radius: 32px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.cta-card h2 { color: #fff; margin-bottom: 16px; }
.cta-card p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; }
.btn-cta {
  background: var(--hy-brand-blue);
  color: #fff;
  padding: 16px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 18px;
  transition: all .2s ease;
}
.btn-cta:hover { background: #fff; color: var(--hy-primary); transform: scale(1.05); }

body.lang-en .cta-card h2,
body.lang-th .cta-card h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.2;
  max-width: 18ch;
}

body.lang-en .cta-card p,
body.lang-th .cta-card p {
  font-size: 17px;
  line-height: 1.72;
  max-width: 62ch;
}

body.lang-en .btn-cta,
body.lang-th .btn-cta {
  min-height: 56px;
  height: auto;
  padding: 14px 30px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.site-footer { background: var(--hy-primary-dark); color: rgba(255,255,255,.6); padding: 80px 0 40px; }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.footer-logo img { width: 54px; height: 42px; object-fit: contain; }
.footer-brand p { font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 24px; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  text-align: right;
}
.footer-legal-links a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  white-space: nowrap;
}
.footer-legal-links a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .coop-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
  .footer-col:last-child { grid-column: span 3; }
  .cta-card { grid-template-columns: 1fr; padding: 48px; text-align: center; }
  .cta-card p { margin: 0 auto 32px; }
  body.lang-en .cta-card h2,
  body.lang-th .cta-card h2,
  body.lang-en .cta-card p,
  body.lang-th .cta-card p {
    max-width: none;
  }
}
@media (max-width: 1180px) {
  .nav-links,
  .lang-quick-switch {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
}
@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .coop-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .lang-quick-switch { display: none; }
  .mobile-toggle { display: block; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal-links { justify-content: center; text-align: center; }
  .stat-card strong { font-size: 34px; }
  .hy-card { padding: 22px; border-radius: 20px; }
  body.lang-en .cta-card h2,
  body.lang-th .cta-card h2 {
    font-size: clamp(26px, 8vw, 32px);
  }
  body.lang-en .cta-card p,
  body.lang-th .cta-card p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal-init {
    opacity: 1;
    transform: none;
  }
}
