:root {
  --color-primary: #004f9f;
  --color-primary-deep: #00306f;
  --color-primary-bright: #0b75d9;
  --color-cyan: #00a3c7;
  --color-accent: #56a8ff;
  --color-accent-dark: #0b5fb8;
  --color-apply: #7dbd2b;
  --color-apply-dark: #5f9f17;
  --color-orange: #f59b20;
  --color-purple: #073b82;
  --color-bg: #f4f7fb;
  --color-bg-soft: #e8f2fb;
  --color-bg-panel: #ffffff;
  --color-surface: #ffffff;
  --color-surface-strong: #ffffff;
  --color-border: rgba(0, 67, 130, 0.14);
  --color-border-bright: rgba(0, 87, 184, 0.34);
  --color-text: #10233f;
  --color-text-muted: #5d7088;
  --color-legal: #2f5532;
  --color-warning: #b7791f;
  --color-success: #25b86f;
  --shadow-blue: 0 20px 58px rgba(0, 79, 159, 0.16);
  --shadow-card: 0 12px 34px rgba(20, 60, 112, 0.1);
  --radius-card: 8px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 12% 12%, rgba(0, 79, 159, 0.08), transparent 28%),
    var(--color-bg);
  font-family: "Noto Sans HK", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

html[lang="zh-Hans-HK"] body,
html[lang="zh-Hans-HK"] button,
html[lang="zh-Hans-HK"] input,
html[lang="zh-Hans-HK"] select,
html[lang="zh-Hans-HK"] textarea {
  font-family: "Noto Sans SC", "Noto Sans HK", "PingFang SC", "Microsoft YaHei", "PingFang HK", sans-serif;
}

html[lang="en-HK"] body {
  font-family: "Noto Sans HK", Arial, Helvetica, sans-serif;
}

html[lang="en-HK"] .compliance-warning-title {
  white-space: nowrap;
}

html[lang="en-HK"] .compliance-warning-title .mobile-break {
  display: block;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--color-cyan);
  border-radius: 6px;
  transition: top 0.2s ease;
}

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

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 78px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(234, 244, 255, 0.78), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(0, 87, 184, 0.04), transparent 40%, rgba(0, 169, 214, 0.05));
  border-top: 1px solid rgba(0, 67, 130, 0.08);
  border-bottom: 1px solid rgba(0, 67, 130, 0.08);
}

.section-header {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--color-primary);
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-header.center .eyebrow {
  margin-inline: auto;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
.hero-title {
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.18;
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: 0;
}

.lead {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-cyan {
  color: var(--color-cyan);
}

.text-warning {
  color: var(--color-warning);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  min-height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 67, 130, 0.14);
  box-shadow: 0 8px 26px rgba(20, 60, 112, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(20, 60, 112, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 390px;
}

.brand-logo {
  width: 126px;
  height: 38px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
  width: min(250px, 22vw);
  min-width: 0;
  min-inline-size: 0;
}

.brand-name {
  color: var(--color-text);
  font-size: clamp(1.02rem, 0.92rem + 0.48vw, 1.24rem);
  font-weight: 900;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[lang="en-HK"] .brand-name {
  font-size: clamp(0.94rem, 0.78rem + 0.38vw, 1.08rem);
}

html[lang="en-HK"] .brand-license {
  font-size: clamp(0.64rem, 0.56rem + 0.18vw, 0.72rem);
}

html[lang="zh-Hans-HK"] .brand-name {
  font-family: "Noto Sans SC", "Microsoft YaHei", "Noto Sans HK", sans-serif;
  font-weight: 900;
}

.brand-license {
  color: var(--color-text-muted);
  font-size: clamp(0.68rem, 0.62rem + 0.22vw, 0.78rem);
  font-weight: 620;
  line-height: 1.18;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  flex: 1 1 520px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

html[lang="en-HK"] .desktop-nav {
  justify-content: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 8px;
  color: #214366;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 650;
  white-space: nowrap;
}

html[lang="en-HK"] .nav-link {
  justify-content: center;
  width: auto;
  min-height: 42px;
  padding: 0 6px;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(0, 79, 159, 0.06);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 max-content;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
  z-index: 2;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 74px;
  width: 74px;
  padding: 0 12px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(20, 60, 112, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--color-border-bright);
  box-shadow: 0 14px 34px rgba(0, 87, 184, 0.16);
}

.language-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.language-switcher.is-open .language-toggle svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 96px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 67, 130, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 60, 112, 0.16);
  backdrop-filter: blur(12px);
}

.language-switcher.is-open .language-menu {
  display: grid;
  gap: 2px;
}

.language-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: #214366;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-active {
  color: var(--color-primary);
  background: rgba(0, 87, 184, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(20, 60, 112, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-bright);
  box-shadow: 0 16px 40px rgba(0, 87, 184, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  border-color: rgba(0, 87, 184, 0.22);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 87, 184, 0.2);
}

html[lang="en-HK"] .header-apply {
  min-width: 112px;
  min-height: 44px;
  padding: 0 14px;
  font-size: clamp(0.86rem, 0.72rem + 0.28vw, 0.96rem);
  font-weight: 880;
  white-space: nowrap;
}

.btn-apply {
  background: linear-gradient(135deg, var(--color-apply), var(--color-apply-dark));
  border-color: rgba(95, 159, 23, 0.26);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(95, 159, 23, 0.22);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  border-color: rgba(0, 87, 184, 0.16);
  color: #ffffff;
}

.btn-outline {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 87, 184, 0.22);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-border-bright);
  box-shadow: 0 14px 34px rgba(0, 87, 184, 0.16);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 850;
  display: none;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 67, 130, 0.12);
  backdrop-filter: blur(18px);
}

.mobile-panel-inner {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 18px 0 22px;
  text-align: left;
}

.mobile-panel .nav-link {
  justify-content: flex-start;
  width: 100%;
  min-height: 48px;
  text-align: left;
}

.mobile-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 10px;
}

.hero {
  position: relative;
  min-height: clamp(760px, 86vh, 880px);
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 67, 130, 0.1);
  background:
    linear-gradient(90deg, #eff7ff 0%, #ffffff 62%, #edf5fb 100%),
    var(--color-bg-soft);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(64vw, 1210px);
  background:
    linear-gradient(90deg, #00305f 0%, #004a91 44%, rgba(0, 102, 190, 0.54) 68%, rgba(86, 168, 255, 0.2) 84%, rgba(86, 168, 255, 0) 100%),
    radial-gradient(circle at 44% 48%, rgba(86, 168, 255, 0.18), transparent 34%);
  z-index: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 8px;
  background: linear-gradient(90deg, var(--color-accent), #d9f13b, var(--color-primary));
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 34, 82, 0.24), rgba(0, 48, 111, 0.04) 36%, transparent 52%),
    radial-gradient(circle at 30% 82%, rgba(125, 189, 43, 0.08), transparent 16%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media::after {
  content: "TheONE";
  position: absolute;
  left: clamp(18px, 4vw, 72px);
  bottom: clamp(46px, 6vw, 88px);
  z-index: 2;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(3.2rem, 7.2vw, 7.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transform: translateY(52px) scale(0.965);
  transform-origin: right bottom;
  filter: saturate(1.02) contrast(1.02);
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: clamp(760px, 86vh, 880px);
}

.hero-content {
  max-width: 580px;
  padding: 64px 0 110px;
  color: #ffffff;
}

.hero-content::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 6px;
}

.hero .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero .btn-outline,
.hero .btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn {
  position: relative;
  min-height: 50px;
  padding: 0 20px;
  border-width: 2px;
  border-radius: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow:
    0 16px 34px rgba(0, 20, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-actions .btn::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero-actions .btn-apply {
  min-height: 54px;
  padding-inline: 24px;
  background: linear-gradient(135deg, #8ccf37, #4f9414);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 18px 38px rgba(78, 148, 20, 0.42),
    0 0 0 1px rgba(76, 141, 19, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-actions .btn-outline {
  color: #06366f;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 34px rgba(0, 20, 60, 0.24),
    0 0 0 1px rgba(0, 79, 159, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero-actions .btn-ghost {
  color: #ffffff;
  background: rgba(0, 38, 84, 0.72);
  border-color: rgba(255, 255, 255, 0.66);
}

.hero-actions .btn:hover,
.hero-actions .btn:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 22px 46px rgba(0, 20, 60, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-title {
  margin-top: 16px;
  color: #ffffff;
  font-size: var(--hero-title-size, clamp(2.24rem, 4.08vw, 3.92rem));
  font-weight: 900;
  line-height: 1.06;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 0 rgba(0, 19, 54, 0.34),
    0 16px 34px rgba(0, 12, 44, 0.48),
    0 0 24px rgba(86, 168, 255, 0.26);
}

.hero-title .accent {
  color: #d3ebff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(84, 164, 255, 0.56),
    0 12px 26px rgba(0, 24, 76, 0.34);
}

.hero-title-break-mobile {
  display: none;
}

.hero-advisor-note {
  position: absolute;
  right: max(42px, calc((100vw - var(--container)) / 2 + 30px));
  bottom: clamp(92px, 11vh, 128px);
  z-index: 4;
  display: grid;
  justify-items: end;
  gap: 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.72rem, 0.7vw, 0.88rem);
  font-weight: 650;
  line-height: 1.22;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 24, 64, 0.38);
}

.hero-advisor-note strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 3px;
  padding: 2px 10px 3px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(86, 168, 255, 0.08)),
    rgba(0, 48, 111, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: clamp(0.96rem, 1.08vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  box-shadow:
    0 10px 24px rgba(0, 24, 64, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  text-shadow:
    0 1px 0 rgba(0, 22, 62, 0.42),
    0 0 14px rgba(255, 255, 255, 0.36);
}

.hero-advisor-note small {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.58rem, 0.58vw, 0.72rem);
  font-weight: 600;
}

.hero-copy {
  max-width: 540px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.04rem, 1.52vw, 1.2rem);
  font-weight: 600;
  line-height: 1.8;
  text-shadow: 0 8px 20px rgba(0, 16, 54, 0.42);
}

@media (min-width: 901px) {
  html[lang^="zh"] .hero-copy {
    max-width: min(72vw, 760px);
    white-space: nowrap;
  }
}

html[lang="en-HK"] .hero-content {
  max-width: 660px;
}

html[lang="en-HK"] .hero-title {
  font-size: var(--hero-title-size, clamp(2.8rem, 4.7vw, 4.9rem));
  line-height: 1;
  white-space: normal;
}

html[lang="en-HK"] .hero-copy {
  max-width: 600px;
  font-size: clamp(1.08rem, 1.22vw, 1.24rem);
  line-height: 1.52;
}

html[lang="en-HK"] .hero-trust {
  gap: 8px 14px;
  margin-top: 18px;
}

html[lang="en-HK"] .trust-pill {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 3px solid rgba(86, 168, 255, 0.82);
}

.trust-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 650;
  box-shadow: none;
}

.trust-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 999px;
  transform: translateY(-50%);
}

@media (min-width: 901px) {
  .home-page .hero-slide:nth-child(2) .hero-content {
    max-width: min(86vw, 960px);
  }

  .home-page .hero-slide:nth-child(2) .hero-trust {
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100vw - 180px);
    gap: 10px 16px;
    white-space: nowrap;
  }

  .home-page .hero-slide:nth-child(2) .trust-pill {
    flex: 0 0 auto;
    font-size: clamp(0.84rem, 0.9vw, 0.95rem);
  }
}

.hero-controls {
  position: absolute;
  z-index: 5;
  left: max(24px, calc((100vw - var(--container)) / 2 - 10px));
  right: 28px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: auto;
}

.hero-arrows {
  display: flex;
  gap: 8px;
  order: 2;
}

.hero-arrows .icon-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 10px 26px rgba(0, 31, 72, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-arrows .icon-btn:hover,
.hero-arrows .icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 32px rgba(0, 31, 72, 0.2);
}

.stats-strip {
  position: relative;
  z-index: 4;
  margin-top: -74px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: center;
  justify-items: center;
}

.stat-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  width: min(100%, 276px);
  min-height: 160px;
  padding: 24px 24px 22px;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.18) 18%, transparent 34%),
    radial-gradient(circle at 82% 86%, rgba(86, 168, 255, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(233, 244, 255, 0.36) 52%, rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow:
    0 24px 56px rgba(0, 48, 111, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(0, 79, 159, 0.1),
    inset 0 0 0 1px rgba(0, 87, 184, 0.08);
  isolation: isolate;
  animation: glass-rise 1.45s cubic-bezier(0.18, 0.78, 0.2, 1) both;
  transform-origin: center bottom;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 44%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.46), transparent 30%, rgba(86, 168, 255, 0.1) 68%, transparent);
  border-radius: inherit;
  pointer-events: none;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  z-index: -1;
  width: 154px;
  height: 154px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 255, 255, 0.52), transparent 20%),
    radial-gradient(circle, rgba(86, 168, 255, 0.2), rgba(86, 168, 255, 0.04) 58%, transparent 72%);
  pointer-events: none;
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-value {
  display: block;
  color: #004f9f;
  font-size: clamp(2.3rem, 3.5vw, 3.85rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: none;
  white-space: nowrap;
}

.stat-card:nth-child(2) .stat-value {
  font-size: clamp(2.05rem, 3.1vw, 3.35rem);
}

.stat-label {
  display: block;
  max-width: 190px;
  margin-top: 12px;
  color: #233b5d;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.46;
  text-shadow: none;
}

.stat-card:nth-child(1) {
  animation-delay: 0.08s;
}

.stat-card:nth-child(2) {
  animation-delay: 0.22s;
}

.stat-card:nth-child(3) {
  animation-delay: 0.36s;
}

.stat-card:nth-child(4) {
  animation-delay: 0.5s;
}

.glass-card,
.service-card,
.feature-card,
.info-card,
.form-card,
.result-card,
.notice-card,
.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.glass-card {
  padding: 26px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.service-card,
.feature-card,
.info-card,
.article-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  filter: blur(10px);
  transition:
    opacity 0.68s ease,
    transform 0.68s cubic-bezier(0.2, 1, 0.34, 1),
    filter 0.68s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.service-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.service-card::before,
.feature-card::before,
.info-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.88;
}

.service-card:hover,
.feature-card:hover,
.article-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-bright);
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.16);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.card-link {
  color: var(--color-primary);
  font-weight: 760;
}

.services-showcase-section {
  position: relative;
  overflow: hidden;
}

.services-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(86, 168, 255, 0.18), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(125, 189, 43, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(0, 87, 184, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(232, 242, 252, 0.9));
  pointer-events: none;
}

.services-showcase-section::after {
  content: "";
  position: absolute;
  inset: 80px 0 auto;
  height: 300px;
  background:
    linear-gradient(90deg, rgba(0, 79, 159, 0.08), transparent 24%, rgba(86, 168, 255, 0.08) 50%, transparent 76%, rgba(125, 189, 43, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.services-showcase-section .container {
  position: relative;
  z-index: 1;
}

.services-showcase-section .section-header {
  max-width: 920px;
}

.section-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-header.center .service-badges {
  justify-content: center;
}

.service-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 79, 159, 0.08);
  font-size: 0.92rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.services-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
  gap: 22px;
}

.services-showcase-section .service-card {
  padding: 28px 24px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 22px;
  box-shadow:
    0 18px 46px rgba(0, 79, 159, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.services-showcase-section .service-card::before {
  height: 6px;
}

.services-showcase-section .service-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 168, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.services-showcase-section .service-card:nth-child(2n)::after {
  background: radial-gradient(circle, rgba(125, 189, 43, 0.14), transparent 68%);
}

.services-showcase-section .service-card:nth-child(3n)::after {
  background: radial-gradient(circle, rgba(0, 87, 184, 0.16), transparent 68%);
}

.services-showcase-section .service-card > * {
  position: relative;
  z-index: 1;
}

.services-showcase-section .service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 79, 159, 0.12);
}

.services-showcase-section .service-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
}

.services-showcase-section .service-card .text-muted {
  max-width: 26ch;
  line-height: 1.72;
}

.services-showcase-section .service-card .card-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-bottom: 2px;
}

.services-showcase-section .service-card .card-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transition: right 0.18s ease;
}

.services-showcase-section .service-card:hover .card-link::after {
  right: 0;
}

.services-showcase-section .service-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(0, 87, 184, 0.28);
  box-shadow:
    0 30px 72px rgba(0, 87, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.philosophy-section {
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 87, 184, 0.1), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(86, 168, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(244, 250, 255, 0.9), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.philosophy-section .container {
  position: relative;
  z-index: 1;
}

.philosophy-header {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: stretch;
}

.philosophy-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 520px;
  padding: 34px clamp(168px, 38%, 280px) 34px 34px;
  overflow: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 90% 8%, rgba(86, 168, 255, 0.28), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(125, 189, 43, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(233, 245, 255, 0.97) 48%, rgba(219, 238, 255, 0.94));
  border: 1px solid rgba(86, 168, 255, 0.26);
  border-radius: 24px;
  box-shadow:
    0 28px 72px rgba(20, 60, 112, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.philosophy-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(86, 168, 255, 0.18);
  border-radius: 18px;
  pointer-events: none;
}

.philosophy-panel::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  z-index: 0;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(86, 168, 255, 0.1);
  border-radius: 50%;
}

.philosophy-panel-interactive:hover {
  transform: translateY(-6px) rotateX(1.4deg) rotateY(-1.8deg);
  border-color: rgba(86, 168, 255, 0.34);
  box-shadow:
    0 34px 84px rgba(20, 60, 112, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.philosophy-kicker {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 184, 0.14);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.philosophy-metric {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.philosophy-metric strong {
  color: var(--color-primary);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 12px 32px rgba(0, 87, 184, 0.16);
}

.philosophy-metric span {
  color: var(--color-primary-deep);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 900;
}

.philosophy-panel h3,
.philosophy-panel p,
.philosophy-tags {
  position: relative;
  z-index: 2;
}

.philosophy-panel h3 {
  color: var(--color-text);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.philosophy-panel p {
  max-width: 560px;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.philosophy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.philosophy-tags span {
  padding: 9px 12px;
  color: var(--color-primary-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.philosophy-person {
  position: absolute;
  right: -34px;
  bottom: -18px;
  z-index: 1;
  width: min(54%, 340px);
  max-height: 94%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 42px rgba(0, 48, 111, 0.16));
  pointer-events: none;
}

.philosophy-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 10px 0 10px 28px;
}

.philosophy-timeline::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 30px;
  bottom: 30px;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent), var(--color-apply));
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(0, 87, 184, 0.2);
}

.philosophy-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: stretch;
}

.philosophy-step-animated {
  opacity: 0;
  transform: translateX(26px) translateY(16px) scale(0.965);
  filter: blur(10px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.18, 1.18, 0.3, 1),
    filter 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.philosophy-step-animated.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  filter: blur(0);
}

.philosophy-step-marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 20px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-primary), #0a5db5);
  border: 3px solid #ffffff;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow:
    0 16px 28px rgba(0, 79, 159, 0.2),
    0 0 0 6px rgba(86, 168, 255, 0.14);
}

