:root {
  --bg: #01050a;
  --bg-soft: #eacfa4;
  --card: rgba(255, 255, 255, 0.94);
  --text: #0f172a;
  --text-dim: #475569;
  --primary: #0c2345;
  --primary-ink: #ffffff;
  --accent: #eacfa4;
  --border: rgba(255, 255, 255, 0.22);
  --heading-light: #f8fbff;
  --surface-shadow: 0 20px 45px rgba(1, 24, 54, 0.28);
}
/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #020d1f 0%, #eacfa4 100%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.6s ease-out, visibility 0.6s;
}

.loader-content {
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
}
.step-title img{width:100px;height:100px;}
.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  opacity: 0.9;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animation States */
#loading-screen.scatter .loader-content {
  transform: scale(3);
  opacity: 0;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Global Resets & Typography */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(900px 480px at 15% 8%, rgba(92, 211, 255, 0.16) 0%, rgba(92, 211, 255, 0) 60%),
    radial-gradient(800px 440px at 85% 12%, rgba(124, 255, 214, 0.14) 0%, rgba(124, 255, 214, 0) 62%),
    linear-gradient(135deg, #020d1f 0%, #243f6c 46%, #eacfa4 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Noto Sans TC", system-ui, -apple-system, "Microsoft JhengHei", "PingFang HK", "PingFang TC", "Source Han Sans", "Heiti TC", sans-serif;
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  flex-wrap: wrap;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .2),
    0 0 8px rgba(255, 255, 255, .22);
}
.btn.primary {
  background: linear-gradient(135deg, #020d1f 0%, #eacfa4 100%);
  color: var(--primary-ink);
  box-shadow: 0 14px 28px rgba(2, 42, 93, .34);
}
.btn.primary:hover {
  transform: translateY(-2px);
}
.btn.ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn.xl {
  padding: 16px 22px;
  font-size: 18px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s ease, border-color .28s ease, backdrop-filter .28s ease, box-shadow .28s ease;
}
.site-header.scrolled {
  backdrop-filter: saturate(150%) blur(6px);
  background: rgba(255, 255, 255, .75);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 26px rgba(2, 13, 31, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 78px;
  gap: 20px;
}
.brand {
  flex: 0 0 auto;
  margin-right: clamp(28px, 4vw, 72px);
}
.brand a {
  display: flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
}
.brand-mark {
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 18px;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin-right: clamp(28px, 4vw, 72px);
  flex-wrap: nowrap;
  white-space: nowrap;
}
html[lang^="en"] .site-header .header-inner {
  max-width: none;
  width: 100%;
  padding-left: 8px;
  padding-right: 18px;
}
html[lang^="en"] .brand {
  margin-right: clamp(18px, 2.6vw, 42px);
}
html[lang^="en"] .site-nav {
  justify-content: flex-start;
  margin-right: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  margin-left: 12px;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 1rem;
  white-space: nowrap;
}
.site-nav a:hover {
  background: rgba(2, 42, 93, .08);
}
.nav-services-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-nav .nav-services-trigger {
  margin-left: 12px;
}
.nav-services-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  min-width: 188px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(223, 182, 118, .35);
  box-shadow: 0 18px 36px rgba(2, 13, 31, .16);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 85;
}
.nav-services-dropdown:hover .nav-services-menu,
.nav-services-dropdown:focus-within .nav-services-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav .nav-services-menu a {
  display: flex;
  margin-left: 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #05172f;
  font-weight: 700;
}
.site-nav .nav-services-menu a:hover {
  background: rgba(5, 23, 47, .08);
}
.lang-switcher {
  position: relative;
  margin-left: 10px;
  flex: 0 0 auto;
}
.lang-switcher summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(223, 182, 118, .9);
  background: rgba(255, 255, 255, .92);
  color: #8e6236;
  box-shadow: 0 8px 18px rgba(2, 13, 31, .12);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.lang-switcher summary::-webkit-details-marker {
  display: none;
}
.lang-switcher summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(2, 13, 31, .16);
}
.lang-switcher[open] summary {
  background: #fff8ea;
}
.lang-switcher summary svg {
  width: 18px;
  height: 18px;
  display: block;
}
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 108px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(223, 182, 118, .42);
  box-shadow: 0 16px 34px rgba(2, 13, 31, .16);
  backdrop-filter: blur(14px);
  z-index: 80;
}
.site-nav .lang-switcher-menu a {
  display: flex;
  margin-left: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  color: #05172f;
  line-height: 1.1;
}
.site-nav .lang-switcher-menu a:hover {
  background: rgba(5, 23, 47, .08);
}
.site-nav .lang-switcher-menu a.is-active {
  background: #eacfa4;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(202, 147, 95, .22);
}
/* 桌面版導航列壓縮（981px 以上、行動版漢堡選單斷點以外）：
   nav 的 min-content 約 754px（中文）／885px（英文），在 981–1200px 會撐出水平滾動軸，
   故分兩段縮小 logo、連結字級與左右間距，使其在 981px 仍能完整塞入而不溢出 */