.philosophy-step div {
  position: relative;
  padding: 22px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(0, 79, 159, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(20, 60, 112, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.philosophy-step div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}

.philosophy-step strong {
  display: block;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 900;
}

.philosophy-step p {
  margin-top: 8px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.philosophy-step:hover div {
  transform: translateX(4px);
  border-color: rgba(0, 87, 184, 0.22);
  box-shadow: 0 24px 54px rgba(20, 60, 112, 0.12);
}

.philosophy-note {
  margin: 24px auto 0;
  max-width: 920px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: center;
}

.case-studies-section {
  background:
    radial-gradient(circle at 8% 14%, rgba(86, 168, 255, 0.13), transparent 26%),
    radial-gradient(circle at 92% 42%, rgba(125, 189, 43, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(244, 247, 251, 0.98), rgba(255, 255, 255, 0.98));
}

.case-studies-section .section-header {
  max-width: min(100%, 1120px);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.case-studies-section .section-header h2 {
  max-width: 980px;
  margin-inline: auto;
  text-wrap: balance;
}

.case-section-lead {
  max-width: 1080px;
  margin-inline: auto;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}

html[lang="en-HK"] .case-studies-section .section-header {
  max-width: min(100%, 1180px);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

html[lang="en-HK"] .case-studies-section .section-header h2 {
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: center;
}

html[lang="en-HK"] .case-section-lead {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.case-story-list {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
}

.case-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.94)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(20, 60, 112, 0.12);
}

.case-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-bright), var(--color-apply));
}

.case-story::after {
  content: "";
  position: absolute;
  left: clamp(30px, 7vw, 112px);
  top: clamp(72px, 12%, 112px);
  z-index: 0;
  width: clamp(280px, 34vw, 500px);
  aspect-ratio: 1105 / 917;
  background: url("../assets/images/icon-blue-grey-transparent.png") center / contain no-repeat;
  opacity: 0.05;
  filter: grayscale(8%) saturate(1.05);
  pointer-events: none;
}

.case-story-reverse::after {
  right: clamp(30px, 7vw, 112px);
  left: auto;
}

.case-story[data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.2, 1, 0.34, 1),
    filter 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.case-story[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.case-story-reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.case-story-reverse .case-story-copy {
  order: 2;
}

.case-story-reverse .case-story-visual {
  order: 1;
}

.case-story-copy,
.case-story-visual {
  position: relative;
  z-index: 1;
}

.case-story-copy {
  display: grid;
  gap: 18px;
}

.case-kicker-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.case-kicker {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 30px;
  align-items: center;
  padding: 4px 11px;
  color: var(--color-primary);
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 800;
}

.case-story h3 {
  max-width: 760px;
  color: var(--color-text);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.14;
  font-weight: 900;
}

.case-quote {
  position: relative;
  max-width: 820px;
  padding: 22px 0 0 22px;
  color: #1f2f46;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
  border-left: 4px solid var(--color-primary-bright);
}

.case-quote::before {
  content: "“";
  position: absolute;
  left: -24px;
  top: -14px;
  color: rgba(0, 79, 159, 0.16);
  font-size: 5.4rem;
  font-weight: 900;
  line-height: 1;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.case-facts div {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
}

.case-facts span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.case-facts strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--color-primary);
  font-size: clamp(1.12rem, 1.24vw, 1.34rem);
  line-height: 1.18;
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.case-story-visual {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 460px;
}

.case-story-visual img {
  width: min(100%, 420px);
  aspect-ratio: 0.82;
  object-fit: cover;
  border: 9px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 28px 70px rgba(0, 48, 111, 0.16);
}

.case-badge,
.case-person {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 48, 111, 0.18);
}

.case-badge {
  top: 10px;
  right: 0;
  min-height: 58px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
  border-radius: 999px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 900;
}

.case-person {
  left: 50%;
  bottom: 12px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 999px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 860;
  transform: translateX(-50%);
  white-space: nowrap;
}

.case-disclaimer {
  max-width: 960px;
  margin: clamp(30px, 5vw, 54px) auto 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

.service-grid-detailed {
  align-items: stretch;
}

.service-card-detailed {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
  padding: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.97)),
    #ffffff;
}

.service-card-detailed[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.986);
  filter: blur(12px);
  transition:
    opacity 0.68s ease,
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.68s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.service-card-detailed[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.service-card-detailed::before {
  height: 5px;
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 67, 130, 0.08);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s ease, filter 0.42s ease;
  filter: saturate(0.94) contrast(1.03);
}

.service-card-detailed:hover .service-media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.05);
}

.service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 24px;
}

.service-copy h3 {
  margin-top: 2px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--color-primary);
  background: linear-gradient(180deg, #f7fbff, #e6f1ff);
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 79, 159, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-icon,
.service-card-detailed:hover .service-icon {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, 0.24);
  box-shadow: 0 18px 30px rgba(0, 79, 159, 0.16);
}

.service-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  transform: translateY(-50%);
}

.service-card .card-link,
.service-card-detailed .card-link {
  margin-top: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.split-layout-reversed .about-panel {
  order: 1;
}

.split-layout-reversed .about-application-copy {
  order: 2;
}

.about-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: stretch;
  align-content: start;
}

.about-application-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 0;
  padding: 18px 0 10px 52px;
}

.about-application-copy h2 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.about-application-copy .lead {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.18vw, 1.22rem);
  line-height: 1.78;
}

.about-application-copy .text-muted {
  max-width: 48ch;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  line-height: 1.88;
}

html[lang="en-HK"] .about-application-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 3.5vw, 3.7rem);
  line-height: 1.04;
}

html[lang="en-HK"] .about-application-copy .lead {
  max-width: 34ch;
  font-size: 1.08rem;
  line-height: 1.58;
}

html[lang="en-HK"] .about-application-copy .text-muted {
  max-width: 34ch;
  font-size: 0.98rem;
  line-height: 1.58;
}

.about-visual {
  display: grid;
  align-items: end;
  gap: 18px;
}

.about-person-wrap {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: end center;
}

.about-person-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: min(320px, 86%);
  height: 96px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at center, rgba(214, 233, 255, 0.78) 0%, rgba(214, 233, 255, 0.4) 34%, rgba(214, 233, 255, 0.12) 62%, transparent 76%);
  filter: blur(18px);
  opacity: 0;
  pointer-events: none;
}

.about-person-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(360px, 94%);
  height: 120px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 58%, rgba(255, 255, 255, 0.7) 0%, rgba(230, 242, 255, 0.3) 42%, rgba(230, 242, 255, 0.08) 64%, transparent 78%);
  filter: blur(24px);
  opacity: 0;
  pointer-events: none;
}

.about-person {
  width: min(60%, 360px);
  min-width: 240px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.14));
}

.about-person-animated .about-person {
  opacity: 0;
  transform: translateY(34px) scale(0.92);
  filter: drop-shadow(0 18px 24px rgba(0, 31, 72, 0.1));
  will-change: transform, opacity, filter;
}

.about-person-animated.is-visible::before {
  animation: about-smoke-rise 1.2s ease-out both;
}

.about-person-animated.is-visible::after {
  animation: about-smoke-rise 1.35s ease-out 0.12s both;
}

.about-person-animated.is-visible .about-person {
  animation: about-person-pop 1.3s cubic-bezier(0.2, 0.78, 0.24, 1.02) both;
}

.welcome-figure {
  position: relative;
  min-height: clamp(272px, 28vw, 380px);
  margin: 0 12px -8px;
  overflow: visible;
  border-radius: 12px;
  background:
    radial-gradient(circle at 54% 18%, rgba(86, 168, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(235, 245, 255, 0.72));
  border: 1px solid rgba(0, 87, 184, 0.1);
  box-shadow: 0 22px 52px rgba(20, 60, 112, 0.12);
}

.welcome-figure::before {
  content: "The\A ONE";
  position: absolute;
  left: 22px;
  bottom: 14px;
  z-index: 2;
  color: rgba(214, 229, 248, 0.36);
  font-size: clamp(3rem, 5.7vw, 5.45rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.04em;
  white-space: pre;
  -webkit-text-stroke: 1px rgba(178, 202, 234, 0.28);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.welcome-figure::after {
  content: none;
}

.welcome-figure img {
  position: absolute;
  right: clamp(-1px, 0.8vw, 8px);
  bottom: -1px;
  z-index: 1;
  display: block;
  width: min(62%, 392px);
  min-width: 280px;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  opacity: 0;
  transform: translate3d(40px, 10px, 0) scale(0.94);
  transform-origin: 74% 100%;
  animation: welcome-girl-settle-in 2.35s cubic-bezier(0.2, 0.78, 0.22, 1) 0.08s forwards;
}

.license-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
}

.license-item {
  position: relative;
  min-height: 126px;
  padding: 20px 18px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 60, 112, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.license-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-bright));
}

.license-item::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -30px;
  width: 86px;
  height: 86px;
  background: radial-gradient(circle, rgba(86, 168, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.license-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, 0.22);
  box-shadow: 0 24px 44px rgba(20, 60, 112, 0.13);
}

.license-item strong {
  display: block;
  color: var(--color-text);
  font-size: 1.12rem;
}

.license-item span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@keyframes welcome-girl-settle-in {
  0% {
    opacity: 0;
    transform: translate3d(40px, 10px, 0) scale(0.94);
    filter: brightness(1.08) blur(7px) drop-shadow(0 10px 14px rgba(0, 31, 72, 0.04));
  }
  26% {
    opacity: 0;
    transform: translate3d(40px, 10px, 0) scale(0.94);
    filter: brightness(1.08) blur(7px) drop-shadow(0 10px 14px rgba(0, 31, 72, 0.04));
  }
  68% {
    opacity: 1;
    transform: translate3d(-4px, 0, 0) scale(1.01);
    filter: brightness(1.02) blur(0) drop-shadow(0 24px 32px rgba(0, 31, 72, 0.16));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  }
}

.about-inline-note {
  margin: 2px 2px 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.about-inline-note strong {
  color: var(--color-text);
}

.about-strength-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 79, 159, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95)),
    #ffffff;
}

.about-strength-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
}

.about-strength-card h3 {
  max-width: 520px;
  font-size: clamp(1.24rem, 2vw, 1.65rem);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.strength-grid span {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 12px;
  color: var(--color-primary-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.feature-value {
  display: block;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
}

.eligibility-panel {
  position: relative;
  z-index: 1;
  min-height: clamp(540px, 43vw, 680px);
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 22%, rgba(86, 168, 255, 0.24), transparent 31%),
    radial-gradient(circle at 76% 14%, rgba(125, 189, 43, 0.12), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.82));
  border: 1px solid rgba(0, 87, 184, 0.12);
  box-shadow: 0 28px 72px rgba(20, 60, 112, 0.13);
}

.eligibility-panel::before {
  content: "PROPERTY";
  position: absolute;
  left: 50%;
  top: clamp(26px, 4vw, 52px);
  transform: translateX(-50%);
  color: rgba(0, 79, 159, 0.065);
  font-size: clamp(3.6rem, 6.3vw, 6.7rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.eligibility-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-bright), var(--color-accent));
  border-radius: 999px 999px 0 0;
}

.eligibility-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: end center;
  pointer-events: none;
}

.eligibility-figure img {
  position: relative;
  z-index: 1;
  width: min(88%, 540px);
  max-height: 96%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
}

.eligibility-burst {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(138px, 13.4vw, 178px);
  min-height: 54px;
  padding: 12px clamp(22px, 2.35vw, 30px);
  isolation: isolate;
  overflow: hidden;
  color: #003f88;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(232, 244, 255, 0.44) 58%, rgba(255, 255, 255, 0.28)),
    linear-gradient(90deg, rgba(0, 87, 184, 0.18), rgba(86, 168, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-size: clamp(1.34rem, 1.78vw, 1.72rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98),
    0 8px 18px rgba(0, 48, 111, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(0, 87, 184, 0.16),
    inset 0 -1px 0 rgba(0, 79, 159, 0.18),
    0 18px 38px rgba(0, 48, 111, 0.19),
    0 0 0 8px rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translate3d(var(--burst-start-x, 0), var(--burst-start-y, 0), 0) rotate(var(--burst-rotate, 0deg)) scale(0.62);
  transform-origin: center;
  filter: blur(4px) saturate(1.08);
  backdrop-filter: saturate(1.22);
  -webkit-backdrop-filter: saturate(1.22);
  will-change: transform, opacity, filter;
}

.eligibility-burst::before {
  content: "";
  position: absolute;
  inset: -42% auto -42% -58%;
  z-index: 0;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform: translateX(-60%) skewX(-18deg);
  pointer-events: none;
}

.eligibility-burst::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  z-index: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-apply), var(--color-accent), var(--color-primary));
  border-radius: 999px;
  box-shadow:
    0 0 18px rgba(86, 168, 255, 0.48),
    0 6px 18px rgba(0, 79, 159, 0.24);
  pointer-events: none;
}

.eligibility-burst-left-top {
  top: clamp(124px, 20%, 158px);
  left: clamp(-70px, -4vw, -34px);
  --burst-start-x: 92px;
  --burst-start-y: 56px;
  --burst-rotate: -5.5deg;
}

.eligibility-burst-right-top {
  top: clamp(124px, 20%, 158px);
  right: clamp(-44px, -2.6vw, -20px);
  --burst-start-x: -92px;
  --burst-start-y: 56px;
  --burst-rotate: 5.5deg;
}

.eligibility-burst-left-bottom {
  left: clamp(-72px, -4vw, -32px);
  bottom: clamp(146px, 23%, 188px);
  --burst-start-x: 88px;
  --burst-start-y: -68px;
  --burst-rotate: 5deg;
}

.eligibility-burst-right-bottom {
  right: clamp(-44px, -2.6vw, -20px);
  bottom: clamp(146px, 23%, 188px);
  --burst-start-x: -88px;
  --burst-start-y: -68px;
  --burst-rotate: -5deg;
}

.loan-services-page .eligibility-figure img {
  z-index: 3;
}

.loan-services-page .eligibility-burst {
  z-index: 4;
  width: clamp(216px, 14vw, 286px);
  max-width: none;
  min-width: 0;
  min-height: 82px;
  padding: 16px clamp(22px, 1.9vw, 34px);
  color: #002d68;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 241, 255, 0.7) 54%, rgba(255, 255, 255, 0.55)),
    linear-gradient(90deg, rgba(0, 87, 184, 0.3), rgba(86, 168, 255, 0.16));
  border-color: rgba(255, 255, 255, 0.98);
  font-size: clamp(1.38rem, 1.58vw, 1.88rem);
  line-height: 1.02;
  text-align: center;
  white-space: normal;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 1),
    0 10px 20px rgba(0, 48, 111, 0.22);
  box-shadow:
    inset 0 0 0 2px rgba(0, 87, 184, 0.2),
    inset 0 -2px 0 rgba(0, 79, 159, 0.24),
    0 22px 46px rgba(0, 48, 111, 0.24),
    0 0 0 10px rgba(255, 255, 255, 0.32);
}

.loan-services-page .eligibility-burst-left-top {
  top: clamp(154px, 23.5%, 180px);
  left: clamp(-112px, -5vw, -70px);
}

.loan-services-page .eligibility-burst-right-top {
  top: clamp(154px, 23.5%, 180px);
  right: clamp(-112px, -5vw, -70px);
}

.loan-services-page .eligibility-burst-left-bottom {
  left: clamp(-112px, -5vw, -70px);
  bottom: clamp(64px, 10%, 94px);
}

.loan-services-page .eligibility-burst-right-bottom {
  right: clamp(-112px, -5vw, -70px);
  bottom: clamp(64px, 10%, 94px);
}

.eligibility-panel-animated {
  overflow: visible;
}

.eligibility-figure-animated img {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  transition: none;
  will-change: auto;
}

.eligibility-figure-animated.is-visible img {
  animation: none;
}

.eligibility-figure-animated.is-visible .eligibility-burst {
  animation: eligibility-burst-pop 1s cubic-bezier(0.13, 0.98, 0.18, 1.28) both;
}

.eligibility-figure-animated.is-visible .eligibility-burst::before {
  animation: eligibility-burst-sheen 0.86s ease-out both;
}

.eligibility-figure-animated.is-visible .eligibility-burst-left-top {
  animation-delay: 0.28s;
}

.eligibility-figure-animated.is-visible .eligibility-burst-right-top {
  animation-delay: 0.42s;
}

.eligibility-figure-animated.is-visible .eligibility-burst-left-bottom {
  animation-delay: 0.56s;
}

.eligibility-figure-animated.is-visible .eligibility-burst-right-bottom {
  animation-delay: 0.7s;
}

.eligibility-feature-grid {
  position: absolute;
  left: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.eligibility-stat {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 60, 112, 0.12);
  backdrop-filter: blur(14px);
}

.eligibility-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-bright), var(--color-accent));
}

.eligibility-stat .feature-value {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.eligibility-stat strong {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.28;
}

.eligibility-stat span:last-child {
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.process-section {
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 80px auto auto 50%;
  width: min(420px, 34vw);
  height: min(420px, 34vw);
  background: radial-gradient(circle, rgba(0, 79, 159, 0.08), transparent 68%);
  transform: translateX(-8%);
  pointer-events: none;
}

.process-layout {
  align-items: start;
  gap: 34px;
}

.process-panel {
  position: relative;
  padding: 20px 18px 10px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 250, 255, 0.72)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 79, 159, 0.08);
  box-shadow: 0 28px 70px rgba(20, 60, 112, 0.08);
  overflow: hidden;
}

.process-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent 42%),
    radial-gradient(circle at top right, rgba(125, 189, 43, 0.08), transparent 28%);
  pointer-events: none;
}

.process-panel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(0, 79, 159, 0), rgba(0, 79, 159, 0.22), rgba(125, 189, 43, 0.3), rgba(0, 79, 159, 0));
  opacity: 0.9;
}

.process-documents::after {
  width: 0;
}

.process-header {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.document-list {
  counter-reset: docs;
  position: relative;
  z-index: 1;
}

.document-card {
  position: relative;
  padding: 24px 24px 24px 76px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    #ffffff;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  border-radius: 18px;
}

.document-card[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.62s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.timeline-item[data-reveal] {
  opacity: 0;
  transform: translateX(22px) translateY(16px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.18, 1.28, 0.32, 1),
    filter 0.72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.document-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.timeline-item[data-reveal].is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  filter: blur(0);
}

.document-card::before {
  counter-increment: docs;
  content: counter(docs);
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-primary), #0a5db5);
  border-radius: 10px;
  font-weight: 900;
  z-index: 1;
  box-shadow: 0 12px 22px rgba(0, 79, 159, 0.18);
}

.document-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 79, 159, 0.08), transparent 45%),
    linear-gradient(180deg, transparent 65%, rgba(125, 189, 43, 0.08));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 79, 159, 0.2);
  box-shadow: 0 26px 54px rgba(20, 60, 112, 0.13);
}

.document-card:hover::after {
  opacity: 1;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 4px 0 2px 18px;
  z-index: 1;
}

.timeline::before {
  display: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: stretch;
  transition: transform 0.24s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 100%;
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, rgba(0, 79, 159, 0.18), rgba(125, 189, 43, 0.22));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  color: #ffffff;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--color-primary), #0a5db5);
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 79, 159, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.timeline-content {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 76px;
  padding: 18px 22px;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  border-radius: 18px;
}

.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-item:hover .timeline-step {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 79, 159, 0.22);
}

.timeline-item:hover .timeline-content {
  border-color: rgba(0, 79, 159, 0.18);
  box-shadow: 0 18px 44px rgba(20, 60, 112, 0.1);
}

.calculator-design-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(217, 240, 255, 0.78) 0%, rgba(247, 252, 255, 0.94) 48%, rgba(231, 244, 255, 0.9) 100%),
    var(--color-bg-soft);
}

.calculator-design-section::before,
.calculator-design-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.calculator-design-section::before {
  background:
    linear-gradient(90deg, rgba(0, 79, 159, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 79, 159, 0.08) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.22;
}

.calculator-design-section::after {
  background:
    radial-gradient(circle at 10% 18%, rgba(86, 168, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(0, 79, 159, 0.12), transparent 28%);
}

.calculator-design-section .container {
  position: relative;
  z-index: 1;
}

.calculator-design-section .container.calculator-shell {
  width: min(100% - 48px, 1420px);
}

.calculator-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(500px, 1fr);
  gap: clamp(22px, 2.8vw, 40px);
  align-items: center;
}

.calculator-controls {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.2vw, 38px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(228, 246, 255, 0.58), rgba(255, 255, 255, 0.34)),
    rgba(224, 244, 255, 0.32);
  border: 1px solid rgba(0, 79, 159, 0.16);
  border-radius: 0 58px 58px 0;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.4),
    0 28px 82px rgba(0, 48, 111, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  animation: lift-in 0.6s ease both;
}

.calculator-controls::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
  box-shadow: 0 0 24px rgba(0, 87, 184, 0.24);
}

.calculator-controls::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(86, 168, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.calculator-controls .section-header {
  position: relative;
  z-index: 1;
}

.calculator-controls .section-header h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3.15vw, 3.05rem);
  line-height: 1.08;
}

.calculator-controls .section-header .text-muted {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.range-field {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 150px;
  padding: 22px 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(238, 250, 255, 0.38)),
    rgba(255, 255, 255, 0.26);
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 34px;
  box-shadow:
    0 16px 36px rgba(0, 74, 145, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  animation: lift-in 0.55s ease both;
}

.range-field::after {
  display: none;
}

.range-field:hover {
  border-color: rgba(0, 79, 159, 0.24);
  box-shadow:
    0 22px 54px rgba(20, 60, 112, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.range-field:focus-within {
  border-color: rgba(0, 79, 159, 0.3);
  box-shadow:
    0 0 0 4px rgba(0, 87, 184, 0.08),
    0 22px 54px rgba(20, 60, 112, 0.11);
}

.range-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: rgba(0, 79, 159, 0.58);
}

.range-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.range-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.range-label {
  color: var(--color-text);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 900;
  line-height: 1.2;
}

.range-head output {
  flex: 0 0 auto;
  color: var(--color-primary);
  padding: 9px 18px;
  background: rgba(0, 87, 184, 0.1);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(0, 79, 159, 0.06);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  font-weight: 900;
  line-height: 1;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary) 0 var(--range-progress, 0%), rgba(14, 46, 90, 0.12) var(--range-progress, 0%) 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 31, 72, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow:
    0 8px 18px rgba(0, 79, 159, 0.22),
    0 0 0 8px rgba(125, 189, 43, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(14, 46, 90, 0.12);
}

input[type="range"]::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow:
    0 8px 18px rgba(0, 79, 159, 0.22),
    0 0 0 8px rgba(125, 189, 43, 0.14);
}

.range-scale {
  height: 24px;
  margin: -2px 10px 0;
  opacity: 0.62;
  background:
    repeating-linear-gradient(90deg, rgba(16, 35, 63, 0.42) 0 1px, transparent 1px 13px);
  background-position: left bottom;
  background-size: 100% 16px;
  background-repeat: no-repeat;
  mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 100%);
}

.number-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid rgba(0, 67, 130, 0.16);
  border-radius: 8px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.range-field .range-number-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.textarea {
  min-height: 126px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.13);
}