@media (min-width: 981px) and (max-width: 1280px) {
  .brand,
  html[lang^="en"] .brand {
    margin-right: 20px;
  }
  .brand img {
    height: 52px;
  }
  .site-nav a {
    margin-left: 4px;
    padding: 8px 5px;
    font-size: .9rem;
  }
  .site-nav .nav-services-trigger {
    margin-left: 4px;
  }
  .site-nav .nav-cta-btn {
    min-width: 112px;
    padding: 10px 12px;
    margin-left: 10px;
  }
  .lang-switcher {
    margin-left: 6px;
  }
  .lang-switcher summary {
    width: 38px;
    height: 38px;
  }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .brand,
  html[lang^="en"] .brand {
    margin-right: 12px;
  }
  .brand img {
    height: 46px;
  }
  .site-nav a {
    margin-left: 0;
    padding: 8px 4px;
    font-size: .84rem;
  }
  .site-nav .nav-services-trigger {
    margin-left: 0;
  }
  .site-nav .nav-cta-btn {
    min-width: 104px;
    padding: 8px 12px;
    margin-left: 6px;
  }
  .lang-switcher {
    margin-left: 4px;
  }
  .lang-switcher summary {
    width: 36px;
    height: 36px;
  }
}
.car-loan-page {
  background:
    radial-gradient(900px 480px at 15% 8%, rgba(92, 211, 255, 0.16) 0%, rgba(92, 211, 255, 0) 60%),
    radial-gradient(800px 440px at 85% 12%, rgba(124, 255, 214, 0.14) 0%, rgba(124, 255, 214, 0) 62%),
    linear-gradient(135deg, #020d1f 0%, #243f6c 46%, #eacfa4 100%);
  background-attachment: fixed;
}
.car-loan-page main {
  padding-bottom: 24px;
}
.car-loan-hero {
  position: relative;
  padding: 134px 0 72px;
  overflow: hidden;
}
.car-loan-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(234, 207, 164, .18) 0%, rgba(234, 207, 164, 0) 32%),
    linear-gradient(135deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 42%);
  pointer-events: none;
}
.car-loan-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 28px;
  align-items: stretch;
}
.car-loan-eyebrow,
.car-loan-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(234, 207, 164, .28);
  background: rgba(255, 255, 255, .06);
  color: #f7e8c5;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.car-loan-hero-copy h1 {
  margin: 20px 0 18px;
  color: #ffffff;
  font-size: clamp(2.6rem, 4.4vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.car-loan-hero-copy p,
.car-loan-section-head p,
.car-loan-feature-card p,
.car-loan-vehicle-card p,
.car-loan-process-card p,
.car-loan-cta-panel p,
.car-loan-offer-card p {
  color: rgba(255, 255, 255, .78);
}
.car-loan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.car-loan-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.car-loan-hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.car-loan-hero-panel,
.car-loan-info-panel,
.car-loan-cta-panel {
  border: 1px solid rgba(234, 207, 164, .22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.03) 100%),
    rgba(5, 19, 39, .82);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}
.car-loan-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}
.car-loan-offer-card {
  padding: 22px 22px 18px;
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(234, 207, 164, .16) 0%, rgba(234, 207, 164, .03) 48%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(234, 207, 164, .22);
}
.car-loan-offer-kicker {
  color: #f6e4ba;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.car-loan-offer-value {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #fffdf5 0%, #f8ebc7 20%, #e2bc84 58%, #cb935f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.car-loan-glance-card {
  display: grid;
  gap: 12px;
}
.car-loan-glance-row {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}
.car-loan-glance-row strong {
  color: #ffffff;
  font-size: .96rem;
}
.car-loan-glance-row span {
  color: rgba(255,255,255,.76);
}
.car-loan-metrics {
  padding: 0 0 28px;
}
.car-loan-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.car-loan-metric-card {
  padding: 22px 18px;
  border-radius: 22px;
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 34px rgba(2, 13, 31, .18);
}
.car-loan-metric-value {
  display: block;
  margin-bottom: 8px;
  color: #fff4d4;
  font-size: 1.8rem;
  font-weight: 900;
}
.car-loan-metric-label {
  color: rgba(255,255,255,.76);
  font-weight: 600;
}
.car-loan-section {
  padding: 56px 0;
}
.car-loan-section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,.025) 0%, rgba(255,255,255,.055) 100%);
}
.car-loan-section-head {
  max-width: 760px;
  margin-bottom: 30px;
}
.car-loan-section-head h2,
.car-loan-info-panel h2,
.car-loan-cta-panel h2 {
  margin: 16px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.16;
}
.car-loan-feature-grid,
.car-loan-vehicle-grid,
.car-loan-process-grid {
  display: grid;
  gap: 18px;
}
.car-loan-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.car-loan-vehicle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.car-loan-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.car-loan-feature-card,
.car-loan-vehicle-card,
.car-loan-process-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(234, 207, 164, .16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.03) 100%),
    rgba(4, 18, 37, .88);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
}
.car-loan-feature-card h3,
.car-loan-vehicle-card h3,
.car-loan-process-card h3 {
  margin: 0 0 12px;
  color: #fff7e6;
  font-size: 1.2rem;
}
.car-loan-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.car-loan-info-panel {
  padding: 30px 28px;
  border-radius: 28px;
}
.car-loan-checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.car-loan-checklist li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,.8);
  line-height: 1.72;
}
.car-loan-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8dd 0%, #e5c17e 55%, #c28a37 100%);
  box-shadow: 0 0 0 4px rgba(234, 207, 164, .08);
}
.car-loan-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7dd 0%, #e8c789 46%, #b97d2c 100%);
  color: #132540;
  font-weight: 900;
  letter-spacing: .08em;
}
.car-loan-faq h2 {
  color: #ffffff;
}
.car-loan-faq .faq-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
}
.car-loan-faq .faq-q {
  color: #fff7e6;
}
.car-loan-faq .faq-a {
  color: rgba(255,255,255,.78);
}
.car-loan-cta-section {
  padding: 14px 0 68px;
}
.car-loan-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 30px;
}
.car-loan-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.car-loan-cta-actions .footer-banner-btn {
  min-width: 220px;
}
/* produce 各貸款頁（樓宇／汽車／私人貸款）標題字級自適應：
   以 980px 為接合點（此寬度時與桌面字級相同），隨視窗收窄以 vw + rem 線性縮小，
   到 320px 時收至最小字級，避免手機上標題與桌面一樣大 */
@media (max-width: 980px) {
  .car-loan-hero-copy h1 {
    font-size: clamp(1.75rem, 2.06vw + 1.338rem, 2.6rem);
  }
  .car-loan-section-head h2,
  .car-loan-info-panel h2,
  .car-loan-cta-panel h2 {
    font-size: clamp(1.5rem, 1.212vw + 1.258rem, 2rem);
  }
  .car-loan-offer-value {
    font-size: clamp(1.5rem, 1.212vw + 1.258rem, 2rem);
  }
}
.bg {
  position: relative;
  margin-top: -78px;
  overflow: hidden;
}
.bg video {
  display: block;
  width: 100%;
  height: auto;
}
.hero {
  padding: 60px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 28px;
  align-items: stretch;
}
.hero-kicker {
  color: #111111;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-text h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.2;
  color: #111111;
  text-shadow: none;
}
.hero-text p {
  margin: 0 0 20px;
  color: #111111;
}
.hero-text {
  position: relative;
  min-height: 360px;
  padding: 18px 12px 26px 0;
}
.hero-text::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 680px;
  height: 360px;
  background-image: url('../img/ad.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
  opacity: .95;
  pointer-events: none;
  z-index: 0;
}
.hero-text > * {
  position: relative;
  z-index: 1;
}
.hero-actions {
  display: flex;
  gap: 12px;
}
.hero-actions .btn.primary {
  background: #eacfa4;
  color: #ffffff;
}
.hero-actions .btn.primary:hover {
  background: #f0d9b4;
}
.hero-actions .btn.ghost {
  background: #05172f;
  border-color: #05172f;
  color: #ffffff;
}
.hero-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 18%, rgba(255,255,255,0) 38%),
    linear-gradient(180deg, #01224d 0%, #022a5d 42%, #0b4b58 100%);
  border: 1px solid rgba(165, 229, 214, .18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 48px rgba(1, 18, 43, .34);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.11) 14%, rgba(255,255,255,.03) 32%, rgba(255,255,255,0) 52%),
    linear-gradient(90deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,.06) 56%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.hero-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -42%;
  width: 52%;
  height: 180%;
  background:
    linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 24%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.22) 50%, rgba(255,247,219,.46) 58%, rgba(255,255,255,.08) 68%, rgba(255,255,255,0) 100%);
  transform: rotate(11deg);
  pointer-events: none;
  filter: blur(.6px);
  mix-blend-mode: screen;
  animation: hero-card-shine 5.2s cubic-bezier(.22,.61,.36,1) infinite;
}
.hero-card .card-body::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 82% 0%, rgba(255,244,214,.14) 0%, rgba(255,244,214,0) 26%),
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 58%);
  pointer-events: none;
  opacity: .95;
}
.hero-card .card-head,
.hero-card .card-head.small,
.hero-card .result-value,
.hero-card .result-note,
.hero-card .input-value,
.hero-card .input-value input[type="number"],
.hero-card .card-body {
  position: relative;
  z-index: 1;
}
.hero-card .card-head,
.hero-card .result-value {
  color: #f8fbff;
}
.hero-card .card-head.small,
.hero-card .result-note,
.hero-card .input-value {
  color: rgba(255, 255, 255, .82);
}
.hero-card .input-value {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.hero-card .input-value input[type="number"] {
  color: #ffffff;
}
.hero-card input[type="range"] {
  accent-color: #d4a63a;
}
.hero-card .result-value {
  background: linear-gradient(180deg, #fffef7 0%, #fff7d8 30%, #f5df9b 62%, #cfa13b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(255, 226, 154, .12);
}
.hero-card #loanAmountRange::-webkit-slider-runnable-track,
.hero-card #loanTerm::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6e39a 0%, #d6a73c var(--range-progress, 50%), rgba(255,255,255,.96) var(--range-progress, 50%), rgba(255,255,255,.96) 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.4), 0 0 10px rgba(212, 166, 58, .24);
}
.hero-card #loanAmountRange::-webkit-slider-thumb,
.hero-card #loanTerm::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff9df 0%, #f3d57e 45%, #c58b1a 100%);
  border: 1px solid rgba(255, 245, 207, .9);
  box-shadow: 0 4px 12px rgba(172, 120, 15, .35);
}
.hero-card #loanAmountRange::-moz-range-track,
.hero-card #loanTerm::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6e39a 0%, #d6a73c var(--range-progress, 50%), rgba(255,255,255,.96) var(--range-progress, 50%), rgba(255,255,255,.96) 100%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.4), 0 0 10px rgba(212, 166, 58, .24);
}
.hero-card #loanAmountRange::-moz-range-thumb,
.hero-card #loanTerm::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff9df 0%, #f3d57e 45%, #c58b1a 100%);
  border: 1px solid rgba(255, 245, 207, .9);
  box-shadow: 0 4px 12px rgba(172, 120, 15, .35);
}
.card-head {
  font-weight: 700;
  margin-bottom: 10px;
}
.card-head.small {
  font-weight: 500;
  color: var(--text-dim);
}
.card-body .input-group {
  margin-bottom: 14px;
}
.input-value {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.input-value input[type="number"] {
  appearance: textfield;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 18px;
  width: 100%;
}
input[type="range"] {
  width: 100%;
}
select {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.result {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.result-value {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
}
.result-note {
  color: var(--text-dim);
  font-size: 12px;
}
.products {
  padding: 20px 0 10px;
}
.products-showcase {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1920 / 760;
  overflow: hidden;
}
.products-showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 100%);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--surface-shadow);
  backdrop-filter: blur(10px);
}
.product-title {
  font-weight: 700;
  margin-bottom: 6px;
}
.product-desc {
  color: var(--text-dim);
}
.apply-steps {
  padding: 0;
}
.apply-steps .container {
  max-width: none;
  padding: 0;
}
.apply-steps h2 {
  display: none;
}
.faq h2 {
  margin: 0 0 16px;
  font-size: 24px;
  color: var(--heading-light);
  text-shadow: 0 10px 24px rgba(1, 24, 54, .32);
}
.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 44px;
  align-items: center;
  justify-content: center;
}
.steps-image-wrap {
  /* 父層 .apply-steps .container 已是全寬（max-width: none; padding: 0），
     直接用 100% 即可滿版；若用 100vw 會多算垂直滾動條寬度（約 15px），
     造成右緣溢出而令頁面底部出現水平滾動軸 */
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.steps-image {
  display: block;
  width: 100%;
  height: auto;
}
.steps-apply-btn {
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 62px;
  padding: 0 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.2) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #fffdf5 0%, #f8ebc7 22%, #e2bc84 52%, #cb935f 76%, #f4ddba 100%);
  border: 2px solid rgba(223, 182, 118, .98);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 6px rgba(126, 72, 29, .2),
    0 10px 24px rgba(2, 49, 93, .26),
    0 0 0 2px rgba(255, 241, 210, .45);
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-decoration: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .5),
    0 2px 8px rgba(15, 23, 42, .35),
    0 0 12px rgba(255, 255, 255, .32);
  z-index: 5;
  white-space: nowrap;
}
.steps-apply-btn:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 8px rgba(126, 72, 29, .24),
    0 14px 28px rgba(2, 49, 93, .32),
    0 0 0 2px rgba(255, 245, 220, .54),
    0 0 18px rgba(240, 206, 149, .32);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.step,
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 100%);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--surface-shadow);
  position: relative;
  backdrop-filter: blur(10px);
}
.step {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-title,
.faq-q {
  font-weight: 600;
  cursor: pointer;
}
.step {
  text-align: center;
}
.step-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0 auto 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.step-text {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  padding: 0 10px;
}
.step:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .15);
}
.step::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  width: 68px;
  height: 68px;
  background-image: url('../img/right.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .85;
  z-index: 20;
  pointer-events: none;
  animation: arrow-flow 1.2s ease-in-out infinite alternate;
}
.step:last-child::after {
  display: none;
}