.calculator-results {
  position: relative;
  display: grid;
  align-content: center;
  padding: 0;
  overflow: visible;
  background: transparent;
  animation: lift-in 0.68s ease both;
}

.calculator-results::before {
  display: none;
}

.results-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(26px, 3.2vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(231, 247, 255, 0.42)),
    rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 52px;
  box-shadow:
    inset 0 0 0 1px rgba(86, 168, 255, 0.12),
    0 28px 74px rgba(0, 48, 111, 0.1);
}

.result-card {
  position: relative;
  overflow: visible;
  padding: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(239, 250, 255, 0.48)),
    rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow:
    0 16px 42px rgba(20, 60, 112, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  animation: lift-in 0.62s ease both;
}

.result-card::before {
  display: none;
}

.result-card.primary {
  grid-column: 1 / -1;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(237, 249, 255, 0.54)),
    rgba(255, 255, 255, 0.34);
}

.result-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 68px rgba(20, 60, 112, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.result-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.calculator-flow-section {
  position: relative;
  overflow: hidden;
}

.calculator-flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 87, 184, 0.1), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(86, 168, 255, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(244, 250, 255, 0.86), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.calculator-flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.calculator-flow-header {
  max-width: 780px;
}

.calculator-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(232, 244, 255, 0.72)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 22px;
  box-shadow: 0 26px 68px rgba(20, 60, 112, 0.1);
}

.calculator-flow-track::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 46px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-apply));
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 87, 184, 0.18);
}

.calculator-flow-step {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.68s ease,
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.68s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.calculator-flow-step.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.calculator-flow-marker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-primary), #0a5db5);
  border: 4px solid #ffffff;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow:
    0 16px 28px rgba(0, 79, 159, 0.18),
    0 0 0 8px rgba(86, 168, 255, 0.12);
}

.calculator-flow-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 24px 24px 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(20, 60, 112, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.calculator-flow-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.calculator-flow-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(86, 168, 255, 0.11);
  border-radius: 50%;
}

.calculator-flow-kicker {
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-flow-card h3 {
  color: var(--color-text);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}

.calculator-flow-card p {
  color: var(--color-text-muted);
  line-height: 1.78;
}

.calculator-flow-step:hover .calculator-flow-card {
  transform: translateY(-6px);
  border-color: rgba(0, 87, 184, 0.22);
  box-shadow: 0 26px 58px rgba(20, 60, 112, 0.14);
}

.calculator-flow-step:hover .calculator-flow-marker {
  animation: marker-pulse 0.9s ease both;
}

.result-label {
  display: block;
  color: var(--color-text);
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  font-weight: 850;
  letter-spacing: 0.01em;
}

.result-value {
  display: block;
  margin-top: 18px;
  color: #071d4a;
  font-size: clamp(1.95rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: color 0.24s ease, text-shadow 0.24s ease, opacity 0.24s ease;
}

.result-grid .result-value {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  white-space: normal;
}

.loan-calculator-page .calculator-design-section {
  min-height: 0;
  padding: 36px 0 24px;
  display: grid;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(223, 243, 255, 0.86) 0%, rgba(241, 250, 255, 0.94) 100%),
    var(--color-bg-soft);
}

.loan-calculator-page .calculator-design-section::after {
  background:
    radial-gradient(circle at 6% 12%, rgba(86, 168, 255, 0.22), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(0, 79, 159, 0.08), transparent 30%);
}

.loan-calculator-page .calculator-design-section .container.calculator-shell {
  width: min(100% - 84px, 1160px);
  min-height: 530px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 0;
  padding: 24px 44px 28px 42px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.loan-calculator-page .calculator-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 26px 72px rgba(0, 48, 111, 0.1));
  pointer-events: none;
}

.loan-calculator-page .calculator-frame path {
  fill: rgba(224, 244, 255, 0.54);
  stroke: rgba(0, 79, 159, 0.16);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.loan-calculator-page .calculator-controls {
  z-index: 1;
  align-self: start;
  gap: 14px;
  padding: 0 clamp(14px, 1.4vw, 18px) 0 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.loan-calculator-page .calculator-results {
  align-self: stretch;
  z-index: 1;
  min-height: 428px;
  padding-top: 4px;
}

.loan-calculator-page .calculator-controls::before {
  display: none;
}

.loan-calculator-page .calculator-controls::after {
  display: none;
}

.loan-calculator-page .calculator-controls .section-header {
  position: relative;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 8px;
}

.loan-calculator-page .calculator-controls .section-header .eyebrow {
  position: relative;
  top: -16px;
  left: 0;
  z-index: 3;
  margin-bottom: -6px;
}

.loan-calculator-page .calculator-controls .section-header h2 {
  max-width: 360px;
  font-size: clamp(1.28rem, 1.72vw, 1.7rem);
  line-height: 1.22;
}

.loan-calculator-page .calculator-controls .section-header .text-muted {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
}

.loan-calculator-page .range-field {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 110px;
  padding: 16px 20px;
  border-radius: 24px;
}

.loan-calculator-page .range-icon {
  width: 46px;
  height: 46px;
}

.loan-calculator-page .range-icon svg {
  width: 40px;
  height: 40px;
}

.loan-calculator-page .range-label {
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
}

.loan-calculator-page .range-head output {
  padding: 7px 13px;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.loan-calculator-page .results-panel {
  min-height: 100%;
  gap: 14px;
  padding: 0 0 0 clamp(22px, 2.6vw, 34px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.loan-calculator-page .result-card {
  padding: clamp(16px, 1.75vw, 22px);
  border-radius: 18px;
}

.loan-calculator-page .result-card.primary {
  min-height: 190px;
}

.loan-calculator-page .result-label {
  font-size: clamp(1.34rem, 1.8vw, 1.6rem);
}

.loan-calculator-page .result-value {
  margin-top: 18px;
  font-size: clamp(2.65rem, 4.35vw, 4.35rem);
}

.loan-calculator-page .result-grid .result-value {
  font-size: clamp(1.46rem, 1.95vw, 2.12rem);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.loan-calculator-page .small-note {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.75;
}

.homepage-calculator-showcase .container.calculator-shell {
  width: min(100% - 84px, 1160px);
  min-height: 530px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 0;
  padding: 24px 44px 28px 42px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.homepage-calculator-showcase .calculator-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 26px 72px rgba(0, 48, 111, 0.1));
  pointer-events: none;
}

.homepage-calculator-showcase .calculator-frame path {
  fill: rgba(224, 244, 255, 0.54);
  stroke: rgba(0, 79, 159, 0.16);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.homepage-calculator-showcase .calculator-controls {
  z-index: 1;
  align-self: start;
  gap: 14px;
  padding: 0 clamp(14px, 1.4vw, 18px) 0 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.homepage-calculator-showcase .calculator-results {
  align-self: stretch;
  z-index: 1;
  min-height: 428px;
  padding-top: 4px;
}

.homepage-calculator-showcase .calculator-controls::before,
.homepage-calculator-showcase .calculator-controls::after {
  display: none;
}

.homepage-calculator-showcase .calculator-controls .section-header {
  position: relative;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 8px;
}

.homepage-calculator-showcase .calculator-controls .section-header .eyebrow {
  position: relative;
  top: -16px;
  left: 0;
  z-index: 3;
  margin-bottom: -6px;
}

.homepage-calculator-showcase .calculator-controls .section-header h2 {
  max-width: 360px;
  font-size: clamp(1.28rem, 1.72vw, 1.7rem);
  line-height: 1.22;
}

.homepage-calculator-showcase .calculator-controls .section-header .text-muted {
  font-size: clamp(0.92rem, 1.05vw, 1rem);
}

.homepage-calculator-showcase .range-field {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  min-height: 110px;
  padding: 16px 20px;
  border-radius: 24px;
}

.homepage-calculator-showcase .range-icon {
  width: 46px;
  height: 46px;
}

.homepage-calculator-showcase .range-icon svg {
  width: 40px;
  height: 40px;
}

.homepage-calculator-showcase .range-label {
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
}

.homepage-calculator-showcase .range-head output {
  padding: 7px 13px;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.homepage-calculator-showcase .results-panel {
  min-height: 100%;
  gap: 14px;
  padding: 0 0 0 clamp(22px, 2.6vw, 34px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.homepage-calculator-showcase .result-card {
  padding: clamp(16px, 1.75vw, 22px);
  border-radius: 18px;
}

.homepage-calculator-showcase .result-card.primary {
  min-height: 190px;
}

.homepage-calculator-showcase .result-label {
  font-size: clamp(1.34rem, 1.8vw, 1.6rem);
}

.homepage-calculator-showcase .result-value {
  margin-top: 18px;
  font-size: clamp(2.65rem, 4.35vw, 4.35rem);
}

.homepage-calculator-showcase .result-grid .result-value {
  font-size: clamp(1.46rem, 1.95vw, 2.12rem);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.homepage-calculator-showcase .small-note {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.75;
}

.result-value.is-refreshing {
  color: #0b5fb8;
  text-shadow: 0 0 18px rgba(0, 87, 184, 0.12);
  animation: value-settle 0.34s ease;
}

.small-note {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.06rem);
  line-height: 1.85;
}

.results-panel .inline-actions {
  grid-column: 1 / -1;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack-lg {
  display: grid;
  gap: 24px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #24476d;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--color-accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.55em + 3px);
  width: 5px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plain-list li {
  color: var(--color-text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.content-block {
  display: grid;
  gap: 18px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(0, 79, 159, 0.11), rgba(125, 189, 43, 0.1)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow-blue);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

html[lang="en-HK"] .cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

html[lang="en-HK"] .cta-content > div:first-child {
  min-width: 0;
  max-width: none;
}

html[lang="en-HK"] .cta-content > div:first-child h2 {
  max-width: none;
  white-space: normal;
  text-wrap: normal;
}

html[lang="en-HK"] .cta-content > div:first-child .text-muted {
  max-width: none;
  white-space: normal;
}

html[lang="en-HK"] .cta-actions {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  width: auto;
  max-width: 100%;
  gap: 12px;
  justify-self: end;
}

html[lang="en-HK"] .cta-actions .btn {
  width: auto;
  min-width: 128px;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  min-height: 330px;
  padding: calc(var(--header-height) + 54px) 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 67, 130, 0.1);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.86)),
    url("../assets/images/hong-kong-finance.jpg") right 40% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
}

.page-hero.compact-hero {
  min-height: 320px;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--color-primary);
}

.form-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.97)),
    #ffffff;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
}

.form-card[data-firebase-form="application"] .btn-apply {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  border-color: rgba(0, 87, 184, 0.22);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 87, 184, 0.2);
}

.form-card[data-firebase-form="application"] .btn-apply:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.application-header {
  gap: 8px;
  margin-bottom: 12px;
}

.application-intro {
  margin-bottom: 2px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(116px, 142px) minmax(0, 1fr);
  gap: 12px;
}

.phone-country-fixed,
.phone-country-code {
  min-width: 0;
}

.phone-country-fixed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--color-text);
  background: rgba(244, 250, 255, 0.86);
  border: 1px solid rgba(0, 67, 130, 0.16);
  border-radius: 8px;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.field label {
  color: var(--color-text);
  font-weight: 700;
}

.field .required {
  color: var(--color-warning);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  padding: 6px 0 0;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--color-primary);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: rgba(198, 40, 40, 0.78);
  box-shadow:
    0 0 0 3px rgba(198, 40, 40, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.field.is-invalid label {
  color: #9f1d1d;
}

.field.is-invalid .phone-row {
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.field.is-invalid .phone-country-fixed,
.field.is-invalid .phone-row .input {
  border-color: rgba(198, 40, 40, 0.78);
}

.checkbox-field.is-invalid input {
  outline: 3px solid rgba(198, 40, 40, 0.22);
  outline-offset: 3px;
}

.checkbox-field.is-invalid {
  margin: -4px 0;
  padding: 10px 12px;
  color: #8f1c1c;
  background: rgba(255, 245, 245, 0.86);
  border: 1px solid rgba(198, 40, 40, 0.4);
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.08);
}

.checkbox-field a {
  color: var(--color-primary);
  font-weight: 800;
}

.submission-status {
  display: grid;
  gap: 8px;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.submission-status strong {
  color: var(--color-text);
  font-size: 1rem;
}

.submission-status p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.form-message {
  display: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 58px;
  padding: 16px 18px 16px 54px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 16px 34px rgba(20, 60, 112, 0.08);
  backdrop-filter: blur(14px) saturate(1.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);
}

.form-message.success {
  display: block;
  color: #072641;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(86, 168, 255, 0.26), transparent 38%),
    radial-gradient(circle at 44% 112%, rgba(0, 79, 159, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(241, 247, 255, 0.64) 42%, rgba(222, 238, 255, 0.7)),
    rgba(255, 255, 255, 0.54);
  border-color: rgba(0, 87, 184, 0.28);
  box-shadow:
    0 18px 44px rgba(20, 60, 112, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset,
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 -22px 34px rgba(86, 168, 255, 0.12) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68);
}

.form-message.success::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16)),
    linear-gradient(135deg, var(--color-primary-bright), var(--color-primary));
  box-shadow:
    0 10px 20px rgba(0, 79, 159, 0.24),
    0 0 0 5px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transform: translateY(-50%);
}

.form-message.success::after {
  content: "";
  position: absolute;
  inset: -74% auto -74% -36%;
  z-index: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  transform: rotate(14deg);
  opacity: 0.84;
  pointer-events: none;
}

.form-message.success {
  animation: message-glass-in 0.42s cubic-bezier(0.2, 1, 0.34, 1) both;
}

.form-message.error {
  display: block;
  color: #8f1c1c;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    linear-gradient(180deg, rgba(255, 247, 247, 0.96), rgba(255, 229, 229, 0.92));
  border-color: rgba(198, 40, 40, 0.28);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.application-welcome-figure {
  position: relative;
  min-height: clamp(220px, 24vw, 330px);
  margin-bottom: clamp(8px, 1.2vw, 14px);
  overflow: visible;
  border-radius: 14px;
  background:
    radial-gradient(circle at 52% 18%, rgba(86, 168, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 245, 255, 0.76));
  border: 1px solid rgba(0, 87, 184, 0.11);
  box-shadow: 0 24px 56px rgba(20, 60, 112, 0.12);
  animation: application-figure-glow-in 1.18s ease-out both;
}

.application-welcome-figure::before {
  content: "The ONE";
  position: absolute;
  left: clamp(16px, 3vw, 30px);
  bottom: 0;
  z-index: 0;
  color: rgba(0, 79, 159, 0.074);
  font-size: clamp(2.55rem, 4.55vw, 4.45rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.application-welcome-figure::after {
  content: none;
}

.application-welcome-figure img {
  position: absolute;
  right: clamp(-34px, -3vw, -12px);
  bottom: 0;
  z-index: 3;
  width: min(66%, 360px);
  min-width: 240px;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  opacity: 0;
  transform: translate3d(46px, 14px, 0) scale(0.92);
  transform-origin: 76% 100%;
  animation: application-girl-flash-in 1.36s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s forwards;
}

@keyframes application-figure-glow-in {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    box-shadow: 0 8px 20px rgba(20, 60, 112, 0.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 56px rgba(20, 60, 112, 0.12);
  }
}

@keyframes application-girl-flash-in {
  0% {
    opacity: 0;
    transform: translate3d(46px, 14px, 0) scale(0.92);
    filter: brightness(1.14) drop-shadow(0 10px 18px rgba(0, 31, 72, 0.08));
  }
  38% {
    opacity: 1;
    transform: translate3d(-6px, 0, 0) scale(1.02);
    filter: brightness(1.03) drop-shadow(0 20px 28px rgba(0, 31, 72, 0.16));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  }
}

.application-contact-card {
  position: relative;
  overflow: hidden;
  padding: 24px 28px 26px;
  background:
    radial-gradient(circle at top right, rgba(125, 189, 43, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 255, 0.97)),
    #ffffff;
}

.application-contact-card::before {
  content: none;
}

.application-card-top {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.application-card-kicker {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.application-contact-card h2 {
  margin-bottom: 14px;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.1);
  border-radius: 14px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 79, 159, 0.18);
  box-shadow: 0 16px 34px rgba(20, 60, 112, 0.08);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(227, 237, 249, 0.98), rgba(241, 246, 255, 0.98));
  border: 1px solid rgba(0, 79, 159, 0.08);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-icon img {
  width: 23px;
  height: 23px;
  display: block;
  filter: brightness(0) saturate(100%) invert(16%) sepia(31%) saturate(3935%) hue-rotate(202deg) brightness(93%) contrast(101%);
}

.contact-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.contact-copy strong {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.contact-copy span {
  color: #233754;
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-location-card {
  overflow: hidden;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 10px;
  background: #eaf3fb;
  box-shadow: var(--shadow-card);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.contact-location-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, 0.2);
  box-shadow: 0 28px 62px rgba(20, 60, 112, 0.14);
}

.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
}

.map-card {
  width: 100%;
  min-height: clamp(320px, 30vw, 420px);
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.78);
}

.map-frame {
  width: 100%;
  min-height: clamp(320px, 30vw, 420px);
  height: 100%;
  display: block;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.map-card:hover .map-frame {
  filter: saturate(0.96) contrast(1.08);
  transform: scale(1.035);
}

.office-photo-card {
  position: relative;
  min-height: clamp(320px, 30vw, 420px);
  margin: 0;
  overflow: hidden;
  background: #eaf3fb;
}

.office-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 28, 65, 0.72)),
    linear-gradient(90deg, rgba(0, 79, 159, 0.22), transparent 54%);
  pointer-events: none;
}

.office-photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.office-photo-card figcaption {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 2;
  display: grid;
  gap: 8px;
  max-width: 480px;
  color: #ffffff;
}

.office-photo-card .eyebrow {
  width: fit-content;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.26);
}

.office-photo-card strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  font-weight: 900;
}

.office-photo-card figcaption span:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 8px;
  font-weight: 900;
  font-size: 1.25rem;
}

.notice-card {
  padding: 22px;
  border-color: rgba(183, 121, 31, 0.24);
  background: #fff8e6;
}

.application-direct-note {
  margin: -4px 2px 0;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  color: var(--color-text);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 760;
}

.faq-question svg {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--color-text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.site-footer {
  padding: 58px 0 26px;
  background: #f2f6fb;
  border-top: 1px solid rgba(0, 67, 130, 0.12);
}

.site-footer .container {
  width: min(100% - 64px, 1760px);
}

.compliance-warning {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 auto 48px;
  padding: 34px 18px 30px;
  text-align: center;
  background: #f7f9fd;
  border-top: 4px solid var(--color-legal);
  border-bottom: 1px solid rgba(0, 67, 130, 0.12);
}

.compliance-warning-title {
  color: var(--color-legal);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.16;
  white-space: nowrap;
}

.compliance-warning-title .mobile-break {
  display: none;
}

.compliance-hotline {
  color: #172033;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
}

.compliance-hotline a {
  color: inherit;
}

.footer-grid {
  display: grid;
  width: min(100%, 1360px);
  margin-inline: auto;
  grid-template-columns:
    minmax(340px, 380px)
    minmax(180px, 200px)
    minmax(145px, 155px)
    minmax(135px, 145px)
    minmax(185px, 200px);
  gap: 34px clamp(44px, 3.2vw, 64px);
  align-items: start;
  justify-content: center;
}

html[lang="en-HK"] .footer-grid {
  width: min(100%, 1360px);
  grid-template-columns:
    minmax(330px, 380px)
    minmax(180px, 200px)
    minmax(180px, 205px)
    minmax(155px, 170px)
    minmax(245px, 280px);
  gap: 34px clamp(34px, 2.5vw, 58px);
  justify-content: center;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-logo {
  width: 188px;
  height: 56px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: none;
}

.footer-col.footer-brand h3 {
  font-size: 1.14rem;
  line-height: 1.32;
}

.footer-col h3 {
  min-height: 1.5em;
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.4;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-col a,
.footer-col li,
.footer-col p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-single-line {
  white-space: nowrap;
}

html[lang="en-HK"] .footer-single-line {
  white-space: normal;
}

html[lang="en-HK"] .footer-col a,
html[lang="en-HK"] .footer-col li,
html[lang="en-HK"] .footer-col p {
  font-size: clamp(0.86rem, 0.78rem + 0.16vw, 0.94rem);
  line-height: 1.58;
}

html[lang="en-HK"] .footer-col h3 {
  margin-bottom: 12px;
  font-size: clamp(0.98rem, 0.88rem + 0.2vw, 1.08rem);
}

.footer-grid > .footer-col:nth-child(3),
.footer-grid > .footer-col:nth-child(4) {
  padding-left: clamp(8px, 0.8vw, 16px);
}

html[lang="en-HK"] .footer-grid > .footer-col:nth-child(3),
html[lang="en-HK"] .footer-grid > .footer-col:nth-child(4) {
  padding-left: 0;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-link-button {
  display: inline;
  width: auto;
  padding: 0;
  color: var(--color-text-muted);
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  line-height: 1.75;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--color-primary);
  outline: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-list li,
.footer-contact-list a {
  display: grid;
  gap: 2px;
}

html[lang="en-HK"] .footer-contact-list li,
html[lang="en-HK"] .footer-contact-list a {
  gap: 4px;
}

.footer-contact-label {
  color: var(--color-text);
  line-height: 1.35;
}

.footer-contact-value {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  width: min(100%, 1360px);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 67, 130, 0.1);
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 170px;
  z-index: 700;
  display: none;
}

.back-to-top.visible {
  display: inline-flex;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 720;
  display: grid;
  gap: 12px;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.floating-actions.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 142px;
  min-height: 50px;
  padding: 0 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1.2;
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(0, 48, 111, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 48, 111, 0.28);
  filter: saturate(1.06);
}

.floating-action img,
.floating-action svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.floating-action img {
  filter: brightness(0) invert(1);
}

.floating-action-whatsapp {
  background: linear-gradient(135deg, #26b862, var(--color-apply-dark));
}

.floating-action-apply {
  background: linear-gradient(135deg, var(--color-primary-bright), var(--color-primary-deep));
}

.cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 14px;
  z-index: 960;
  width: min(1320px, calc(100vw - 40px));
  color: var(--color-text);
  transform: translateX(-50%);
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-inline: auto;
  min-height: 48px;
  padding: 8px 12px 8px 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 67, 130, 0.22);
  border-radius: 8px;
  box-shadow:
    0 14px 34px rgba(0, 48, 111, 0.14),
    inset 0 3px 0 rgba(0, 79, 159, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.cookie-banner-copy {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 296px);
  gap: 12px;
}

.cookie-kicker {
  display: none;
}

.cookie-banner h2 {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  text-transform: none;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner-copy > p:not(.cookie-kicker) {
  min-width: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cookie-policy-link,
.cookie-learn-more-link {
  flex: 0 0 auto;
  width: max-content;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}

.cookie-learn-more-link {
  display: none;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.cookie-banner-actions .btn {
  min-height: 32px;
  min-width: 64px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
  pointer-events: auto;
}

.cookie-banner-actions .btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
  border-color: rgba(0, 87, 184, 0.24);
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.2);
}

.cookie-banner-actions .btn-outline {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 87, 184, 0.24);
  box-shadow: none;
}

.cookie-banner-actions .btn:hover,
.cookie-banner-actions .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 22, 52, 0.2);
}

body.cookie-banner-visible {
  padding-bottom: 0;
}

body.cookie-banner-visible .floating-actions {
  bottom: 76px;
}

body.cookie-banner-visible .back-to-top.visible {
  bottom: 222px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 67, 130, 0.1);
  text-align: left;
}

.info-table th {
  color: var(--color-primary);
  background: rgba(0, 87, 184, 0.06);
}

.legal-document-page {
  background: #ffffff;
}

.legal-document-page .floating-actions {
  display: none;
}

.legal-hero {
  min-height: 292px;
  padding: calc(var(--header-height) + 58px) 0 62px;
  background:
    linear-gradient(90deg, rgba(0, 79, 159, 0.96), rgba(11, 117, 217, 0.9)),
    #004f9f;
  border-bottom: 1px solid rgba(0, 67, 130, 0.18);
}

.legal-hero::after {
  height: 0;
}

.legal-hero .breadcrumbs,
.legal-hero .breadcrumbs a,
.legal-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.legal-hero .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.legal-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  line-height: 1.12;
}

.legal-document-section {
  padding: 72px 0 96px;
  background: #ffffff;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
  max-width: 1240px;
}

.legal-document {
  max-width: 780px;
  color: #18243a;
}

.legal-document-header {
  display: grid;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(16, 35, 63, 0.14);
}

.legal-kicker {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.legal-document-header h2 {
  color: #12233f;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.18;
}

.legal-meta {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(16, 35, 63, 0.16);
  background: #ffffff;
}

.legal-meta span {
  min-width: 0;
  padding: 10px 14px;
  color: #33435c;
  border-right: 1px solid rgba(16, 35, 63, 0.1);
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  background: #f7f9fc;
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-meta span:nth-child(2n) {
  border-right: 0;
}

.legal-meta span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.legal-notice {
  display: none;
  padding: 18px 20px;
  color: #18243a;
  background: #f8fbff;
  border-left: 4px solid var(--color-primary);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.9;
}

.legal-document-body {
  display: grid;
  gap: 28px;
}

.legal-clause {
  display: grid;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 35, 63, 0.12);
  scroll-margin-top: 110px;
}

.legal-clause:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-clause h3 {
  color: #17324f;
  font-size: clamp(1.22rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  font-weight: 850;
}

.legal-clause h4 {
  margin-top: 8px;
  color: #1c344f;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 820;
}

.legal-clause p,
.legal-clause li {
  color: #27364c;
  font-size: 1rem;
  line-height: 1.98;
}

.legal-clause ul,
.legal-clause ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.35em;
}

.legal-clause strong {
  color: #111f35;
  font-weight: 850;
}

.legal-clause a,
.legal-document a {
  color: var(--color-primary);
  font-weight: 820;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-reference-note {
  margin-top: 8px;
  padding: 16px 18px;
  color: #25364e;
  background: #f7f9fc;
  border: 1px solid rgba(16, 35, 63, 0.12);
  font-size: 0.95rem;
  line-height: 1.85;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 28px;
  border: 1px solid rgba(16, 35, 63, 0.16);
  background: #ffffff;
}

.legal-sidebar h2 {
  margin-bottom: 18px;
  color: #172033;
  font-size: clamp(1.3rem, 1.8vw, 1.72rem);
  line-height: 1.25;
}

.legal-related-links {
  display: grid;
  gap: 2px;
}

.legal-related-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: #172033;
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.legal-related-links a::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--color-apply);
  border-right: 3px solid var(--color-apply);
  transform: rotate(45deg);
}

.legal-related-links a.active {
  color: var(--color-primary-deep);
}

.legal-sidebar-note {
  margin-top: 24px;
  padding-top: 18px;
  color: var(--color-text-muted);
  border-top: 2px solid rgba(16, 35, 63, 0.12);
  font-size: 0.9rem;
  line-height: 1.75;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glass-rise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.95);
    filter: blur(12px);
  }
  55% {
    opacity: 1;
    transform: translateY(-3px) scale(1.012);
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes about-smoke-rise {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.72);
    filter: blur(22px);
  }
  55% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.02);
    filter: blur(18px);
  }
  100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(1);
    filter: blur(16px);
  }
}