.steps-grid .step:nth-child(1)::after {
  animation-delay: 0s;
}
.steps-grid .step:nth-child(2)::after {
  animation-delay: 0.25s;
}
.steps-grid .step:nth-child(3)::after {
  animation-delay: 0.5s;
}
.steps-grid .step:nth-child(4)::after {
  animation-delay: 0.75s;
}

@keyframes arrow-flow {
  from {
    transform: translateY(-50%) translateX(0);
    opacity: .4;
  }
  to {
    transform: translateY(-50%) translateX(8px);
    opacity: 1;
  }
}
@keyframes hero-card-shine {
  0% {
    transform: translateX(-32%) rotate(11deg);
    opacity: .1;
  }
  18% {
    opacity: .28;
  }
  42% {
    opacity: .88;
  }
  58% {
    opacity: .42;
  }
  100% {
    transform: translateX(255%) rotate(11deg);
    opacity: .08;
  }
}
.step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-media img {
  display: block;
  max-width: 120px;
  width: 100%;
  height: auto;
  margin-top: 4px;
}
.faq-q::after {
  content: "▾";
  color: var(--text-dim);
  transition: transform .2s ease;
}
.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}
.faq-a {
  color: var(--text-dim);
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .25s ease, opacity .2s ease, margin-top .2s ease;
}
.faq-item.open .faq-a {
  opacity: 1;
  margin-top: 6px;
}
.contact {
  padding: 30px 0 50px;
}
.about-section {
  padding: 40px 0;
  background: transparent;
}
.about-section h2 {
  margin: 0 0 20px;
  font-size: 24px;
  color: var(--heading-light);
  text-shadow: 0 10px 24px rgba(1, 24, 54, .32);
}
.about-content {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  backdrop-filter: none;
}
.about-content2 img {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(2, 13, 31, .28)) drop-shadow(0 0 10px rgba(234, 207, 164, .18));
}
.about-content3 img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
}
.about-content p {
  margin-bottom: 1em;
  line-height: 1.8;
  color: #ffffff;
}
.about-content p:last-child {
  margin-bottom: 0;
}
/* 「顯示更多」按鈕只在移動端出現；「收起」標籤預設隱藏 */
.about-more-btn {
  display: none;
}
.about-more-label-less {
  display: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 16px;
  align-items: start;
}
.contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.contact-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-list {
  display: grid;
  gap: 10px;
}
.contact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 50px;
}
.contact-label {
  color: #ffffff;
}
.contact-label2 {
  color: #ffffff;
  white-space: nowrap;
}
.contact-value {
  color: #ffffff;
}
.contact-cta {
  display: flex;
  align-items: left;
  justify-content: left;
}
.contact-cta .btn.primary {
  background: #eacfa4;
  color: #ffffff;
}
.contact-cta .btn.primary:hover {
  background: #f0d9b4;
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 100%);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--surface-shadow);
  backdrop-filter: blur(10px);
}
.map-card iframe {
  border: 0;
  width: 100%;
  height: 260px;
}
.map-footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px;
}
.map-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
.map-link:hover {
  text-decoration: underline;
}
.site-footer-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  overflow: hidden;
  background: transparent;
}
.footer-banner {
  /* footer iframe 本身已是滿寬（scrolling="no"，無垂直滾動條），
     用 100% 即可滿版；若用 100vw 會多算滾動條寬度而造成右緣溢出 */
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  position: relative;
}
.footer-banner-image {
  display: block;
  width: 100%;
  height: auto;
}
.footer-banner-actions {
  position: absolute;
  left: calc(50% - 200px);
  bottom: calc(11% + 30px);
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.footer-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  height: 72px;
  padding: 0 34px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.2) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #fffdf5 0%, #f8ebc7 22%, #e2bc84 52%, #cb935f 76%, #f4ddba 100%);
  border: 2px solid rgba(223, 182, 118, .98);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 6px rgba(126, 72, 29, .2),
    0 10px 24px rgba(2, 49, 93, .26),
    0 0 0 2px rgba(255, 241, 210, .45);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .48),
    0 2px 8px rgba(15, 23, 42, .35),
    0 0 12px rgba(255, 255, 255, .34);
  white-space: nowrap;
}
.footer-banner-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 8px rgba(126, 72, 29, .24),
    0 14px 28px rgba(2, 49, 93, .32),
    0 0 0 2px rgba(255, 245, 220, .54),
    0 0 18px rgba(240, 206, 149, .32);
}
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, rgba(2, 49, 93, .84) 0%, rgba(209, 172, 112, .86) 100%);
  backdrop-filter: blur(10px);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, .82);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer-col p {
  line-height: 1.6;
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}
.footer-social-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #d7fff1;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.footer-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.75rem;
}
.footer-copy {
  font-size: 0.5rem;
}