@keyframes about-person-pop {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.92);
    filter: drop-shadow(0 18px 24px rgba(0, 31, 72, 0.1));
  }
  68% {
    opacity: 1;
    transform: translateY(-4px) scale(1.012);
    filter: drop-shadow(0 25px 32px rgba(0, 31, 72, 0.17));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.14));
  }
}

@keyframes eligibility-swoop-in {
  0% {
    opacity: 0;
    transform: translate3d(138px, 0, 0) scale(0.955);
    filter: drop-shadow(0 18px 24px rgba(0, 31, 72, 0.14)) brightness(1.02);
  }
  62% {
    opacity: 1;
    transform: translate3d(-8px, 0, 0) scale(1.008);
    filter: drop-shadow(0 24px 32px rgba(0, 31, 72, 0.2)) brightness(1.14);
  }
  80% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: drop-shadow(0 26px 34px rgba(0, 31, 72, 0.22)) brightness(1.18);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18)) brightness(1);
  }
}

@keyframes eligibility-burst-pop {
  0% {
    opacity: 0;
    transform: translate3d(var(--burst-start-x, 0), var(--burst-start-y, 0), 0) rotate(calc(var(--burst-rotate, 0deg) * 2.6)) scale(0.48);
    filter: blur(5px) saturate(1.08);
  }
  46% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--burst-rotate, 0deg)) scale(1.24);
    filter: blur(0) saturate(1.28) brightness(1.12);
  }
  68% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--burst-rotate, 0deg)) scale(0.93);
    filter: blur(0) saturate(1.08) brightness(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--burst-rotate, 0deg)) scale(1);
    filter: blur(0) saturate(1);
  }
}