/* 提防詐騙提示：置於底部欄最下方（版權列之上） */
.anti-fraud {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-left: 4px solid #ffd489;
  border-radius: 12px;
  background: rgba(2, 26, 56, .34);
  color: rgba(255, 255, 255, .9);
  font-size: 0.82rem;
  line-height: 1.7;
}
.anti-fraud-title {
  margin: 0 0 10px;
  color: #ffd489;
  font-size: 0.95rem;
  font-weight: 700;
}
.anti-fraud p {
  margin: 0 0 8px;
}
.anti-fraud p:last-child {
  margin-bottom: 0;
}
.anti-fraud a {
  color: #ffe6b8;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.anti-fraud a:hover {
  text-decoration: underline;
}

.warning-text {
  color: #f8f3dc;
  /* 自適應：對齊底部廣告大圖（img/d.png）內最大文字（字形高度約為圖寬 5.56%），
     字級改為隨視窗寬度等比縮放（約 6.25vw，1440px 時為 90px），
     大螢幕以 90px 封頂以維持單行，手機端則會同步縮小不會再與桌面一樣大 */
  font-size: clamp(20px, 6.25vw, 90px);
  font-weight: 700;
  width: fit-content;
  /* 長英文字（如 intermediaries.）需可斷行，避免撐破容器 */
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0 auto 20px;
  padding: 0;
  /* 顏色取自該圖最大文字的金色漸層：核心 #ddbd87、高光 #fde0af */
  background: linear-gradient(180deg, #ffffff );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 14px rgba(221, 189, 135, .22);
}

.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .14);
  border: 1px solid var(--border);
  color: var(--primary-ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease, visibility .2s ease;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
}
.fab.whatsapp {
  background: #25D366;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .25),
    0 0 8px rgba(255, 255, 255, .2);
}
.fab.totop {
  background: #eacfa4;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .25),
    0 0 8px rgba(255, 255, 255, .2);
  bottom: 92px;
  opacity: 0;
  visibility: hidden;
}
.fab.totop.show {
  opacity: 1;
  visibility: visible;
}
.fab svg {
  width: 24px;
  height: 24px;
}

@keyframes arrow-flow-down {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: .4;
  }
  to {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

/* Form Styles */
.apply-form-section {
  padding: 60px 0;
  background: transparent;
}
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--surface-shadow);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(12px);
}
.form-container h1 {
  margin: 0 0 10px;
  text-align: center;
  color: var(--text);
  font-size: 32px;
}
.form-intro {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.form-section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type {
  border-bottom: none;
}
.form-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
}
.form-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  margin-right: 10px;
  border-radius: 2px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.required {
  color: #ef4444;
}
.form-group input,
.form-group select {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #ffffff;
  width: 100%;
}
.form-group input[inputmode="numeric"] {
  appearance: none;
  -moz-appearance: textfield;
}
.form-group input[inputmode="numeric"]::-webkit-outer-spin-button,
.form-group input[inputmode="numeric"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33, 121, 83, .16);
}
.form-actions {
  text-align: center;
  margin-top: 20px;
}
.form-actions button {
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  border: none;
  font-size: 18px;
}

/* Nav CTA Button */
.site-nav .nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 10px 18px;
  border-radius: 99px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.2) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #fffdf5 0%, #f8ebc7 22%, #e2bc84 52%, #cb935f 76%, #f4ddba 100%);
  border: 2px solid rgba(223, 182, 118, .98);
  color: #ffffff;
  font-weight: 700;
  margin-left: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 6px rgba(126, 72, 29, .2),
    0 10px 24px rgba(2, 49, 93, .26),
    0 0 0 2px rgba(255, 241, 210, .3);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .48),
    0 2px 8px rgba(15, 23, 42, .35),
    0 0 12px rgba(255, 255, 255, .32);
}
.site-nav .nav-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.98),
    inset 0 -2px 8px rgba(126, 72, 29, .24),
    0 14px 28px rgba(2, 49, 93, .32),
    0 0 0 2px rgba(255, 245, 220, .44),
    0 0 18px rgba(240, 206, 149, .28);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-container {
    padding: 24px;
  }
}