@keyframes eligibility-burst-sheen {
  0%,
  28% {
    transform: translateX(-60%) skewX(-18deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(330%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes message-glass-in {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes result-flash {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
  45% {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 20px 38px rgba(0, 79, 159, 0.18);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
}

@keyframes value-settle {
  0% {
    opacity: 0.68;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marker-pulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 16px 28px rgba(0, 79, 159, 0.18),
      0 0 0 8px rgba(86, 168, 255, 0.12);
  }
  45% {
    transform: scale(1.08);
    box-shadow:
      0 20px 34px rgba(0, 79, 159, 0.22),
      0 0 0 13px rgba(86, 168, 255, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 16px 28px rgba(0, 79, 159, 0.18),
      0 0 0 8px rgba(86, 168, 255, 0.12);
  }
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 8px;
    width: auto;
    transform: none;
  }

  .cookie-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 38px;
    padding: 5px 6px 5px 10px;
    border-radius: 8px;
  }

  .cookie-banner-copy {
    width: 100%;
    gap: 5px;
  }

  .cookie-banner h2 {
    font-size: 0.64rem;
  }

  .cookie-banner-copy > p:not(.cookie-kicker) {
    display: none;
  }

  .cookie-policy-link {
    display: none;
  }

  .cookie-learn-more-link {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
  }

  .cookie-banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
  }

  .cookie-banner-actions .btn {
    width: auto;
    min-width: 46px;
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.7rem;
    border-radius: 7px;
  }

  body.cookie-banner-visible {
    padding-bottom: 0;
  }

  body.cookie-banner-visible .floating-actions {
    bottom: 54px;
  }

  body.cookie-banner-visible .back-to-top.visible {
    bottom: 178px;
  }
}

@media (max-width: 420px) {
  .cookie-banner-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 36px;
    padding: 4px 5px 4px 8px;
  }

  .cookie-banner h2 {
    font-size: 0.6rem;
  }

  .cookie-banner-copy > p:not(.cookie-kicker) {
    display: none;
  }

  .cookie-banner-actions {
    gap: 5px;
  }

  .cookie-learn-more-link {
    min-height: 26px;
    font-size: 0.62rem;
  }

  .cookie-banner-actions .btn {
    min-width: 42px;
    min-height: 26px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .cookie-policy-link {
    display: none;
  }

  body.cookie-banner-visible .floating-actions {
    bottom: 50px;
  }

  body.cookie-banner-visible .back-to-top.visible {
    bottom: 166px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card-detailed[data-reveal],
  .document-card[data-reveal],
  .timeline-item[data-reveal],
  .case-story[data-reveal],
  .calculator-flow-step {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .eligibility-figure-animated img,
  .eligibility-burst {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 980px) {
  .case-section-lead {
    white-space: normal;
  }

  .case-story,
  .case-story-reverse {
    grid-template-columns: 1fr;
  }

  .case-story::after,
  .case-story-reverse::after {
    left: 50%;
    right: auto;
    top: clamp(68px, 11vw, 98px);
    width: min(72vw, 360px);
    opacity: 0.095;
    transform: translateX(-50%);
  }

  .case-story-reverse .case-story-copy,
  .case-story-reverse .case-story-visual {
    order: initial;
  }

  .case-story-visual {
    min-height: 380px;
  }

  .case-story-visual img {
    width: min(82vw, 360px);
    aspect-ratio: 1.05;
  }

  .case-badge {
    top: 0;
    right: clamp(10px, 5vw, 34px);
  }

  .case-person {
    bottom: 0;
  }

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

@media (min-width: 1181px) and (max-width: 1240px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .header-apply {
    display: none;
  }

  .language-toggle {
    min-width: 78px;
    min-height: 42px;
    padding: 0 10px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
  }

  .footer-single-line {
    white-space: normal;
  }

  .footer-grid > .footer-col:nth-child(3),
  .footer-grid > .footer-col:nth-child(4) {
    padding-left: 0;
  }

  .legal-document-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-document {
    max-width: none;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }
}

@media (min-width: 641px) and (max-width: 1280px), (min-width: 641px) and (max-aspect-ratio: 4 / 3) {
  .hero-media img {
    object-fit: cover;
    object-position: 82% 72%;
    transform: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .process-layout {
    gap: 24px;
  }

  .process-panel {
    padding: 16px 14px 8px;
    border-radius: 22px;
  }

  .hero,
  .hero-content-wrap {
    min-height: 728px;
  }

  .hero-slide::before {
    width: 100%;
    background:
      linear-gradient(180deg, rgba(0, 48, 111, 0.88), rgba(0, 79, 159, 0.72)),
      linear-gradient(90deg, rgba(0, 29, 70, 0.7), rgba(0, 106, 190, 0.12) 64%, transparent);
  }

  .hero-media img {
    object-position: right bottom;
    opacity: 0.42;
  }

  .hero-content {
    padding: 70px 0 126px;
  }

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

  .grid-3,
  .grid-2,
  .split-layout,
  .philosophy-layout {
    grid-template-columns: 1fr;
  }

  .calculator-shell {
    grid-template-columns: 1fr;
    width: min(100% - 36px, var(--container));
    gap: 28px;
  }

  .loan-calculator-page .calculator-design-section .container.calculator-shell,
  .homepage-calculator-showcase .container.calculator-shell {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    width: min(100% - 42px, 1080px);
    min-height: 500px;
    gap: 0;
    padding: 22px 28px 28px;
    align-items: stretch;
  }

  .calculator-controls {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .loan-calculator-page .calculator-controls,
  .homepage-calculator-showcase .calculator-controls {
    align-self: start;
    padding: 0 12px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .loan-calculator-page .calculator-controls .section-header .eyebrow,
  .homepage-calculator-showcase .calculator-controls .section-header .eyebrow {
    top: -12px;
    margin-bottom: -4px;
  }

  .calculator-controls .section-header h2 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .calculator-results {
    align-content: start;
  }

  .loan-calculator-page .results-panel,
  .homepage-calculator-showcase .results-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 0 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .results-panel,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .loan-calculator-page .result-grid,
  .homepage-calculator-showcase .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-panel {
    border-radius: 28px;
  }

  .contact-location-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    border-top: 1px solid rgba(255, 255, 255, 0.78);
    border-left: 0;
  }

  .result-value {
    font-size: clamp(1.8rem, 8.5vw, 2.9rem);
  }

  .calculator-flow-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .calculator-flow-track::before {
    left: 46px;
    right: auto;
    top: 34px;
    bottom: 34px;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent), var(--color-apply));
  }

  .calculator-flow-step {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .calculator-flow-marker {
    margin-top: 2px;
  }

  .calculator-flow-card {
    min-height: 0;
  }

  .philosophy-panel {
    min-height: 460px;
    padding-right: clamp(190px, 38%, 320px);
  }

  .welcome-figure {
    min-height: 306px;
  }

  .welcome-figure img {
    right: -1px;
    bottom: -1px;
    width: min(60%, 324px);
  }

  .eligibility-panel {
    min-height: 620px;
  }

  .eligibility-figure img {
    width: min(72%, 430px);
  }

  .eligibility-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eligibility-stat {
    min-height: 98px;
  }

  .application-welcome-figure {
    min-height: 280px;
  }

  .application-welcome-figure img {
    bottom: 0;
    width: min(58%, 330px);
  }

  .license-band {
    grid-template-columns: 1fr;
  }

  .license-item {
    min-height: 0;
  }

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

  .about-person {
    width: min(50%, 300px);
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  html[lang="en-HK"] .cta-content {
    display: flex;
    align-items: flex-start;
  }

  html[lang="en-HK"] .cta-content > div:first-child h2,
  html[lang="en-HK"] .cta-content > div:first-child .text-muted {
    white-space: normal;
  }

  html[lang="en-HK"] .cta-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  html[lang="en-HK"] body,
  html[lang="en-HK"] main,
  html[lang="en-HK"] section,
  html[lang="en-HK"] .container,
  html[lang="en-HK"] .site-footer,
  html[lang="en-HK"] .site-footer .container {
    max-width: 100%;
    overflow-x: clip;
  }

  html[lang="en-HK"] h1,
  html[lang="en-HK"] h2,
  html[lang="en-HK"] h3,
  html[lang="en-HK"] p,
  html[lang="en-HK"] a,
  html[lang="en-HK"] span,
  html[lang="en-HK"] li,
  html[lang="en-HK"] strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  :root {
    --header-height: 78px;
  }

  .header-inner {
    position: relative;
    gap: 8px;
    padding-right: 96px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 100%;
    gap: 8px;
    overflow: hidden;
  }

  html[lang="en-HK"] .brand {
    gap: 6px;
  }

  html[lang="en-HK"] .brand-logo {
    flex-basis: 78px;
    width: 78px;
    height: 24px;
  }

  html[lang="en-HK"] .brand-copy {
    max-width: calc(100vw - 194px);
  }

  html[lang="en-HK"] .brand-name {
    display: -webkit-box;
    font-size: clamp(0.72rem, 2.85vw, 0.84rem);
    line-height: 1.08;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html[lang="en-HK"] .brand-license {
    font-size: clamp(0.46rem, 1.75vw, 0.56rem);
    line-height: 1.05;
    white-space: nowrap;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .legal-hero {
    min-height: 250px;
    padding: calc(var(--header-height) + 44px) 0 44px;
  }

  .legal-document-section {
    padding: 46px 0 72px;
  }

  .legal-document-header {
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 24px;
  }

  .legal-document-header h2 {
    font-size: clamp(1.42rem, 6vw, 1.82rem);
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-meta span,
  .legal-meta span:nth-child(2n),
  .legal-meta span:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 35, 63, 0.1);
  }

  .legal-meta span:last-child {
    border-bottom: 0;
  }

  .legal-notice {
    padding: 14px 15px;
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .legal-document-body {
    gap: 22px;
  }

  .legal-clause {
    gap: 10px;
    padding-top: 22px;
  }

  .legal-clause h3 {
    font-size: 1.14rem;
    line-height: 1.42;
  }

  .legal-clause h4 {
    font-size: 0.98rem;
  }

  .legal-clause p,
  .legal-clause li {
    font-size: 0.92rem;
    line-height: 1.88;
  }

  .legal-sidebar {
    padding: 22px 20px;
  }

  .legal-sidebar h2 {
    font-size: 1.28rem;
  }

  .legal-related-links {
    grid-template-columns: 1fr;
  }

  .legal-related-links a {
    padding: 11px 0;
    font-size: 0.95rem;
  }

  .brand-logo {
    flex: 0 0 90px;
    width: 90px;
    height: 28px;
  }

  .brand-copy {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .brand-name {
    max-width: none;
    font-size: clamp(0.84rem, 3.15vw, 0.96rem);
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-license {
    font-size: clamp(0.56rem, 2.1vw, 0.68rem);
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    position: absolute;
    top: 50%;
    right: 0;
    flex: 0 0 auto;
    gap: 6px;
    z-index: 4;
    transform: translateY(-50%);
  }

  .header-actions .language-switcher {
    order: -1;
  }

  .language-toggle {
    width: 48px;
    min-width: 48px;
    min-height: 38px;
    padding: 0 6px;
    font-size: 0.82rem;
    gap: 4px;
  }

  .language-toggle svg {
    width: 12px;
    height: 12px;
  }

  .language-menu {
    right: 42px;
    min-width: 126px;
  }

  .mobile-panel .nav-link,
  .mobile-panel .btn {
    justify-self: stretch;
    justify-content: flex-start;
    text-align: left;
  }

  html[lang="en-HK"] .mobile-panel .nav-link {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  html[lang="en-HK"] .mobile-cta-row .btn {
    justify-content: center;
    text-align: center;
  }

  html[lang="en-HK"] .compliance-warning {
    justify-items: start;
    overflow: hidden;
    text-align: left;
  }

  html[lang="en-HK"] .compliance-warning-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.38rem, 8vw, 2.1rem);
    line-height: 1.08;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  html[lang="en-HK"] .compliance-warning-title .mobile-break {
    display: none;
  }

  html[lang="en-HK"] .compliance-hotline {
    width: 100%;
    max-width: 100%;
    font-size: clamp(0.92rem, 4vw, 1.12rem);
    text-align: left;
    overflow-wrap: anywhere;
  }

  html[lang="en-HK"] .page-hero h1,
  html[lang="en-HK"] .section-header h2,
  html[lang="en-HK"] .content-block h2,
  html[lang="en-HK"] .about-application-copy h2 {
    text-wrap: balance;
  }

  html[lang="en-HK"] .section-header,
  html[lang="en-HK"] .section-header.center,
  html[lang="en-HK"] .content-block,
  html[lang="en-HK"] .about-application-copy {
    max-width: 100%;
  }

  html[lang="en-HK"] .section-header.center {
    text-align: left;
  }

  html[lang="en-HK"] .section-header.center .eyebrow {
    margin-inline: 0;
  }

  html[lang="en-HK"] .section-header .lead,
  html[lang="en-HK"] .section-header .text-muted,
  html[lang="en-HK"] .content-block .lead,
  html[lang="en-HK"] .content-block .text-muted,
  html[lang="en-HK"] .about-application-copy .lead,
  html[lang="en-HK"] .about-application-copy .text-muted {
    text-align: left;
    text-wrap: pretty;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    color: var(--color-text);
    background-color: #ffffff;
    background-image:
      linear-gradient(currentColor, currentColor),
      linear-gradient(currentColor, currentColor),
      linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 17px 2px;
    background-position:
      center 13px,
      center 19px,
      center 25px;
    border-color: rgba(0, 67, 130, 0.16);
    box-shadow: 0 10px 24px rgba(20, 60, 112, 0.08);
  }

  .menu-toggle svg {
    opacity: 0;
  }

  .home-page .site-header {
    min-height: var(--header-height);
  }

  .home-page .header-inner {
    min-height: var(--header-height);
  }

  .hero,
  .hero-content-wrap {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-slide {
    transition:
      opacity 1.25s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 1.25s step-end;
    will-change: opacity;
  }

  .hero-slide.active {
    transition:
      opacity 1.25s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0s step-start;
  }

  .hero {
    margin-top: var(--header-height);
    padding-top: 0;
    background: #082142;
  }

  .hero-content-wrap {
    align-items: flex-start;
    width: min(100% - 28px, var(--container));
  }

  .hero-slide::before {
    inset: 0;
    width: 100%;
    background:
      linear-gradient(180deg, rgba(8, 28, 55, 0.1) 0%, rgba(8, 28, 55, 0.06) 28%, rgba(8, 28, 55, 0.2) 52%, rgba(5, 19, 43, 0.74) 100%),
      linear-gradient(90deg, rgba(0, 31, 72, 0.42) 0%, rgba(0, 79, 159, 0.1) 48%, rgba(0, 106, 190, 0) 74%);
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 32, 74, 0.03) 44%, rgba(4, 18, 42, 0.42) 100%),
      radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 24%);
  }

  .hero-media::after {
    display: block;
    left: 20px;
    bottom: 170px;
    color: rgba(255, 255, 255, 0.09);
    font-size: clamp(3.1rem, 16vw, 4.6rem);
  }

  .hero-advisor-note {
    right: 24px;
    bottom: max(132px, calc(env(safe-area-inset-bottom) + 132px));
    justify-items: end;
    max-width: 190px;
    font-size: 0.68rem;
    text-shadow: 0 2px 10px rgba(0, 20, 50, 0.48);
  }

  .hero-advisor-note strong {
    min-height: 22px;
    padding: 2px 8px 3px;
    font-size: 0.84rem;
  }

  .hero-advisor-note small {
    font-size: 0.58rem;
  }

  .hero-media img {
    object-fit: cover;
    object-position: 58% center;
    opacity: 1;
    transform: none;
    transform-origin: center top;
  }

  .hero-slide:nth-child(1) .hero-media img {
    object-position: 59% center;
  }

  .hero-slide:nth-child(2) .hero-media img {
    object-position: 62% center;
    transform: none;
  }

  .hero-slide:nth-child(3) .hero-media img {
    object-position: 62% center;
    transform: none;
  }

  .hero-slide:nth-child(4) .hero-media img {
    object-position: 66% center;
    transform: none;
  }

  .hero-content {
    position: relative;
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    width: 100%;
    max-width: none;
    min-height: calc(100svh - var(--header-height));
    padding: clamp(16px, 4.6vw, 22px) 0 max(158px, calc(env(safe-area-inset-bottom) + 158px));
    color: #ffffff;
  }

  .hero-content::before {
    width: clamp(78px, 34vw, 132px);
    height: 6px;
    margin: 0 0 clamp(18px, 5vw, 26px);
    background: linear-gradient(90deg, var(--color-accent), rgba(86, 168, 255, 0));
    border-radius: 999px;
  }

  .hero .eyebrow {
    min-height: 34px;
    padding: 5px 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    font-size: clamp(0.84rem, 3.6vw, 1rem);
    font-weight: 850;
    line-height: 1.18;
    backdrop-filter: blur(12px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 14px 32px rgba(0, 24, 76, 0.18);
  }

  .hero-title {
    max-width: min(88vw, 328px);
    margin-top: clamp(14px, 4.5vw, 22px);
    color: #ffffff;
    font-size: var(--hero-title-size, clamp(2.08rem, 9.7vw, 3.2rem));
    line-height: 1.03;
    white-space: normal;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22),
      0 3px 0 rgba(0, 24, 76, 0.32),
      0 18px 34px rgba(0, 16, 48, 0.46);
  }

  .hero-slide:nth-child(2) .hero-title,
  .hero-slide:nth-child(3) .hero-title,
  .hero-slide:nth-child(4) .hero-title {
    max-width: min(88vw, 342px);
    white-space: normal;
  }

  .hero-slide:nth-child(3) .hero-title {
    max-width: min(90vw, 366px);
  }

  .hero-slide:nth-child(1) .hero-title .accent,
  .hero-slide:nth-child(3) .hero-title .accent {
    color: #d7ecff;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 20px rgba(86, 168, 255, 0.46),
      0 12px 26px rgba(0, 24, 76, 0.3);
  }

  .hero-slide:nth-child(2) .hero-title .accent,
  .hero-slide:nth-child(4) .hero-title .accent {
    color: #d3ebff;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 22px rgba(84, 164, 255, 0.32),
      0 10px 20px rgba(0, 24, 76, 0.14);
  }

  .hero-copy {
    align-self: start;
    max-width: min(84vw, 315px);
    margin-top: clamp(10px, 3.4vw, 14px);
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(0.94rem, 3.95vw, 1.1rem);
    font-weight: 800;
    line-height: 1.48;
    text-wrap: balance;
  }

  html[lang="en-HK"] .hero-content {
    max-width: none;
  }

  html[lang="en-HK"] .hero-title {
    font-size: var(--hero-title-size, clamp(2rem, 9.3vw, 3rem));
    line-height: 1.02;
  }

  html[lang="en-HK"] .hero-copy {
    max-width: min(84vw, 330px);
    font-size: clamp(0.92rem, 3.7vw, 1.06rem);
    line-height: 1.42;
  }

  html[lang="en-HK"] .hero-trust {
    margin-top: 10px;
  }

  html[lang="en-HK"] .trust-pill {
    font-size: clamp(0.76rem, 3.25vw, 0.9rem);
  }

  .hero-actions {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 8;
    justify-self: start;
    width: min(78vw, 320px);
    padding: 7px;
    background: rgba(4, 20, 45, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    box-shadow:
      0 18px 34px rgba(0, 18, 52, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: none;
  }

  .hero-actions .btn {
    justify-content: center;
    min-height: 42px;
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    border-radius: 10px;
    font-size: clamp(0.82rem, 3.45vw, 0.96rem);
    font-weight: 900;
    line-height: 1.12;
  }

  .hero-actions .btn::after {
    width: 7px;
    height: 7px;
    margin-left: 6px;
    flex: 0 0 auto;
  }

  .hero-actions .btn-apply {
    border-color: rgba(255, 255, 255, 0.86);
    box-shadow:
      0 14px 28px rgba(95, 159, 23, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .hero-actions .btn-outline {
    color: #06366f;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
      0 12px 24px rgba(0, 18, 52, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .hero-actions .btn-ghost {
    display: none;
  }

  .hero-trust {
    order: 4;
    align-self: start;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    width: min(78vw, 282px);
    margin-top: clamp(12px, 3.2vw, 16px);
    padding-left: 14px;
    border-left: 3px solid rgba(86, 168, 255, 0.78);
    justify-items: start;
  }

  .trust-pill {
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 0 0 0 16px;
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: clamp(0.82rem, 3.5vw, 0.96rem);
    font-weight: 760;
    line-height: 1.22;
    position: relative;
    backdrop-filter: none;
    box-shadow: none;
  }

  .trust-pill::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 999px;
    box-shadow: none;
    transform: translateY(-50%);
  }

  .hero-title-break-mobile {
    display: block;
  }

  .hero-slide:nth-child(2) .hero-title-break-mobile,
  .hero-slide:nth-child(3) .hero-title-break-mobile,
  .hero-slide:nth-child(4) .hero-title-break-mobile {
    display: none;
  }

  .hero-slide:nth-child(1) .hero-content {
    padding-top: clamp(18px, 5.2vw, 24px);
  }

  .hero-slide:nth-child(2) .hero-content {
    justify-items: start;
    padding-top: clamp(24px, 7vh, 54px);
  }

  .hero-slide:nth-child(2) .hero-title {
    --hero-title-size: clamp(1.88rem, 7.65vw, 2.62rem);
    max-width: min(84vw, 318px);
  }

  .hero-slide:nth-child(2) .hero-copy {
    max-width: min(82vw, 322px);
  }

  .hero-slide:nth-child(2) .hero-trust {
    width: min(70vw, 248px);
  }

  .hero-slide:nth-child(3) .hero-content {
    padding-top: clamp(18px, 4.6vw, 24px);
  }

  .hero-slide:nth-child(3) .hero-copy {
    max-width: min(72vw, 270px);
  }

  .hero-slide:nth-child(3) .hero-trust {
    width: min(68vw, 240px);
  }

  .hero-slide:nth-child(4) .hero-content {
    padding-top: clamp(24px, 7vh, 56px);
  }

  .hero-slide:nth-child(4) .hero-title,
  .hero-slide:nth-child(4) .hero-copy,
  .hero-slide:nth-child(4) .hero-trust {
    max-width: min(62vw, 252px);
  }

  .hero-controls {
    display: none;
  }

  .welcome-figure {
    min-height: 244px;
    margin-inline: 0;
  }

  .welcome-figure img {
    right: -1px;
    bottom: -1px;
    width: min(70%, 270px);
    min-width: 0;
  }

  .eligibility-panel {
    min-height: 720px;
  }

  .loan-services-page .eligibility-panel {
    min-height: 380px;
  }

  .loan-services-page .eligibility-panel::before {
    top: 16px;
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    letter-spacing: -0.01em;
  }

  .eligibility-figure img {
    width: min(92%, 380px);
    max-height: 78%;
  }

  .loan-services-page .eligibility-figure img {
    width: min(96%, 350px);
    max-height: 94%;
  }

  .loan-services-page .eligibility-burst {
    width: clamp(150px, 37vw, 182px);
    min-width: 0;
    max-width: 46%;
    min-height: 58px;
    padding: 10px 14px 13px;
    font-size: clamp(1.08rem, 4.5vw, 1.32rem);
    line-height: 1.02;
    box-shadow:
      inset 0 0 0 2px rgba(0, 87, 184, 0.16),
      inset 0 -2px 0 rgba(0, 79, 159, 0.2),
      0 16px 32px rgba(0, 48, 111, 0.18),
      0 0 0 6px rgba(255, 255, 255, 0.28);
  }

  .loan-services-page .eligibility-burst-left-top {
    top: 66px;
    left: -22px;
    --burst-start-x: 58px;
    --burst-start-y: 42px;
  }

  .loan-services-page .eligibility-burst-right-top {
    top: 70px;
    right: -22px;
    --burst-start-x: -58px;
    --burst-start-y: 42px;
  }

  .loan-services-page .eligibility-burst-left-bottom {
    left: -22px;
    bottom: -6px;
    --burst-start-x: 54px;
    --burst-start-y: -46px;
  }

  .loan-services-page .eligibility-burst-right-bottom {
    right: -22px;
    bottom: -6px;
    --burst-start-x: -54px;
    --burst-start-y: -46px;
  }

  .loan-services-page .section-alt .split-layout {
    display: grid;
  }

  .loan-services-page .section-alt .content-block {
    display: contents;
  }

  .loan-services-page .section-alt .content-block > .eyebrow,
  .loan-services-page .section-alt .content-block > h2,
  .loan-services-page .section-alt .content-block > .lead {
    order: 1;
  }

  .loan-services-page .section-alt .eligibility-panel {
    order: 2;
    margin-top: 8px;
  }

  .loan-services-page .section-alt .content-block > .inline-actions {
    order: 3;
    margin-top: 6px;
  }

  .loan-services-page .section-alt .inline-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eligibility-feature-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .eligibility-stat {
    min-height: 0;
    padding: 12px 14px;
  }

  .application-welcome-figure {
    min-height: 220px;
    margin-bottom: 18px;
  }

  .application-welcome-figure::before {
    left: 18px;
    bottom: 6px;
    font-size: 2.05rem;
  }

  .application-welcome-figure img {
    right: -24px;
    bottom: 0;
    width: 250px;
    min-width: 0;
  }

  .application-contact-card {
    padding: 18px 18px 20px;
  }

  .application-card-top {
    gap: 8px;
    margin-bottom: 6px;
  }

  .application-card-kicker {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .application-contact-card h2 {
    margin-bottom: 10px;
  }

  .application-contact-card .contact-list {
    gap: 10px;
  }

  .application-contact-card .contact-item {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 12px;
  }

  .application-contact-card .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 1rem;
  }

  .application-contact-card .contact-icon img {
    width: 19px;
    height: 19px;
  }

  .application-contact-card .contact-copy {
    gap: 4px;
  }

  .application-contact-card .contact-copy strong {
    font-size: 0.92rem;
    line-height: 1.28;
  }

  .application-contact-card .contact-copy span {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-grid span {
    min-height: 0;
  }

  .about-person {
    width: min(68%, 260px);
    min-width: 0;
  }

  .calculator-controls {
    padding: 22px 14px;
    border-radius: 18px;
  }

  .loan-calculator-page .calculator-design-section .container.calculator-shell,
  .homepage-calculator-showcase .container.calculator-shell {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--container));
    min-height: 0;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(228, 246, 255, 0.58), rgba(255, 255, 255, 0.32)),
      rgba(224, 244, 255, 0.28);
    border: 1px solid rgba(0, 79, 159, 0.16);
    border-radius: 24px;
    box-shadow:
      inset 0 0 0 2px rgba(255, 255, 255, 0.42),
      0 22px 52px rgba(0, 48, 111, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .loan-calculator-page .calculator-frame,
  .homepage-calculator-showcase .calculator-frame {
    display: none;
  }

  .loan-calculator-page .calculator-results,
  .homepage-calculator-showcase .calculator-results {
    min-height: 0;
  }

  .loan-calculator-page .calculator-controls,
  .homepage-calculator-showcase .calculator-controls {
    padding: 12px 12px 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .loan-calculator-page .calculator-controls .section-header,
  .homepage-calculator-showcase .calculator-controls .section-header {
    gap: 6px;
    margin-bottom: 6px;
  }

  .loan-calculator-page .calculator-controls .section-header h2,
  .homepage-calculator-showcase .calculator-controls .section-header h2 {
    font-size: clamp(1.34rem, 5.6vw, 1.64rem);
    line-height: 1.14;
  }

  .loan-calculator-page .calculator-controls .section-header .text-muted,
  .homepage-calculator-showcase .calculator-controls .section-header .text-muted {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .range-field {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    min-height: 130px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .loan-calculator-page .range-field,
  .homepage-calculator-showcase .range-field {
    min-height: 84px;
    padding: 10px 10px;
    border-radius: 14px;
  }

  .range-icon {
    width: 32px;
    height: 32px;
  }

  .range-icon svg {
    width: 28px;
    height: 28px;
  }

  .range-head {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 8px;
  }

  .loan-calculator-page .range-head,
  .homepage-calculator-showcase .range-head {
    gap: 8px;
  }

  .range-head output {
    max-width: 100%;
  }

  .range-label {
    flex: 0 1 auto;
    min-width: 0;
  }

  .range-head output,
  .range-number-input {
    white-space: nowrap;
  }

  .loan-calculator-page .range-label,
  .loan-calculator-page .range-head output,
  .loan-calculator-page .range-number-input,
  .homepage-calculator-showcase .range-label,
  .homepage-calculator-showcase .range-head output,
  .homepage-calculator-showcase .range-number-input {
    font-size: 0.78rem;
  }

  .range-scale {
    margin-inline: 4px;
  }

  .results-panel {
    gap: 14px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .result-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .result-card.primary {
    min-height: 0;
  }

  .loan-calculator-page .results-panel,
  .loan-calculator-page .result-grid,
  .homepage-calculator-showcase .results-panel,
  .homepage-calculator-showcase .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loan-calculator-page .results-panel,
  .homepage-calculator-showcase .results-panel {
    gap: 10px;
    padding: 10px 12px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .loan-calculator-page .result-card.primary,
  .homepage-calculator-showcase .result-card.primary {
    min-height: 0;
    grid-column: 1 / -1;
  }

  .loan-calculator-page .result-card,
  .homepage-calculator-showcase .result-card {
    padding: 14px 12px;
    border-radius: 13px;
  }

  .loan-calculator-page .result-label,
  .homepage-calculator-showcase .result-label {
    font-size: 0.88rem;
  }

  .result-value {
    font-size: clamp(1.55rem, 9vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .loan-calculator-page .result-value,
  .homepage-calculator-showcase .result-value {
    font-size: clamp(1.28rem, 7vw, 1.92rem);
  }

  .loan-calculator-page .result-grid .result-value,
  .homepage-calculator-showcase .result-grid .result-value {
    font-size: clamp(0.88rem, 4.2vw, 1.06rem);
  }

  .loan-calculator-page .small-note,
  .homepage-calculator-showcase .small-note {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .loan-calculator-page .results-panel .inline-actions,
  .homepage-calculator-showcase .results-panel .inline-actions {
    gap: 8px;
  }

  .loan-calculator-page .results-panel .inline-actions .btn,
  .homepage-calculator-showcase .results-panel .inline-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .contact-location-card,
  .office-photo-card,
  .map-card,
  .map-frame {
    min-height: 300px;
  }

  .contact-location-card {
    min-height: 0;
  }

  .services-showcase-section .section-header {
    margin-bottom: 26px;
  }

  .services-showcase-section::after {
    inset: 60px 0 auto;
    height: 220px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 38%),
      linear-gradient(90deg, rgba(0, 79, 159, 0.05) 1px, transparent 1px),
      linear-gradient(180deg, rgba(0, 79, 159, 0.05) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px;
    opacity: 0.48;
  }

  .services-showcase-section .section-header h2,
  .about-application-copy h2 {
    font-size: clamp(1.72rem, 6vw, 2.08rem);
    line-height: 1.18;
  }

  .about-page .philosophy-header h2 {
    font-size: clamp(1.22rem, 4.55vw, 1.44rem);
    line-height: 1.16;
    white-space: nowrap;
  }

  .about-application-copy .lead,
  .about-application-copy .text-muted,
  .section-note {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .services-showcase-section .service-card {
    padding: 22px 18px 20px;
    border-radius: 18px;
  }

  .home-page .services-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
  }

  .home-page .services-grid::-webkit-scrollbar {
    display: none;
  }

  .home-page .services-showcase-section .service-card {
    flex: 0 0 min(72vw, 220px);
    min-height: 0;
    padding: 18px 16px 16px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  html[lang="en-HK"] .home-page .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  html[lang="en-HK"] .home-page .services-showcase-section .service-card {
    width: 100%;
    max-width: 100%;
    flex: initial;
    scroll-snap-align: none;
  }

  .home-page .services-showcase-section .service-card .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .home-page .services-showcase-section .service-card .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .home-page .services-showcase-section .service-card h3 {
    font-size: 0.96rem;
    line-height: 1.28;
  }

  .home-page .services-showcase-section .service-card .text-muted {
    font-size: 0.84rem;
    line-height: 1.52;
  }

  .home-page .services-showcase-section .service-card .card-link {
    font-size: 0.9rem;
  }

  .home-page .services-showcase-section .service-card:hover,
  .home-page .services-showcase-section .service-card:focus-visible {
    transform: translateY(-4px) scale(1.01);
  }

  .service-badges {
    gap: 6px;
  }

  .service-badges span {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 0.78rem;
  }

  .mobile-cta-row .btn {
    width: 100%;
  }

  .inline-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .inline-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .hero-controls {
    left: 50%;
    right: auto;
    align-items: flex-end;
    bottom: 26px;
    width: min(100% - 40px, var(--container));
    transform: translateX(-50%);
  }

  .stats-strip {
    margin-top: 0;
    padding-top: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .stat-card {
    width: 100%;
    min-height: 116px;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .stat-card::after {
    right: -20px;
    bottom: -26px;
    width: 110px;
    height: 110px;
  }

  .stat-value {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .stat-card:nth-child(2) .stat-value {
    font-size: clamp(1.82rem, 7.8vw, 2.36rem);
  }

  .stat-label {
    max-width: none;
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .service-copy {
    padding: 18px 18px 20px;
  }

  .services-showcase-section .service-card .service-icon {
    width: 52px;
    height: 52px;
  }

  .timeline::after {
    display: none;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .license-band {
    gap: 10px;
  }

  .about-application-copy {
    justify-items: start;
    text-align: left;
    padding: 0;
  }

  .about-application-copy .inline-actions {
    justify-content: flex-start;
  }

  .license-item {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .license-item strong {
    font-size: 1rem;
  }

  .license-item span {
    margin-top: 7px;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .process-panel {
    padding: 14px 12px 6px;
    border-radius: 18px;
  }

  .process-header {
    margin-bottom: 14px;
  }

  .process-header h2 {
    font-size: clamp(1.62rem, 5.8vw, 1.96rem);
    line-height: 1.18;
  }

  .document-card {
    padding: 16px 14px 16px 56px;
    border-radius: 14px;
  }

  .loan-services-page .document-card {
    padding: 14px 12px 14px 50px;
    border-radius: 13px;
  }

  .document-card::before {
    left: 14px;
    top: 16px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.88rem;
  }

  .document-card h3 {
    font-size: 0.92rem;
  }

  .loan-services-page .document-card h3 {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .document-card .text-muted {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .loan-services-page .document-card .text-muted {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .timeline {
    gap: 10px;
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .timeline-item::before {
    left: 28px;
    top: 34px;
    width: 2px;
    height: calc(100% + 10px);
  }

  .timeline-step {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.74rem;
  }

  .loan-services-page .timeline-step {
    min-height: 32px;
    font-size: 0.72rem;
  }

  .timeline-content {
    min-height: 0;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .loan-services-page .timeline-content {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .philosophy-panel {
    padding: 28px 28px 0;
    border-radius: 20px;
  }

  .about-page .philosophy-panel {
    min-height: 0;
    gap: 10px;
    padding: 18px 16px 0;
    border-radius: 18px;
  }

  .about-page .philosophy-kicker {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .about-page .philosophy-metric {
    gap: 6px;
  }

  .about-page .philosophy-metric strong {
    font-size: 2rem;
    line-height: 0.9;
  }

  .about-page .philosophy-metric span,
  .about-page .philosophy-panel p,
  .about-page .philosophy-note {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .about-page .philosophy-panel h3 {
    font-size: 0.94rem;
    line-height: 1.2;
  }

  .about-page .philosophy-tags {
    gap: 6px;
  }

  .about-page .philosophy-tags span {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .philosophy-person {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: min(86%, 280px);
    max-height: none;
    margin: -10px -18px 0 auto;
  }

  .philosophy-timeline {
    padding-left: 0;
  }

  .philosophy-timeline::before {
    left: 21px;
  }

  .philosophy-step {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .about-page .philosophy-timeline {
    gap: 10px;
  }

  .about-page .philosophy-step {
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .philosophy-step-marker {
    width: 38px;
    height: 38px;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .about-page .philosophy-step-marker {
    width: 34px;
    height: 34px;
    margin-top: 18px;
    border-radius: 10px;
    font-size: 0.72rem;
  }

  .philosophy-step div {
    padding: 20px;
  }

  .about-page .philosophy-step div {
    padding: 16px 16px 15px;
    border-radius: 16px;
  }

  .about-page .philosophy-step strong {
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .about-page .philosophy-step p {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  html[lang="en-HK"] .about-page .philosophy-timeline {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 0;
  }

  html[lang="en-HK"] .about-page .philosophy-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }

  html[lang="en-HK"] .about-page .philosophy-step > div {
    min-width: 0;
    padding: 12px 12px 11px;
  }

  .number-row {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .cta-content > div:first-child h2 {
    font-size: clamp(1.58rem, 5.8vw, 1.96rem);
    line-height: 1.16;
  }

  .cta-content > div:first-child .text-muted {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .loan-info-page .section-header {
    margin-bottom: 12px;
  }

  .loan-info-page .section-header .lead {
    margin-top: 6px;
    margin-bottom: 0;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  html[lang="en-HK"] .cta-actions {
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.95rem;
  }

  .page-hero {
    min-height: 330px;
    padding-top: calc(var(--header-height) + 52px);
  }

  .page-hero-content {
    max-width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(1.62rem, 6vw, 2rem);
    line-height: 1.18;
  }

  .page-hero .lead,
  .breadcrumbs {
    font-size: 0.88rem;
    line-height: 1.56;
  }

  .contact-page .glass-card {
    padding: 12px;
  }

  .compliance-warning {
    margin-bottom: 34px;
    padding: 28px 12px 24px;
  }

  .compliance-warning-title {
    line-height: 1.08;
    white-space: normal;
  }

  .compliance-warning-title .mobile-break {
    display: inline;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  html[lang="en-HK"] .footer-grid {
    width: min(100%, 1360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    justify-content: stretch;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 10px;
    padding-bottom: 6px;
  }

  .footer-logo {
    width: 164px;
    height: 49px;
  }

  .footer-col.footer-brand h3 {
    font-size: 1rem;
    line-height: 1.28;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  html[lang="en-HK"] .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  .footer-single-line {
    white-space: normal;
  }

  .footer-grid > .footer-col:nth-child(3),
  .footer-grid > .footer-col:nth-child(4) {
    padding-left: 0;
  }

  html[lang="en-HK"] .footer-grid > .footer-col:nth-child(3),
  html[lang="en-HK"] .footer-grid > .footer-col:nth-child(4) {
    padding-left: 0;
  }

  .footer-col h3 {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .footer-col ul {
    gap: 4px;
  }

  .footer-col a,
  .footer-col li,
  .footer-col p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer-contact-list li,
  .footer-contact-list a {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    align-items: baseline;
  }

  .footer-contact-label {
    flex: 0 0 auto;
    font-size: 0.72rem;
  }

  .footer-contact-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .article-card {
    gap: 10px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .article-card h3 {
    font-size: 1rem;
    line-height: 1.36;
  }

  .article-card .text-muted {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .faq-question {
    padding: 18px 16px;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .faq-answer {
    padding: 0 16px 18px;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .contact-page .contact-list {
    gap: 8px;
  }

  .contact-page .contact-item {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 11px;
  }

  .contact-page .contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .contact-page .contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-page .contact-icon img {
    width: 17px;
    height: 17px;
  }

  .contact-page .contact-copy {
    gap: 4px;
  }

  .contact-page .contact-copy strong {
    font-size: 0.86rem;
  }

  .contact-page .contact-copy span {
    font-size: 0.8rem;
    line-height: 1.44;
  }

  .contact-page .contact-location-card,
  .contact-page .office-photo-card,
  .contact-page .map-card,
  .contact-page .map-frame {
    min-height: 228px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 9px;
  }

  .floating-action {
    min-width: 128px;
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.84rem;
    box-shadow: 0 12px 28px rgba(0, 48, 111, 0.22);
  }

  .floating-action img,
  .floating-action svg {
    width: 19px;
    height: 19px;
  }

  .back-to-top {
    right: 14px;
    bottom: 132px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 6px;
  }

  .brand-logo {
    flex-basis: 78px;
    width: 78px;
  }

  .brand-name {
    font-size: clamp(0.72rem, 3.18vw, 0.86rem);
  }

  .brand-license {
    font-size: clamp(0.46rem, 1.78vw, 0.54rem);
  }

  .header-inner {
    padding-right: 88px;
  }

  .language-toggle {
    width: 44px;
    min-width: 44px;
    min-height: 36px;
    padding: 0 5px;
    font-size: 0.76rem;
  }

  .language-toggle svg {
    width: 10px;
    height: 10px;
  }

  .language-menu {
    right: 39px;
    min-width: 118px;
  }

  .menu-toggle {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    background-size: 16px 2px;
    background-position:
      center 12px,
      center 18px,
      center 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  html[lang="en-HK"] .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  html[lang="en-HK"] .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  .floating-action {
    min-width: 116px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .case-story {
    gap: 22px;
    padding: 22px 14px 24px;
  }

  .case-story h3 {
    font-size: clamp(1.34rem, 8.2vw, 1.82rem);
  }

  .case-quote {
    padding: 18px 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .case-facts div {
    min-height: 76px;
    padding: 10px;
  }

  .case-facts span {
    font-size: 0.78rem;
  }

  .case-facts strong {
    font-size: 1.02rem;
  }

  .case-story-visual {
    min-height: 300px;
  }

  .case-story-visual img {
    width: min(78vw, 268px);
  }

  .case-badge {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .case-person {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .hero-content {
    padding-top: 16px;
    padding-bottom: max(150px, calc(env(safe-area-inset-bottom) + 150px));
  }

  .hero-title {
    max-width: min(86vw, 300px);
    margin-top: 12px;
    font-size: var(--hero-title-size, clamp(1.95rem, 9.2vw, 2.45rem));
    line-height: 1.04;
  }

  .hero-slide:nth-child(2) .hero-title {
    --hero-title-size: clamp(1.72rem, 7.2vw, 2.05rem);
    max-width: min(80vw, 282px);
  }

  .hero-copy {
    max-width: min(82vw, 292px);
    margin-top: 9px;
    font-size: 0.94rem;
    line-height: 1.44;
  }

  .hero-trust {
    width: min(76vw, 264px);
    gap: 6px;
    margin-top: 10px;
  }

  .hero-actions {
    width: min(86vw, 326px);
    gap: 7px;
    margin-top: 8px;
    padding: 6px;
  }

  .hero-advisor-note {
    right: 20px;
    bottom: max(126px, calc(env(safe-area-inset-bottom) + 126px));
    max-width: 156px;
    font-size: 0.62rem;
  }

  .hero-advisor-note strong {
    min-height: 20px;
    padding: 2px 7px 3px;
    font-size: 0.78rem;
  }

  .hero-advisor-note small {
    font-size: 0.54rem;
  }

  .hero-slide:nth-child(1) .hero-title .accent,
  .hero-slide:nth-child(3) .hero-title .accent {
    color: #0d4ea6;
  }

  .hero-slide:nth-child(2) .hero-title .accent,
  .hero-slide:nth-child(4) .hero-title .accent {
    color: #d3ebff;
  }

  .hero-actions .btn {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .trust-pill {
    min-height: 24px;
    padding: 0 0 0 16px;
    font-size: 0.78rem;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    min-height: 104px;
    padding: 16px 14px 14px;
    border-radius: 8px;
  }

  .stat-value {
    font-size: clamp(1.8rem, 8.5vw, 2.45rem);
  }

  .stat-card:nth-child(2) .stat-value {
    font-size: clamp(1.64rem, 7.3vw, 2.08rem);
  }

  .stat-label {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .services-showcase-section .section-header h2,
  .about-application-copy h2 {
    font-size: clamp(1.54rem, 5.5vw, 1.82rem);
  }

  .about-page .philosophy-header h2 {
    font-size: clamp(1.08rem, 4.1vw, 1.24rem);
    white-space: nowrap;
  }

  .page-hero h1,
  .section-header h2 {
    font-size: clamp(1.46rem, 5.2vw, 1.74rem);
  }

  .about-application-copy .lead,
  .about-application-copy .text-muted,
  .section-note,
  .license-item span,
  .document-card .text-muted,
  .timeline-content,
  .cta-content > div:first-child .text-muted,
  .page-hero .lead,
  .breadcrumbs,
  .article-card .text-muted,
  .faq-answer {
    font-size: 0.84rem;
    line-height: 1.56;
  }

  .license-item strong {
    font-size: 0.95rem;
  }

  .service-badges span {
    font-size: 0.74rem;
  }

  .article-card {
    gap: 8px;
    padding: 16px 14px;
    border-radius: 16px;
  }

  .article-card h3,
  .faq-question {
    font-size: 0.92rem;
  }

  .inline-actions {
    gap: 8px;
  }

  .inline-actions .btn,
  .cta-actions .btn {
    font-size: 0.84rem;
  }

  .loan-calculator-page .result-grid,
  .homepage-calculator-showcase .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .services-grid {
    gap: 10px;
  }

  .home-page .services-showcase-section .service-card {
    flex-basis: min(74vw, 206px);
    padding: 16px 14px 14px;
  }

  .home-page .services-showcase-section .service-card h3 {
    font-size: 0.9rem;
  }

  .home-page .services-showcase-section .service-card .text-muted {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .faq-question {
    padding: 16px 14px;
  }

  .faq-answer {
    padding: 0 14px 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  html[lang="en-HK"] .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  html[lang="en-HK"] .footer-grid > .footer-col:nth-child(2) {
    grid-column: auto;
  }

  .footer-col h3 {
    font-size: 0.82rem;
  }

  .footer-col a,
  .footer-col li,
  .footer-col p {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .footer-contact-label {
    font-size: 0.68rem;
  }

  .footer-contact-value {
    font-size: 0.7rem;
    line-height: 1.34;
  }

  .loan-services-page .eligibility-panel {
    min-height: 360px;
  }

  .loan-services-page .eligibility-figure img {
    width: min(96%, 315px);
    max-height: 92%;
  }

  .process-header h2,
  .cta-content > div:first-child h2 {
    font-size: clamp(1.42rem, 5.1vw, 1.68rem);
  }

  .loan-calculator-page .calculator-controls .section-header h2,
  .homepage-calculator-showcase .calculator-controls .section-header h2 {
    font-size: clamp(1.26rem, 4.8vw, 1.46rem);
  }

  .loan-calculator-page .calculator-controls .section-header .text-muted,
  .loan-calculator-page .range-label,
  .loan-calculator-page .range-head output,
  .loan-calculator-page .range-number-input,
  .loan-calculator-page .small-note,
  .homepage-calculator-showcase .calculator-controls .section-header .text-muted,
  .homepage-calculator-showcase .range-label,
  .homepage-calculator-showcase .range-head output,
  .homepage-calculator-showcase .range-number-input,
  .homepage-calculator-showcase .small-note {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .loan-calculator-page .range-field,
  .homepage-calculator-showcase .range-field {
    min-height: 78px;
    padding: 9px 9px;
  }

  .loan-calculator-page .result-card,
  .homepage-calculator-showcase .result-card {
    padding: 12px 10px;
  }

  .loan-calculator-page .result-label,
  .homepage-calculator-showcase .result-label {
    font-size: 0.8rem;
  }

  .loan-calculator-page .result-value,
  .homepage-calculator-showcase .result-value {
    font-size: clamp(1.16rem, 6.2vw, 1.62rem);
  }

  .loan-calculator-page .result-grid .result-value,
  .homepage-calculator-showcase .result-grid .result-value {
    font-size: clamp(0.78rem, 4vw, 0.96rem);
  }

  .loan-calculator-page .results-panel .inline-actions .btn,
  .homepage-calculator-showcase .results-panel .inline-actions .btn {
    min-height: 36px;
    font-size: 0.84rem;
  }

  .about-page .philosophy-panel {
    padding: 16px 14px 0;
  }

  .about-page .philosophy-kicker {
    font-size: 0.72rem;
  }

  .about-page .philosophy-metric strong {
    font-size: 1.64rem;
  }

  .about-page .philosophy-metric span,
  .about-page .philosophy-panel p,
  .about-page .philosophy-note,
  .loan-info-page .section-header .lead,
  .contact-page .contact-copy span {
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .about-page .philosophy-panel h3,
  .contact-page .contact-copy strong {
    font-size: 0.84rem;
  }

  .about-page .philosophy-tags span {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .about-page .philosophy-timeline {
    gap: 8px;
  }

  .about-page .philosophy-step {
    grid-template-columns: 38px 1fr;
    gap: 8px;
  }

  .about-page .philosophy-step-marker {
    width: 30px;
    height: 30px;
    margin-top: 16px;
    border-radius: 9px;
    font-size: 0.68rem;
  }

  .about-page .philosophy-step div {
    padding: 14px 14px 13px;
  }

  .about-page .philosophy-step p {
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.46;
  }

  .loan-services-page .eligibility-panel {
    min-height: 360px;
  }

  .loan-services-page .eligibility-panel::before {
    top: 12px;
    font-size: clamp(1.8rem, 9.5vw, 2.7rem);
  }

  .loan-services-page .eligibility-figure img {
    width: min(94%, 300px);
    max-height: 90%;
  }

  .loan-services-page .eligibility-burst {
    width: calc(50% - 24px);
    min-width: 0;
    max-width: calc(50% - 24px);
    min-height: 52px;
    padding: 8px 9px 12px;
    font-size: clamp(0.92rem, 4.2vw, 1.08rem);
    line-height: 1.02;
  }

  .loan-services-page .eligibility-burst-left-top {
    top: 58px;
    left: 0;
  }

  .loan-services-page .eligibility-burst-right-top {
    top: 60px;
    right: 0;
  }

  .loan-services-page .eligibility-burst-left-bottom {
    left: 0;
    bottom: -82px;
  }

  .loan-services-page .eligibility-burst-right-bottom {
    right: 0;
    bottom: -82px;
  }

  .loan-services-page .section-alt .eligibility-panel {
    margin-bottom: 98px;
  }

  .document-card {
    padding: 14px 12px 14px 50px;
  }

  .loan-services-page .document-card {
    padding: 12px 10px 12px 46px;
  }

  .loan-services-page .document-card::before {
    left: 14px;
    top: 16px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .loan-services-page .document-card h3,
  .loan-services-page .timeline-step {
    font-size: 0.76rem;
  }

  .timeline-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  .timeline-item::before {
    left: 25px;
    top: 32px;
  }

  .timeline-step {
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .loan-services-page .document-card .text-muted,
  .loan-services-page .timeline-content {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .loan-services-page .timeline-content {
    padding: 10px 11px;
  }

  .contact-page .glass-card {
    padding: 12px;
  }

  .contact-page .contact-list {
    gap: 8px;
  }

  .contact-page .contact-item {
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 12px 12px;
  }

  .contact-page .contact-icon {
    width: 30px;
    height: 30px;
  }

  .contact-page .contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .contact-page .contact-icon img {
    width: 17px;
    height: 17px;
  }

  .contact-page .contact-location-card,
  .contact-page .office-photo-card,
  .contact-page .map-card,
  .contact-page .map-frame {
    min-height: 208px;
  }

  .cta-actions {
    gap: 8px;
  }

  html[lang="en-HK"] .cta-actions {
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .loan-calculator-page .page-hero {
    min-height: 0;
    padding: calc(var(--header-height) + 10px) 0 10px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94)),
      var(--color-bg-soft);
  }

  .loan-calculator-page .page-hero::after {
    height: 3px;
  }

  .loan-calculator-page .breadcrumbs,
  .loan-calculator-page .page-hero .lead {
    display: none;
  }

  .loan-calculator-page .page-hero .eyebrow {
    min-height: 22px;
    padding: 2px 8px;
    font-size: 0.68rem;
  }

  .loan-calculator-page .page-hero h1 {
    margin-top: 4px;
    font-size: 1.22rem;
    line-height: 1.1;
  }

  .loan-calculator-page .calculator-design-section {
    padding: 8px 0 max(54px, calc(env(safe-area-inset-bottom) + 54px));
  }

  .loan-calculator-page .calculator-design-section .container.calculator-shell {
    width: min(100% - 16px, var(--container));
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(239, 250, 255, 0.92), rgba(255, 255, 255, 0.62)),
      linear-gradient(180deg, rgba(0, 87, 184, 0.06), rgba(125, 189, 43, 0.05));
    border: 1px solid rgba(0, 87, 184, 0.2);
    border-radius: 14px;
    box-shadow:
      0 18px 44px rgba(0, 48, 111, 0.12),
      inset 0 2px 0 rgba(255, 255, 255, 0.88);
    scroll-margin-top: calc(var(--header-height) + 8px);
  }

  .loan-calculator-page .calculator-controls {
    gap: 6px;
    padding: 8px 8px 6px;
    position: relative;
  }

  .loan-calculator-page .calculator-controls::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
    border-radius: 14px 0 0 0;
  }

  .loan-calculator-page .calculator-controls .section-header {
    gap: 2px;
    margin-bottom: 2px;
  }

  .loan-calculator-page .calculator-controls .section-header .eyebrow,
  .loan-calculator-page .calculator-controls .section-header .text-muted {
    display: none;
  }

  .loan-calculator-page .calculator-controls .section-header h2 {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .loan-calculator-page .range-field {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    min-height: 0;
    padding: 7px 8px;
    border-width: 1px;
    border-radius: 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.78)),
      rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 87, 184, 0.18);
    box-shadow:
      0 8px 18px rgba(0, 48, 111, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .loan-calculator-page .range-scale {
    display: none;
  }

  .loan-calculator-page .range-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    box-shadow:
      0 7px 14px rgba(0, 87, 184, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  .loan-calculator-page .range-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
  }

  .loan-calculator-page .range-body {
    gap: 5px;
  }

  .loan-calculator-page .range-head {
    gap: 6px;
  }

  .loan-calculator-page .range-label,
  .loan-calculator-page .range-head output,
  .loan-calculator-page .range-number-input {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .loan-calculator-page .range-head output {
    padding: 3px 7px;
    background: rgba(0, 87, 184, 0.1);
    border-color: rgba(0, 87, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .loan-calculator-page input[type="range"] {
    height: 6px;
  }

  .loan-calculator-page input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  .loan-calculator-page input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    box-shadow:
      0 5px 12px rgba(0, 79, 159, 0.2),
      0 0 0 5px rgba(125, 189, 43, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .loan-calculator-page input[type="range"]::-moz-range-track,
  .loan-calculator-page input[type="range"]::-moz-range-progress {
    height: 6px;
  }

  .loan-calculator-page input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }

  .loan-calculator-page .results-panel,
  .loan-calculator-page .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .loan-calculator-page .results-panel {
    gap: 6px;
    padding: 6px 8px 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(234, 248, 255, 0.28));
    border-top: 1px solid rgba(0, 87, 184, 0.1);
  }

  .loan-calculator-page .result-grid {
    gap: 6px;
  }

  .loan-calculator-page .result-card {
    position: relative;
    min-height: 0;
    padding: 7px 8px;
    overflow: hidden;
    border-width: 1px;
    border-radius: 9px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 255, 0.82));
    border-color: rgba(0, 87, 184, 0.12);
    box-shadow:
      0 8px 18px rgba(0, 48, 111, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .loan-calculator-page .result-card::before {
    content: "$";
    position: absolute;
    right: 7px;
    top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: rgba(0, 87, 184, 0.72);
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.12);
    border-radius: 6px;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .loan-calculator-page .result-grid .result-card:first-child::before {
    content: "%";
  }

  .loan-calculator-page .result-grid .result-card:nth-child(2)::before {
    content: "Σ";
  }

  .loan-calculator-page .result-card.primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    grid-column: 1 / -1;
    min-height: 0;
    padding: 9px 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(227, 246, 255, 0.82)),
      linear-gradient(90deg, rgba(0, 87, 184, 0.08), rgba(125, 189, 43, 0.06));
    border-color: rgba(86, 168, 255, 0.22);
  }

  .loan-calculator-page .result-card.primary::before {
    content: "月";
    position: static;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 16px rgba(0, 87, 184, 0.18);
    font-size: 0.72rem;
  }

  .loan-calculator-page .result-label {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .loan-calculator-page .result-value {
    margin-top: 3px;
    font-size: clamp(1rem, 4.9vw, 1.35rem);
    line-height: 1;
  }

  .loan-calculator-page .result-card.primary .result-value {
    flex: 0 1 auto;
    margin-top: 0;
    font-size: clamp(1.18rem, 5.6vw, 1.58rem);
    text-align: right;
  }

  .loan-calculator-page .result-grid .result-value {
    font-size: clamp(0.74rem, 3.45vw, 0.94rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .loan-calculator-page .small-note {
    display: -webkit-box;
    overflow: hidden;
    padding-left: 18px;
    position: relative;
    font-size: 0.62rem;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .loan-calculator-page .small-note::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    color: #ffffff;
    background: rgba(0, 87, 184, 0.72);
    border-radius: 50%;
    font-size: 0.52rem;
    font-weight: 900;
  }

  .loan-calculator-page .results-panel .inline-actions {
    gap: 6px;
  }

  .loan-calculator-page .results-panel .inline-actions .btn {
    min-height: 30px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 0.72rem;
  }

  .loan-calculator-page .results-panel .inline-actions .btn::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .loan-calculator-page .results-panel .inline-actions .btn-apply::before {
    content: "✓";
  }

  .loan-calculator-page .results-panel .inline-actions .btn-outline::before {
    content: "☎";
  }
}

@media (max-width: 420px) {
  .loan-calculator-page .calculator-design-section {
    padding-top: 7px;
  }

  .loan-calculator-page .calculator-design-section .container.calculator-shell {
    width: min(100% - 14px, var(--container));
  }

  .loan-calculator-page .calculator-controls {
    padding: 7px 7px 5px;
  }

  .loan-calculator-page .range-field {
    padding: 6px 7px;
  }

  .loan-calculator-page .result-card {
    padding: 6px 7px;
  }

  .loan-calculator-page .result-card.primary {
    padding: 7px 8px;
  }

  .loan-calculator-page .results-panel {
    padding: 5px 7px 7px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .loan-calculator-page .page-hero {
    padding: calc(var(--header-height) + 7px) 0 7px;
  }

  .loan-calculator-page .page-hero .eyebrow {
    display: none;
  }

  .loan-calculator-page .page-hero h1 {
    margin-top: 0;
    font-size: 1.08rem;
  }

  .loan-calculator-page .calculator-controls .section-header h2 {
    font-size: 0.9rem;
  }

  .loan-calculator-page .range-field {
    padding-block: 5px;
  }

  .loan-calculator-page .small-note {
    -webkit-line-clamp: 1;
  }
}

@media (max-width: 640px) {
  .loan-calculator-page .page-hero {
    min-height: 330px;
    padding: calc(var(--header-height) + 52px) 0 46px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.86)),
      url("../assets/images/hong-kong-finance.jpg") right 40% / cover no-repeat;
  }

  .loan-calculator-page .breadcrumbs {
    display: flex;
  }

  .loan-calculator-page .page-hero .lead {
    display: block;
  }

  .loan-calculator-page .page-hero .eyebrow {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.88rem;
  }

  .loan-calculator-page .page-hero h1 {
    margin-top: 8px;
    font-size: clamp(1.62rem, 6vw, 2rem);
    line-height: 1.18;
  }

  .loan-calculator-page .calculator-design-section {
    padding: 10px 0 max(60px, calc(env(safe-area-inset-bottom) + 60px));
  }

  .loan-calculator-page .calculator-design-section .container.calculator-shell {
    border-radius: 18px;
    box-shadow:
      0 22px 52px rgba(0, 48, 111, 0.14),
      inset 0 2px 0 rgba(255, 255, 255, 0.9);
  }

  .loan-calculator-page .calculator-controls {
    gap: 8px;
    padding: 12px 10px 10px;
  }

  .loan-calculator-page .calculator-controls::before {
    width: 5px;
    border-radius: 18px 0 0 0;
  }

  .loan-calculator-page .calculator-controls .section-header {
    gap: 3px;
    margin-bottom: 3px;
  }

  .loan-calculator-page .calculator-controls .section-header h2 {
    font-size: 1.02rem;
    line-height: 1.16;
  }

  .loan-calculator-page .range-field {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    min-height: 68px;
    padding: 10px;
    border-radius: 13px;
    box-shadow:
      0 12px 24px rgba(0, 48, 111, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .loan-calculator-page .range-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .loan-calculator-page .range-icon svg {
    width: 16px;
    height: 16px;
  }

  .loan-calculator-page .range-body {
    gap: 6px;
  }

  .loan-calculator-page .range-head {
    gap: 8px;
  }

  .loan-calculator-page .range-label,
  .loan-calculator-page .range-head output,
  .loan-calculator-page .range-number-input {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .loan-calculator-page .range-head output {
    padding: 4px 8px;
  }

  .loan-calculator-page input[type="range"],
  .loan-calculator-page input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
  }

  .loan-calculator-page input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -6px;
    box-shadow:
      0 7px 14px rgba(0, 79, 159, 0.22),
      0 0 0 6px rgba(125, 189, 43, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.52);
  }

  .loan-calculator-page input[type="range"]::-moz-range-track,
  .loan-calculator-page input[type="range"]::-moz-range-progress {
    height: 7px;
  }

  .loan-calculator-page input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }

  .loan-calculator-page .results-panel {
    gap: 8px;
    padding: 9px 10px 10px;
  }

  .loan-calculator-page .result-grid {
    gap: 8px;
  }

  .loan-calculator-page .result-card {
    min-height: 62px;
    padding: 10px;
    border-radius: 12px;
  }

  .loan-calculator-page .result-card::before {
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    font-size: 0.66rem;
  }

  .loan-calculator-page .result-card.primary {
    min-height: 68px;
    padding: 11px 12px;
  }

  .loan-calculator-page .result-card.primary::before {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.82rem;
  }

  .loan-calculator-page .result-label {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  .loan-calculator-page .result-value {
    margin-top: 4px;
    font-size: clamp(1.02rem, 4.85vw, 1.32rem);
    line-height: 1.04;
  }

  .loan-calculator-page .result-card.primary .result-value {
    font-size: clamp(1.26rem, 5.85vw, 1.62rem);
  }

  .loan-calculator-page .result-grid .result-value {
    font-size: clamp(0.82rem, 3.75vw, 1rem);
  }

  .loan-calculator-page .small-note {
    padding-left: 20px;
    font-size: 0.68rem;
    line-height: 1.36;
    -webkit-line-clamp: 2;
  }

  .loan-calculator-page .small-note::before {
    top: 2px;
    width: 15px;
    height: 15px;
    font-size: 0.58rem;
  }

  .loan-calculator-page .results-panel .inline-actions {
    gap: 8px;
  }

  .loan-calculator-page .results-panel .inline-actions .btn {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .loan-calculator-page .results-panel .inline-actions .btn::before {
    margin-right: 5px;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  html,
  body,
  .site-header,
  .home-page,
  .home-page main {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    width: 100%;
  }

  .home-page .hero-actions {
    order: 4;
    display: block;
    width: min(34vw, 132px);
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-page .hero-trust {
    order: 3;
  }

  .home-page .hero-actions .btn {
    min-height: 32px;
    padding: 0 9px;
    border-width: 1px;
    border-radius: 8px;
    font-size: clamp(0.64rem, 2.65vw, 0.74rem);
    line-height: 1.08;
  }

  .home-page .hero-actions .btn::after {
    width: 5px;
    height: 5px;
    margin-left: 3px;
    border-width: 2px;
  }

  .home-page .hero-actions .btn-apply {
    min-height: 31px;
    padding-inline: 9px;
  }

  .home-page .hero-actions .btn:not(.btn-apply) {
    display: none;
  }

  .home-page .hero-slide:nth-child(4) .hero-actions {
    width: min(34vw, 132px);
  }

  .home-page .hero-slide:nth-child(1) .hero-actions {
    width: min(34vw, 132px);
  }

  html[lang="en-HK"] .home-page .hero-actions .btn {
    min-height: 32px;
    padding: 0 8px;
    font-size: clamp(0.56rem, 2.24vw, 0.66rem);
    line-height: 1.08;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  html[lang="en-HK"] .home-page .hero-actions {
    width: min(34vw, 134px);
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(4) .hero-actions {
    width: min(34vw, 134px);
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-actions {
    width: min(34vw, 134px);
  }

  .loan-services-page .service-grid-detailed {
    gap: 12px;
    justify-items: center;
    overflow-x: clip;
  }

  .loan-services-page .service-card-detailed {
    justify-self: center;
    width: min(100%, 348px);
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(20, 60, 112, 0.1);
  }

  .loan-services-page .service-card-detailed::before {
    height: 3px;
  }

  .loan-services-page .service-media {
    height: clamp(96px, 27vw, 118px);
    aspect-ratio: auto;
  }

  .loan-services-page .service-copy {
    gap: 6px;
    padding: 11px 12px 12px;
  }

  .loan-services-page .service-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 8px 18px rgba(0, 79, 159, 0.1);
  }

  .loan-services-page .service-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
  }

  .loan-services-page .service-copy h3 {
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .loan-services-page .service-copy .text-muted {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .loan-services-page .service-points {
    gap: 4px;
  }

  .loan-services-page .service-points li {
    padding-left: 13px;
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .loan-services-page .service-points li::before {
    top: 0.68em;
    width: 5px;
    height: 5px;
  }

  .loan-services-page .service-card-detailed .card-link {
    min-height: 28px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .loan-services-page .timeline {
    overflow: hidden;
  }

  .loan-services-page .timeline-item {
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
  }

  .loan-services-page .timeline-content {
    min-width: 0;
  }

  html[lang="en-HK"] .loan-services-page .timeline {
    overflow: hidden;
  }

  html[lang="en-HK"] .loan-services-page .timeline-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    width: calc(100% - 4px);
    max-width: calc(100% - 4px);
  }

  html[lang="en-HK"] .loan-services-page .timeline-step {
    min-width: 0;
    padding: 0 6px;
    text-align: center;
    white-space: normal;
  }

  html[lang="en-HK"] .loan-services-page .timeline-content {
    min-width: 0;
    padding: 10px;
  }

  html[lang="en-HK"] .about-page .philosophy-step {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 5px;
    box-sizing: border-box;
    padding-right: 7px;
  }

  html[lang="en-HK"] .about-page .philosophy-step-marker {
    width: 28px;
    height: 28px;
    margin-top: 16px;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  html[lang="en-HK"] .about-page .philosophy-step > div {
    min-width: 0;
    padding: 11px 11px 10px;
  }

  html[lang="en-HK"] .application-welcome-figure {
    overflow: hidden;
  }

  html[lang="en-HK"] .application-welcome-figure img {
    right: -14px;
    max-width: calc(100% - 18px);
    transform-origin: right bottom;
  }
}

@media (max-width: 640px) {
  .floating-actions {
    right: 18px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(197, 215, 234, 0.95);
    border-radius: 999px;
    box-shadow:
      0 6px 16px rgba(0, 48, 111, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    filter: none;
  }

  .floating-action {
    min-width: 0;
    min-height: 30px;
    padding: 0 10px;
    gap: 5px;
    border-width: 1px;
    border-color: transparent;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 850;
    box-shadow: none;
  }

  .floating-action:hover,
  .floating-action:focus-visible {
    box-shadow: none;
    transform: translateY(-1px);
  }

  .floating-action img,
  .floating-action svg {
    width: 14px;
    height: 14px;
  }

  .floating-action-whatsapp {
    color: #183a26;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(210, 226, 215, 0.9);
  }

  .floating-action-whatsapp img,
  .floating-action-whatsapp svg {
    color: #2db655;
  }

  .floating-action-whatsapp img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(556%) hue-rotate(91deg) brightness(96%) contrast(92%);
  }

  .floating-action-apply {
    background: linear-gradient(135deg, #52bf47, #3ea73c);
    border-color: rgba(73, 156, 58, 0.28);
    box-shadow:
      0 3px 9px rgba(63, 159, 45, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  body.cookie-banner-visible .floating-actions {
    bottom: 56px;
  }

  body.cookie-banner-visible .back-to-top.visible {
    bottom: 142px;
  }

  .home-page .hero-media::after {
    left: 20px;
    bottom: 8px;
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .home-page .hero-media::after {
    display: none;
  }

  .hero-slide .hero-title .accent {
    color: #d7ecff;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 20px rgba(86, 168, 255, 0.46),
      0 12px 26px rgba(0, 24, 76, 0.24);
  }

  .loan-info-page .section .grid-3 {
    display: flex;
    gap: 12px;
    width: calc(100% + 14px);
    max-width: calc(100% + 14px);
    margin-right: -14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 14px 8px 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .loan-info-page .section .grid-3::-webkit-scrollbar {
    display: none;
  }

  .loan-info-page .section .grid-3 .article-card {
    flex: 0 0 min(70vw, 260px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .hero-slide .hero-title .accent {
    color: #d7ecff !important;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 20px rgba(86, 168, 255, 0.46),
      0 12px 26px rgba(0, 24, 76, 0.24) !important;
  }

  html[lang="en-HK"] .home-page .services-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  html[lang="en-HK"] .home-page .services-grid::-webkit-scrollbar {
    display: none;
  }

  html[lang="en-HK"] .home-page .services-showcase-section .service-card {
    flex: 0 0 min(74vw, 226px);
    width: auto;
    max-width: none;
    scroll-snap-align: start;
  }

  html[lang="en-HK"] .loan-calculator-page .calculator-shell {
    overflow: hidden;
  }

  html[lang="en-HK"] .loan-calculator-page .result-card.primary {
    gap: 6px;
    padding-inline: 8px;
  }

  html[lang="en-HK"] .loan-calculator-page .result-card.primary .result-label {
    max-width: 118px;
    font-size: 0.64rem;
    line-height: 1.12;
  }

  html[lang="en-HK"] .loan-calculator-page .result-card.primary .result-value {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(1.08rem, 5vw, 1.34rem);
    line-height: 1;
  }

  .homepage-calculator-showcase {
    padding: 8px 0 max(54px, calc(env(safe-area-inset-bottom) + 54px));
  }

  .homepage-calculator-showcase .container.calculator-shell {
    width: min(100% - 16px, var(--container));
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(239, 250, 255, 0.92), rgba(255, 255, 255, 0.62)),
      linear-gradient(180deg, rgba(0, 87, 184, 0.06), rgba(125, 189, 43, 0.05));
    border: 1px solid rgba(0, 87, 184, 0.2);
    border-radius: 14px;
    box-shadow:
      0 18px 44px rgba(0, 48, 111, 0.12),
      inset 0 2px 0 rgba(255, 255, 255, 0.88);
  }

  .homepage-calculator-showcase .calculator-controls {
    position: relative;
    gap: 6px;
    padding: 8px 8px 6px;
  }

  .homepage-calculator-showcase .calculator-controls::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary-deep), var(--color-primary), var(--color-accent));
    border-radius: 14px 0 0 0;
  }

  .homepage-calculator-showcase .calculator-controls .section-header {
    gap: 2px;
    margin-bottom: 2px;
  }

  .homepage-calculator-showcase .calculator-controls .section-header .eyebrow,
  .homepage-calculator-showcase .calculator-controls .section-header .text-muted {
    display: none;
  }

  .homepage-calculator-showcase .calculator-controls .section-header h2 {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .homepage-calculator-showcase .range-field {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    min-height: 0;
    padding: 7px 8px;
    border-width: 1px;
    border-radius: 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.78)),
      rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 87, 184, 0.18);
    box-shadow:
      0 8px 18px rgba(0, 48, 111, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .homepage-calculator-showcase .range-scale {
    display: none;
  }

  .homepage-calculator-showcase .range-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 7px;
    box-shadow:
      0 7px 14px rgba(0, 87, 184, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
  }

  .homepage-calculator-showcase .range-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
  }

  .homepage-calculator-showcase .range-body {
    gap: 5px;
  }

  .homepage-calculator-showcase .range-head {
    gap: 6px;
  }

  .homepage-calculator-showcase .range-label,
  .homepage-calculator-showcase .range-head output,
  .homepage-calculator-showcase .range-number-input {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .homepage-calculator-showcase .range-head output {
    padding: 3px 7px;
    background: rgba(0, 87, 184, 0.1);
    border-color: rgba(0, 87, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .homepage-calculator-showcase input[type="range"] {
    height: 6px;
  }

  .homepage-calculator-showcase input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  .homepage-calculator-showcase input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
    box-shadow:
      0 5px 12px rgba(0, 79, 159, 0.2),
      0 0 0 5px rgba(125, 189, 43, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .homepage-calculator-showcase .results-panel,
  .homepage-calculator-showcase .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-calculator-showcase .results-panel {
    gap: 6px;
    padding: 6px 8px 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(234, 248, 255, 0.28));
    border-top: 1px solid rgba(0, 87, 184, 0.1);
  }

  .homepage-calculator-showcase .result-grid {
    gap: 6px;
  }

  .homepage-calculator-showcase .result-card {
    position: relative;
    min-height: 0;
    padding: 7px 8px;
    overflow: hidden;
    border-width: 1px;
    border-radius: 9px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 255, 0.82));
    border-color: rgba(0, 87, 184, 0.12);
    box-shadow:
      0 8px 18px rgba(0, 48, 111, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .homepage-calculator-showcase .result-card::before {
    content: "$";
    position: absolute;
    right: 7px;
    top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: rgba(0, 87, 184, 0.72);
    background: rgba(0, 87, 184, 0.08);
    border: 1px solid rgba(0, 87, 184, 0.12);
    border-radius: 6px;
    font-size: 0.58rem;
    font-weight: 900;
  }

  .homepage-calculator-showcase .result-grid .result-card:first-child::before {
    content: "%";
  }

  .homepage-calculator-showcase .result-grid .result-card:nth-child(2)::before {
    content: "Σ";
  }

  .homepage-calculator-showcase .result-card.primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    grid-column: 1 / -1;
    min-height: 0;
    padding: 9px 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(227, 246, 255, 0.82)),
      linear-gradient(90deg, rgba(0, 87, 184, 0.08), rgba(125, 189, 43, 0.06));
    border-color: rgba(86, 168, 255, 0.22);
  }

  .homepage-calculator-showcase .result-card.primary::before {
    content: "月";
    position: static;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-bright));
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 16px rgba(0, 87, 184, 0.18);
    font-size: 0.72rem;
  }

  .homepage-calculator-showcase .result-label {
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .homepage-calculator-showcase .result-value {
    margin-top: 3px;
    font-size: clamp(1rem, 4.9vw, 1.35rem);
    line-height: 1;
  }

  .homepage-calculator-showcase .result-card.primary .result-value {
    flex: 0 1 auto;
    margin-top: 0;
    font-size: clamp(1.18rem, 5.6vw, 1.58rem);
    text-align: right;
  }

  .homepage-calculator-showcase .result-grid .result-value {
    font-size: clamp(0.74rem, 3.45vw, 0.94rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .homepage-calculator-showcase .small-note {
    display: -webkit-box;
    overflow: hidden;
    padding-left: 18px;
    position: relative;
    font-size: 0.62rem;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .homepage-calculator-showcase .small-note::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    color: #ffffff;
    background: rgba(0, 87, 184, 0.72);
    border-radius: 50%;
    font-size: 0.52rem;
    font-weight: 900;
  }

  .homepage-calculator-showcase .results-panel .inline-actions {
    gap: 6px;
  }

  .homepage-calculator-showcase .results-panel .inline-actions .btn {
    min-height: 30px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 0.72rem;
  }

  .homepage-calculator-showcase .results-panel .inline-actions .btn::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .homepage-calculator-showcase .results-panel .inline-actions .btn-apply::before {
    content: "✓";
  }

  .homepage-calculator-showcase .results-panel .inline-actions .btn-outline::before {
    content: "☎";
  }

  html[lang="en-HK"] .homepage-calculator-showcase .result-card.primary {
    gap: 6px;
    padding-inline: 8px;
  }

  html[lang="en-HK"] .homepage-calculator-showcase .result-card.primary .result-label {
    max-width: 118px;
    font-size: 0.64rem;
    line-height: 1.12;
  }

  html[lang="en-HK"] .homepage-calculator-showcase .result-card.primary .result-value {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(1.08rem, 5vw, 1.34rem);
    line-height: 1;
  }

  .application-page .section {
    padding-top: 12px;
  }

  .application-page .split-layout {
    gap: 14px;
  }

  .application-page .form-card {
    padding: 14px 12px 16px;
    border-radius: 12px;
  }

  .application-page .form-card::before {
    width: 4px;
  }

  .application-page .form-grid {
    gap: 9px;
  }

  .application-page .application-header {
    gap: 3px;
    margin-bottom: 2px;
  }

  .application-page .application-header .eyebrow {
    min-height: 24px;
    padding: 2px 8px;
    font-size: 0.68rem;
  }

  .application-page .application-header h2 {
    font-size: 1.24rem;
    line-height: 1.1;
  }

  .application-page .application-intro {
    font-size: 0.74rem;
    line-height: 1.36;
  }

  .application-page .field {
    gap: 5px;
  }

  .application-page .field label,
  .application-page .checkbox-field {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .application-page .input,
  .application-page .select,
  .application-page .phone-country-fixed {
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.84rem;
  }

  .application-page .phone-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
  }

  .application-page .checkbox-field {
    gap: 7px;
    padding: 2px 0;
  }

  .application-page .checkbox-field input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .application-page .form-card[data-firebase-form="application"] .btn-apply {
    min-height: 40px;
    border-radius: 8px;
    font-size: 0.88rem;
  }

  .application-page .small-note {
    font-size: 0.72rem;
    line-height: 1.36;
  }

  .case-studies-page .case-story-list {
    gap: 14px;
  }

  .case-studies-page .case-story {
    gap: 12px;
    padding: 14px 11px 14px;
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(20, 60, 112, 0.1);
  }

  .case-studies-page .case-story::before {
    width: 4px;
  }

  .case-studies-page .case-story::after {
    top: 46px;
    width: min(62vw, 220px);
    opacity: 0.065;
  }

  .case-studies-page .case-story-copy {
    gap: 9px;
  }

  .case-studies-page .case-kicker {
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.68rem;
  }

  .case-studies-page .case-story h3 {
    font-size: clamp(1.16rem, 6.2vw, 1.42rem);
    line-height: 1.08;
  }

  .case-studies-page .case-quote {
    display: -webkit-box;
    overflow: hidden;
    padding: 8px 0 0 10px;
    font-size: 0.76rem;
    line-height: 1.46;
    border-left-width: 3px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .case-studies-page .case-quote::before {
    left: -14px;
    top: -8px;
    font-size: 3rem;
  }

  .case-studies-page .case-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 2px;
  }

  .case-studies-page .case-facts div {
    min-height: 50px;
    padding: 7px 6px;
    gap: 3px;
    border-radius: 7px;
  }

  .case-studies-page .case-facts span {
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .case-studies-page .case-facts strong {
    font-size: clamp(0.72rem, 3vw, 0.86rem);
    line-height: 1.12;
  }

  .case-studies-page .case-story-visual {
    min-height: 132px;
  }

  .case-studies-page .case-story-visual img {
    width: min(44vw, 154px);
    border-width: 5px;
    box-shadow: 0 14px 28px rgba(0, 48, 111, 0.13);
  }

  .case-studies-page .case-badge,
  .case-studies-page .case-person {
    min-height: 26px;
    padding: 0 9px;
    font-size: 0.62rem;
    border-radius: 999px;
  }
}

@media (max-width: 640px) {
  .loan-services-page .page-hero,
  .case-studies-page .page-hero,
  .about-page .page-hero,
  .contact-page .page-hero {
    min-height: 286px;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 34px;
  }

  .loan-services-page main > .section:first-of-type,
  .case-studies-page main > .section:first-of-type,
  .about-page main > .section:first-of-type,
  .contact-page main > .section:first-of-type {
    padding-top: 36px;
  }

  .loan-services-page .section-header,
  .case-studies-page .section-header {
    margin-bottom: 18px;
  }

  .about-page .split-layout {
    gap: 18px;
  }

  .contact-page .stack-lg {
    gap: 14px;
  }

  .back-to-top,
  .back-to-top.visible,
  body.cookie-banner-visible .back-to-top.visible {
    display: none !important;
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(8, 28, 55, 0.01) 0%, rgba(8, 28, 55, 0.03) 34%, rgba(5, 19, 43, 0.5) 100%),
      linear-gradient(90deg, rgba(0, 31, 72, 0.42) 0%, rgba(0, 79, 159, 0.08) 42%, rgba(0, 106, 190, 0) 76%) !important;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 32, 74, 0.01) 50%, rgba(4, 18, 42, 0.26) 100%) !important;
  }

  .home-page .hero-media::after {
    content: none !important;
    display: none !important;
  }

  .home-page .hero-content {
    width: min(60vw, 230px);
    max-width: 230px;
  }

  .home-page .hero-title,
  .home-page .hero-slide:nth-child(2) .hero-title,
  .home-page .hero-slide:nth-child(3) .hero-title,
  .home-page .hero-slide:nth-child(4) .hero-title {
    max-width: 252px;
    font-size: clamp(1.98rem, 8.4vw, 2.38rem);
    line-height: 1.01;
  }

  .home-page .hero-copy {
    max-width: 216px;
    font-size: clamp(0.74rem, 3.1vw, 0.86rem);
    line-height: 1.36;
    text-wrap: normal;
  }

  .home-page .hero-trust {
    width: 204px;
    gap: 4px;
    margin-top: 8px;
    padding-left: 10px;
    border-left-width: 2px;
  }

  .home-page .trust-pill {
    min-height: 20px;
    padding-left: 13px;
    font-size: clamp(0.66rem, 2.85vw, 0.76rem);
    line-height: 1.18;
  }

  .home-page .trust-pill::before {
    width: 5px;
    height: 5px;
  }

  .home-page .hero-slide:nth-child(1) .hero-content {
    width: min(58vw, 218px);
    max-width: 218px;
    padding-top: 16px;
  }

  .home-page .hero-slide:nth-child(1) .hero-content::before {
    width: min(26vw, 96px);
    height: 5px;
    margin-bottom: 14px;
  }

  .home-page .hero-slide:nth-child(1) .eyebrow {
    min-height: 28px;
    max-width: 180px;
    padding: 4px 10px;
    font-size: clamp(0.72rem, 3vw, 0.84rem);
    line-height: 1.12;
  }

  .home-page .hero-slide:nth-child(1) .hero-title {
    max-width: 206px;
    margin-top: 12px;
    font-size: clamp(1.62rem, 7vw, 2.02rem);
    line-height: 1.02;
  }

  .home-page .hero-slide:nth-child(1) .hero-copy {
    max-width: 206px;
    margin-top: 8px;
    font-size: clamp(0.75rem, 3.2vw, 0.86rem);
    line-height: 1.38;
    text-wrap: normal;
  }

  .home-page .hero-slide:nth-child(1) .hero-trust {
    width: 196px;
    gap: 4px;
    margin-top: 8px;
    padding-left: 10px;
    border-left-width: 2px;
  }

  .home-page .hero-slide:nth-child(1) .trust-pill {
    min-height: 20px;
    padding-left: 13px;
    font-size: clamp(0.66rem, 2.85vw, 0.76rem);
    line-height: 1.18;
  }

  .home-page .hero-slide:nth-child(1) .trust-pill::before {
    width: 5px;
    height: 5px;
  }

  .home-page .hero-slide:nth-child(1) .hero-actions {
    width: 118px;
    margin-top: 7px;
  }

  .home-page .hero-slide:nth-child(1) .hero-actions .btn {
    min-height: 29px;
    padding-inline: 7px;
    font-size: 0.66rem;
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-content {
    width: min(70vw, 288px);
    max-width: 288px;
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-title {
    max-width: 288px;
    font-size: clamp(1.34rem, 5.75vw, 1.68rem);
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-title .accent {
    white-space: nowrap;
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-copy {
    max-width: 210px;
    font-size: clamp(0.68rem, 2.85vw, 0.78rem);
    line-height: 1.32;
  }

  html[lang="en-HK"] .home-page .hero-slide:nth-child(1) .hero-trust {
    width: 202px;
  }

  .home-page .hero-slide:nth-child(3) .hero-content {
    width: min(64vw, 250px);
    max-width: 250px;
    padding-top: clamp(18px, 5.2vw, 24px);
  }

  .home-page .hero-slide:nth-child(3) .hero-title {
    max-width: 248px;
    font-size: clamp(1.84rem, 7.7vw, 2.24rem);
    line-height: 1.04;
    text-shadow:
      0 2px 0 rgba(0, 24, 76, 0.42),
      0 12px 28px rgba(0, 16, 48, 0.52);
  }

  .home-page .hero-slide:nth-child(3) .hero-title-break-mobile {
    display: block;
  }

  .home-page .hero-slide:nth-child(3) .hero-copy {
    max-width: 236px;
    padding: 6px 8px 7px;
    margin-left: -2px;
    background: rgba(0, 41, 91, 0.22);
    border-radius: 8px;
    text-shadow: 0 2px 12px rgba(0, 16, 48, 0.52);
  }

  .home-page .hero-slide:nth-child(3) .hero-trust {
    width: 214px;
    margin-top: 7px;
  }

  .home-page .hero-slide:nth-child(4) .hero-title {
    max-width: 292px;
    white-space: nowrap;
    font-size: clamp(1.76rem, 7.2vw, 2.12rem);
    letter-spacing: 0;
  }

  html[lang="en-HK"] .case-section-lead {
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
  }

  .application-page .stack-lg {
    gap: 10px;
  }

  .application-page .application-welcome-figure {
    min-height: 286px;
    margin-top: 36px;
    margin-bottom: 2px;
    overflow: visible;
  }

  .application-page .application-welcome-figure::before {
    bottom: 4px;
    opacity: 0.7;
  }

  .application-page .application-welcome-figure img {
    right: 2px;
    bottom: 0;
    width: min(82%, 286px);
    min-width: 0;
    filter: drop-shadow(0 22px 26px rgba(0, 31, 72, 0.18));
  }

  html[lang="en-HK"] .application-page .application-welcome-figure img {
    right: 2px;
    bottom: 0;
    max-width: none;
    width: min(82%, 286px);
  }

  .application-page .application-contact-card {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .homepage-calculator-showcase {
    padding: 18px 0 max(64px, calc(env(safe-area-inset-bottom) + 64px));
  }

  .homepage-calculator-showcase .container.calculator-shell {
    width: min(100% - 18px, var(--container));
    border-radius: 16px;
  }

  .homepage-calculator-showcase .calculator-controls {
    gap: 9px;
    padding: 12px 10px 9px;
  }

  .homepage-calculator-showcase .calculator-controls .section-header {
    display: grid;
    gap: 6px;
    margin-bottom: 4px;
  }

  .homepage-calculator-showcase .calculator-controls .section-header .eyebrow {
    position: static;
    display: inline-flex;
    width: max-content;
    min-height: 28px;
    margin: 0;
    padding: 4px 10px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .homepage-calculator-showcase .calculator-controls .section-header h2 {
    font-size: clamp(1.08rem, 4.8vw, 1.34rem);
    line-height: 1.12;
  }

  .homepage-calculator-showcase .range-field {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 82px;
    padding: 10px 10px;
    border-radius: 12px;
  }

  .homepage-calculator-showcase .range-icon {
    width: 26px;
    height: 26px;
  }

  .homepage-calculator-showcase .range-icon svg {
    width: 15px;
    height: 15px;
  }

  .homepage-calculator-showcase .range-body {
    gap: 7px;
  }

  .homepage-calculator-showcase .results-panel {
    gap: 8px;
    padding: 9px 10px 10px;
  }

  .homepage-calculator-showcase .result-card {
    padding: 10px 9px;
    border-radius: 11px;
  }

  .homepage-calculator-showcase .result-card.primary {
    min-height: 58px;
    padding: 11px 10px;
  }

  .homepage-calculator-showcase .result-label {
    font-size: 0.72rem;
  }

  .homepage-calculator-showcase .result-card.primary .result-value {
    font-size: clamp(1.18rem, 5.7vw, 1.54rem);
  }

  .homepage-calculator-showcase .small-note {
    font-size: 0.66rem;
    line-height: 1.36;
  }

  .homepage-calculator-showcase .results-panel .inline-actions .btn {
    min-height: 34px;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  .loan-services-page .service-grid-detailed {
    gap: 14px;
  }

  .loan-services-page .service-card-detailed {
    width: min(100%, 360px);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(20, 60, 112, 0.11);
  }

  .loan-services-page .service-media {
    height: clamp(132px, 36vw, 158px);
  }

  .loan-services-page .service-media img {
    object-position: center top;
  }

  .loan-services-page .service-copy {
    gap: 9px;
    padding: 14px 14px 15px;
  }

  .loan-services-page .service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .loan-services-page .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .loan-services-page .service-copy h3 {
    font-size: 1.06rem;
    line-height: 1.2;
  }

  .loan-services-page .service-copy .text-muted {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .loan-services-page .service-copy .text-muted + .text-muted {
    margin-top: -2px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 87, 184, 0.08);
  }

  .loan-services-page .service-points {
    gap: 6px;
    padding: 8px 0 0;
    border-top: 1px solid rgba(0, 87, 184, 0.08);
  }

  .loan-services-page .service-points li {
    padding-left: 14px;
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .loan-services-page .service-card-detailed .card-link {
    min-height: 30px;
    font-size: 0.82rem;
  }

  .loan-services-page .eligibility-panel {
    min-height: 390px;
    overflow: hidden;
  }

  .loan-services-page .eligibility-panel::before {
    top: 14px;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .loan-services-page .eligibility-figure {
    place-items: end center;
  }

  .loan-services-page .eligibility-figure img {
    width: min(84%, 278px);
    max-height: 84%;
    object-fit: contain;
    object-position: center bottom;
  }

  .loan-services-page .eligibility-burst {
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-height: 54px;
    padding: 8px 8px 12px;
    font-size: clamp(0.92rem, 4.25vw, 1.06rem);
    line-height: 1.02;
  }

  .loan-services-page .eligibility-burst-left-top {
    top: 58px;
    left: 2px;
  }

  .loan-services-page .eligibility-burst-right-top {
    top: 58px;
    right: 2px;
  }

  .loan-services-page .eligibility-burst-left-bottom {
    left: 2px;
    bottom: 16px;
  }

  .loan-services-page .eligibility-burst-right-bottom {
    right: 2px;
    bottom: 16px;
  }

  .loan-services-page .section-alt .eligibility-panel {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .loan-calculator-page .calculator-controls .section-header {
    display: grid;
    gap: 6px;
    margin-bottom: 4px;
  }

  .loan-calculator-page .calculator-controls .section-header .eyebrow {
    position: static;
    display: inline-flex;
    width: max-content;
    min-height: 28px;
    margin: 0;
    padding: 4px 10px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .loan-calculator-page .result-card.primary::before,
  .homepage-calculator-showcase .result-card.primary::before {
    content: "月";
  }

  html[lang="zh-Hans-HK"] .loan-calculator-page .result-card.primary::before,
  html[lang="zh-Hans-HK"] .homepage-calculator-showcase .result-card.primary::before {
    content: "月";
  }

  html[lang="en-HK"] .loan-calculator-page .result-card.primary::before,
  html[lang="en-HK"] .homepage-calculator-showcase .result-card.primary::before {
    content: "M";
  }

  html[lang="en-HK"] .loan-services-page .eligibility-burst {
    min-height: 54px;
    padding: 8px 8px 12px;
    font-size: 0.72rem;
    line-height: 1.02;
  }

  html[lang="en-HK"] .loan-services-page .eligibility-burst::after {
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 3px;
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-slider,
  .hero-slide,
  .hero-content-wrap,
  .hero-content {
    height: calc(100svh - var(--header-height));
    min-height: 560px;
    max-height: 760px;
  }

  .hero {
    overflow: hidden;
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(8, 28, 55, 0.02) 0%, rgba(8, 28, 55, 0.03) 30%, rgba(5, 19, 43, 0.48) 100%),
      linear-gradient(90deg, rgba(0, 31, 72, 0.38) 0%, rgba(0, 79, 159, 0.06) 44%, rgba(0, 106, 190, 0) 76%);
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 32, 74, 0.01) 48%, rgba(4, 18, 42, 0.28) 100%);
  }

  .hero-media img {
    image-rendering: auto;
    filter: none !important;
    opacity: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .hero-content {
    min-height: 0;
    padding-bottom: max(118px, calc(env(safe-area-inset-bottom) + 118px));
  }

  .home-page .hero-title,
  .home-page .hero-slide:nth-child(2) .hero-title,
  .home-page .hero-slide:nth-child(3) .hero-title,
  .home-page .hero-slide:nth-child(4) .hero-title {
    max-width: 252px;
    font-size: clamp(1.98rem, 8.4vw, 2.38rem);
    line-height: 1.01;
  }

  .home-page .hero-slide:nth-child(1) .hero-content {
    width: min(64vw, 246px);
    max-width: 246px;
  }

  .home-page .hero-slide:nth-child(1) .hero-title {
    max-width: 244px;
    font-size: clamp(1.98rem, 8.4vw, 2.38rem);
    line-height: 1.01;
  }

  .home-page .hero-slide:nth-child(2) .hero-title-break-mobile {
    display: block;
  }

  .home-page .hero-slide:nth-child(2) .hero-title {
    max-width: 252px;
  }

  .home-page .hero-slide:nth-child(2) .hero-title .accent {
    display: inline-block;
  }

  .home-page .hero-slide:nth-child(3) .hero-content {
    width: min(64vw, 250px);
    max-width: 250px;
    padding-top: clamp(18px, 5.2vw, 24px);
  }

  .home-page .hero-slide:nth-child(3) .hero-title {
    max-width: 248px;
    font-size: clamp(1.84rem, 7.7vw, 2.24rem);
    line-height: 1.04;
    text-shadow:
      0 2px 0 rgba(0, 24, 76, 0.42),
      0 12px 28px rgba(0, 16, 48, 0.52);
  }

  .home-page .hero-slide:nth-child(3) .hero-title-break-mobile {
    display: block;
  }

  .home-page .hero-slide:nth-child(3) .hero-copy {
    max-width: 236px;
    padding: 6px 8px 7px;
    margin-left: -2px;
    background: rgba(0, 41, 91, 0.22);
    border-radius: 8px;
    text-shadow: 0 2px 12px rgba(0, 16, 48, 0.52);
  }

  .home-page .hero-slide:nth-child(3) .hero-trust {
    width: 214px;
    margin-top: 7px;
  }

  .home-page .hero-slide:nth-child(4) .hero-title {
    max-width: 292px;
    white-space: nowrap;
    font-size: clamp(1.76rem, 7.2vw, 2.12rem);
    letter-spacing: 0;
  }

  html[lang="en-HK"] .compliance-warning {
    justify-items: center;
    text-align: center;
  }

  html[lang="en-HK"] .compliance-warning-title {
    text-align: center;
    text-wrap: balance;
  }
}

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

@media (max-width: 640px) {
  .back-to-top,
  .back-to-top.visible,
  body.cookie-banner-visible .back-to-top.visible {
    display: none !important;
  }

  .cta-actions,
  html[lang="en-HK"] .cta-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
    width: 100%;
  }

  .cta-actions .btn,
  html[lang="en-HK"] .cta-actions .btn {
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 6px;
    font-size: clamp(0.72rem, 3.15vw, 0.9rem);
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .case-studies-page .cta-actions .btn-outline {
    white-space: nowrap !important;
    font-size: clamp(0.58rem, 2.5vw, 0.72rem);
  }

  html[lang="en-HK"] .case-studies-page .section-header,
  html[lang="en-HK"] .case-studies-page .section-header.center {
    justify-items: center;
    text-align: center;
  }

  html[lang="en-HK"] .case-studies-page .case-section-lead {
    display: block;
    max-width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-wrap: balance;
  }

  .case-studies-page .cta-actions,
  html[lang="en-HK"] .case-studies-page .cta-actions {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.32fr) minmax(0, 0.95fr) !important;
  }

  .case-studies-page .cta-actions .btn {
    letter-spacing: 0;
  }

  .application-page .application-welcome-figure {
    min-height: 290px;
    margin-top: 42px;
    overflow: visible;
  }

  html[lang="en-HK"] .application-page .application-welcome-figure {
    overflow: visible;
  }

  .application-page .application-welcome-figure img,
  html[lang="en-HK"] .application-page .application-welcome-figure img {
    left: 58%;
    right: auto;
    bottom: 0;
    width: min(82%, 304px);
    max-height: 112%;
    object-fit: contain;
    object-position: center bottom;
    max-width: none;
    min-width: 0;
    transform: translate3d(-50%, 0, 0) scale(1.06);
    transform-origin: 50% 100%;
    animation-name: application-girl-mobile-flash-in;
  }
}

@keyframes application-girl-mobile-flash-in {
  0% {
    opacity: 0;
    transform: translate3d(-42%, 14px, 0) scale(0.96);
    filter: brightness(1.14) drop-shadow(0 10px 18px rgba(0, 31, 72, 0.08));
  }
  38% {
    opacity: 1;
    transform: translate3d(-51%, 0, 0) scale(1.08);
    filter: brightness(1.03) drop-shadow(0 20px 28px rgba(0, 31, 72, 0.16));
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1.06);
    filter: drop-shadow(0 22px 30px rgba(0, 31, 72, 0.18));
  }
}