@media (max-width: 980px) {
  .car-loan-hero {
    padding: 120px 0 56px;
  }
  .car-loan-hero-inner,
  .car-loan-feature-grid,
  .car-loan-vehicle-grid,
  .car-loan-process-grid,
  .car-loan-info-grid,
  .car-loan-cta-panel {
    grid-template-columns: 1fr;
  }
  /* 移動端：四個數據卡縮小並排在同一行 */
  .container.car-loan-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .car-loan-metric-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 6px;
    border-radius: 14px;
  }
  .car-loan-metric-value {
    margin-bottom: 4px;
    font-size: 1.05rem;
  }
  .car-loan-metric-label {
    font-size: .68rem;
    line-height: 1.3;
  }
  .car-loan-cta-panel {
    padding: 28px 22px;
  }
  .car-loan-cta-actions {
    justify-content: flex-start;
  }
  .car-loan-hero-panel {
    padding: 22px;
  }

  /* 移動端：取消影片上移，讓影片與頂部導航欄保持上下間距而不重疊 */
  .bg {
    margin-top: 0;
    padding-top: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  /* 移動端：縮小 hero 文字與貸款計算卡片，避免內容超出畫面 */
  .hero {
    padding: 36px 0 28px;
  }
  .hero-text {
    min-height: 260px;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .hero-kicker {
    font-size: 14px;
  }
  .hero-text h1 {
    font-size: 26px;
    margin-bottom: 6px;
  }
  .hero-text p {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .hero-card {
    padding: 14px;
    border-radius: 16px;
  }
  .hero-card .card-head {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .hero-card .input-value {
    padding: 8px 10px;
  }
  .hero-card .input-value input[type="number"] {
    font-size: 16px;
  }
  .hero-card .result-value {
    font-size: 19px;
    word-break: break-word;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 40px;
  }
  .products-showcase {
    aspect-ratio: 1920 / 900;
  }
  /* 移動端：底部橫幅兩按鈕維持與 PC 一致的相對位置
     PC 為 left: calc(50% - 200px) / bottom: calc(11% + 30px)，換算成橫幅寬高的比例即
     中心左偏 14.035%、距圖底 14.74%；尺寸同樣改為隨機寬等比縮放：390px 每個約 90×26 */
  .footer-banner-actions {
    left: calc(50% - 14.035%);
    width: max-content;
    max-width: calc(100% - 24px);
    gap: clamp(5px, 1.5vw, 12px);
    bottom: 14.74%;
    transform: translateX(-50%);
    flex-wrap: nowrap;
  }
  .footer-banner-btn {
    flex: 0 0 auto;
    min-width: clamp(76px, calc(36px + 10vw), 132px);
    min-height: clamp(26px, calc(12px + 3.4vw), 42px);
    height: auto;
    padding: clamp(4px, 0.8vw, 9px) clamp(6px, 1.3vw, 14px);
    font-size: clamp(0.58rem, calc(0.4rem + 0.86vw), 0.8rem);
    letter-spacing: .02em;
    line-height: 1.25;
    white-space: normal;
  }
  .steps-image-wrap {
    max-width: 100%;
    padding: 0;
  }
  /* 移動端：立即申請按鈕維持與 PC 一致的相對位置（絕對定位疊在流程圖上、水平置中、距圖底 8.5%），
     尺寸改為隨機寬等比縮放：390px 約 80×26、768px 約 124×41，桌面尺寸再放大一級 */
  .steps-apply-btn {
    position: absolute;
    left: 50%;
    bottom: 8.5%;
    transform: translateX(-50%);
    display: inline-flex;
    width: auto;
    min-width: clamp(78px, calc(36px + 11.4vw), 130px);
    max-width: calc(100% - 24px);
    margin: 0;
    min-height: clamp(25px, calc(10px + 4vw), 42px);
    height: auto;
    padding: 0 clamp(9px, 1.8vw, 20px);
    font-size: clamp(0.65rem, calc(0.43rem + 1.02vw), 0.95rem);
    letter-spacing: .1em;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
  }
  .steps-apply-btn:hover {
    transform: translateX(-50%) translateY(-2px);
  }
  .step {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }
  .step::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -35px;
    transform: translateX(-50%);
    animation: arrow-flow-down 1.2s ease-in-out infinite alternate;
  }
  .hero-text::after {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: .9;
    right: auto;
    left: 0;
    top: 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    margin-right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 12px;
    gap: 8px;
    z-index: 60;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    margin-left: 0;
    padding: 12px 16px;
    border-radius: 12px;
  }
  .site-nav .nav-cta-btn {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .nav-services-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav .nav-services-trigger {
    width: 100%;
    margin-left: 0;
  }
  /* 移動端：「貸款服務」子選單預設摺叠，只有點擊觸發器加上 .open 才展開 */
  .nav-services-menu {
    display: none;
    position: static;
    min-width: 100%;
    margin-top: 6px;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
  }
  .site-nav .nav-services-dropdown.open .nav-services-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .site-nav .nav-services-menu a {
    justify-content: flex-start;
    padding: 10px 16px;
    background: rgba(2, 42, 93, .05);
  }
  /* 移動端：語言切換選單改為內嵌展開（原本絕對定位會被 .site-nav 的 overflow 裁切） */
  .site-nav .lang-switcher {
    margin-left: 0;
    align-self: stretch;
  }
  .lang-switcher summary {
    width: 40px;
    height: 40px;
  }
  .lang-switcher-menu {
    position: static;
    min-width: 100%;
    margin-top: 6px;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-nav .lang-switcher-menu a {
    justify-content: flex-start;
    text-align: left;
    padding: 10px 16px;
    background: rgba(2, 42, 93, .05);
  }
  .car-loan-actions,
  .car-loan-hero-badges {
    gap: 12px;
  }
  /* 汽車貸款頁的 CTA 兩按鈕：不再強制滿寬，改為與全站一致地隨機寬等比縮放 */
  .car-loan-cta-actions .footer-banner-btn {
    flex: 0 1 auto;
    min-width: clamp(96px, calc(56px + 12vw), 160px);
  }
  .brand img {
    height: 52px;
  }
  .hero-actions,
  .car-loan-actions,
  .contact-cta {
    width: 100%;
  }
  /* 移動端：兩個按鈕縮小並排在同一行 */
  .hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 11px 12px;
    font-size: .9rem;
  }
  .contact-cta .btn.primary,
  .car-loan-actions .btn {
    width: 100%;
  }
  .form-actions button {
    max-width: 100%;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 關於我們：文字在左、gs2 展示圖在右並水平對齊；多餘文字摺叠為「顯示更多」 */
  .about-content {
    columns: 1 !important;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }
  .about-content2,
  .about-content3 {
    min-width: 0;
  }
  /* 左欄變窄，避免 logo 超出欄寬 */
  .about-content2 img {
    max-width: 100%;
  }
  /* 第一段超出 6 行的部分摺叠 */
  .about-content2 > p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .about-content2.is-expanded > p:first-of-type {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  /* 移動端預設只顯示第一段 */
  .about-content2 > p:nth-of-type(n + 2) {
    display: none;
  }
  .about-content2.is-expanded > p:nth-of-type(n + 2) {
    display: block;
  }
  .about-more-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
  }
  .about-content2.is-expanded .about-more-label-more {
    display: none;
  }
  .about-content2.is-expanded .about-more-label-less {
    display: inline;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  /* 英文版句子較長，字級再收一級才能完整顯示（同樣隨機寬等比縮放） */
  html[lang^="en"] .warning-text {
    font-size: clamp(14px, 2.5vw, 36px);
  }
  /* 移動端底部欄：第一列「聯繫方式 + 網上營業時間」，第二列「關於我們 + 公司資料」 */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > .footer-col:nth-child(1) {
    order: 3;
  }
  .footer-grid > .footer-col:nth-child(2) {
    order: 1;
  }
  .footer-grid > .footer-col:nth-child(3) {
    order: 4;
  }
  .footer-grid > .footer-col:nth-child(4) {
    order: 2;
  }
  /* 欄位變窄，長字串（如電郵）需可斷行，避免壓到右欄 */
  .footer-links li {
    overflow-wrap: anywhere;
  }
  /* 移動端提防詐騙提示：收窄內距與字級，保持可讀 */
  .anti-fraud {
    padding: 14px 14px;
    margin-bottom: 22px;
    font-size: 0.78rem;
    line-height: 1.65;
  }
  .anti-fraud-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  .fab {
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .fab.totop {
    bottom: 88px;
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .hero-text::after {
    opacity: .85;
  }
  .hero-text h1 {
    font-size: 22px;
  }
  .hero-card .result-value {
    font-size: 17px;
  }
  /* 小螢幕：橫幅兩按鈕尺寸已由 clamp 隨機寬縮放，這裡只需再收窄間距 */
  .footer-banner-actions {
    gap: 4px;
  }
  .steps-apply-btn {
    padding: 0 clamp(9px, 1.6vw, 16px);
  }
  .btn.xl {
    padding: 14px 18px;
    font-size: 16px;
  }
  .fab {
    right: 12px;
    width: 48px;
    height: 48px;
  }
  .fab svg {
    width: 22px;
    height: 22px;
  }
  .fab.totop {
    bottom: 84px;
  }
}

/* Auth Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); 
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 100%);
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: var(--surface-shadow);
  animation: modalSlideIn 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(12px);
}

@keyframes modalSlideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.auth-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 2px solid #e2e8f0;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-form h3 {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text);
  font-size: 1.25rem;
}

.full-width {
  width: 100%;
  margin-top: 16px;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.auth-form input:focus {
  border-color: var(--primary);
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.news-page {
  padding-top: 124px;
  padding-bottom: 80px;
}

.news-hero,
.news-detail-section {
  padding: 24px 0 10px;
}

.news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-hero h1,
.news-detail-head h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.news-hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.05rem;
}

.news-list-section {
  padding-top: 18px;
}

.news-list-shell,
.news-detail-shell {
  display: grid;
  gap: 18px;
}

.news-state-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
  text-align: center;
  box-shadow: 0 24px 60px rgba(2, 42, 93, .18);
}

.news-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(2, 42, 93, .16);
  text-decoration: none;
  color: #0f172a;
  transition: transform .22s ease, box-shadow .22s ease;
}

.news-strip:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(2, 42, 93, .22);
}

.news-strip-image {
  width: 100%;
  height: 118px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(2, 49, 93, .9) 0%, rgba(209, 172, 112, .9) 100%);
}

.news-strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-strip-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.news-strip-title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.5;
}

.news-strip-date,
.news-detail-date {
  justify-self: end;
  font-size: .98rem;
  font-weight: 700;
  color: #022a5d;
}

.news-detail-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 26px 60px rgba(2, 42, 93, .18);
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  color: #eacfa4;
  font-weight: 700;
  text-decoration: none;
}

.news-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.news-detail-head .news-kicker {
  background: rgba(2, 42, 93, .08);
  color: #022a5d;
}

.news-detail-head h1 {
  color: #0f172a;
  margin-top: 12px;
  margin-bottom: 0;
}

.news-detail-cover {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 26px;
  background: #e2e8f0;
}

.news-detail-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.news-detail-body {
  display: grid;
  gap: 24px;
}

.news-content-block {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(2, 42, 93, .08);
}

.news-content-image {
  margin-bottom: 18px;
  border-radius: 20px;
  overflow: hidden;
  background: #e2e8f0;
}

.news-content-image img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.news-content-video {
  margin-bottom: 18px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.news-content-video video {
  width: 100%;
  max-height: 560px;
  display: block;
}

.news-content-text {
  color: #111111;
  font-size: 1rem;
  line-height: 1.95;
  white-space: pre-wrap;
}

.news-content-text p,
.news-content-text div {
  margin: 0 0 1em;
}

.news-content-text p:last-child,
.news-content-text div:last-child {
  margin-bottom: 0;
}

.news-content-text a {
  color: #0b57d0;
  text-decoration: none;
  word-break: break-word;
}

.news-content-text a:hover {
  color: #0946a8;
}

.news-related {
  margin-top: 46px;
}

.news-related-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.news-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.news-related-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(2, 42, 93, .16);
  text-decoration: none;
  color: #0f172a;
  transition: transform .22s ease, box-shadow .22s ease;
}

.news-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(2, 42, 93, .24);
}

.news-related-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(2, 49, 93, .9) 0%, rgba(209, 172, 112, .9) 100%);
}

.news-related-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .34s ease;
}

.news-related-card:hover .news-related-image img {
  transform: scale(1.06);
}

.news-related-body {
  display: grid;
  gap: 8px;
  padding: 18px 20px 22px;
}

.news-related-date {
  font-size: .82rem;
  color: #64748b;
}

.news-related-heading {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-share {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(2, 42, 93, .12);
}

.news-share-label {
  color: #0f172a;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.news-share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(2, 42, 93, .06);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(2, 42, 93, .22);
}

.news-share-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-share-hint {
  margin-top: 12px;
  color: #475569;
  font-size: .85rem;
}

.terms-page {
  padding-top: 118px;
  padding-bottom: 80px;
}

.terms-hero {
  padding: 24px 0 10px;
}

.terms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.terms-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #fff;
}

.terms-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, .8);
  font-size: 1.02rem;
}

.terms-shell {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.terms-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(2, 42, 93, .16);
}

.terms-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 1.4rem;
}

.terms-card p {
  margin: 0 0 1rem;
  color: #334155;
  line-height: 1.9;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.terms-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  line-height: 1.9;
}

.terms-list li + li {
  margin-top: .6rem;
}

.terms-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.terms-highlight {
  padding: 20px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(2, 42, 93, .08);
}

.terms-highlight strong {
  display: block;
  margin-bottom: 10px;
  color: #022a5d;
  font-size: 1rem;
}

.terms-note {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(2, 42, 93, .05);
  border: 1px solid rgba(2, 42, 93, .08);
  color: #334155;
}

@media (max-width: 900px) {
  .news-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-strip-date,
  .news-detail-date {
    justify-self: start;
  }

  .news-detail-head {
    flex-direction: column;
  }

  .terms-highlight-grid {
    grid-template-columns: 1fr;
  }
}
