:root {
  --navy: #082c5d;
  --navy-2: #0c4b94;
  --blue: #156fc8;
  --gold: #f2a51a;
  --gold-2: #ffd76d;
  --gold-soft: #fff4d5;
  --ink: #162235;
  --muted: #607086;
  --line: #d5e5f4;
  --paper: #ffffff;
  --soft: #f2f7fc;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(8, 44, 93, 0.16);
  --shadow-soft: 0 14px 32px rgba(8, 44, 93, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowSweep {
  0% {
    transform: translateX(-120%) skewX(-16deg);
  }
  100% {
    transform: translateX(220%) skewX(-16deg);
  }
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.82);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  line-height: 1.72;
  background:
    linear-gradient(90deg, rgba(8, 44, 93, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fd 46%, #eef5fc 100%);
  background-size: 64px 64px, auto;
}

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

a {
  color: inherit;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, #061f43, var(--navy), #123f7b);
  font-size: 0.92rem;
  font-weight: 800;
}

.top-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.top-strip a {
  color: #fff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(8, 44, 93, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 3px;
  line-height: 1.12;
}

.brand-text strong,
.brand-text small {
  display: block;
  white-space: nowrap;
}

.brand-text small {
  color: var(--gold);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text strong {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: #eaf4ff;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 22px rgba(243, 165, 27, 0.24);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  color: var(--navy);
  background: linear-gradient(135deg, #ffe49a, var(--gold));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 92px);
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(36px, 5vw, 70px);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 215, 109, 0.5), transparent 26%),
    radial-gradient(circle at 8% 72%, rgba(21, 111, 200, 0.14), transparent 28%),
    linear-gradient(118deg, #ffffff 0%, #f2f8ff 50%, #e3f1ff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -28% 42%;
  height: 360px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 44, 93, 0.08), rgba(242, 165, 26, 0.22));
  transform: rotate(-8deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.2vw, 4.05rem);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  font-weight: 900;
}

h3 {
  font-size: 1.32rem;
  font-weight: 900;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #cfe2f7;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 660px;
}

.hero-metrics div {
  padding: 16px 14px;
  border: 1px solid rgba(213, 229, 244, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-metrics div:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 44, 93, 0.14);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-metrics span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%) skewX(-16deg);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  animation: glowSweep 820ms ease;
}

.button.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 34px rgba(242, 165, 26, 0.3);
}

.button.primary:hover {
  background: linear-gradient(135deg, #ffe49a, var(--gold));
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid #bfd8f0;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: min(620px, 100%);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  animation: floatSoft 7s ease-in-out infinite;
}

.hero-panel {
  position: absolute;
  left: clamp(8px, 3vw, 24px);
  top: clamp(8px, 3vw, 24px);
  min-width: 178px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(8, 44, 93, 0.78);
  box-shadow: 0 14px 32px rgba(8, 44, 93, 0.24);
  backdrop-filter: blur(10px);
  animation: floatSoft 6.5s ease-in-out infinite;
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-panel strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.hero-badge {
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  bottom: clamp(12px, 3vw, 30px);
  max-width: min(260px, 78%);
  padding: 16px 18px;
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(11, 50, 101, 0.18);
  animation: floatSoft 7.5s ease-in-out infinite;
  animation-delay: 420ms;
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
  transform: translateY(-18px);
}

.trust-strip div {
  position: relative;
  padding: 22px 24px;
  background: #fff;
}

.trust-strip div::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: left center;
  animation: pulseLine 3.2s ease-in-out infinite;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.center-heading {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.center-heading p:last-child {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.intro-band {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, #edf6ff 100%);
}

.compact-heading .section-heading {
  max-width: 1180px;
}

.compact-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  white-space: nowrap;
}

.solution-preview {
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 165, 26, 0.12), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.solution-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.solution-strip a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  color: var(--navy);
  background: linear-gradient(180deg, #fff, #f4faff);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.solution-strip a:hover {
  border-color: #bad7f4;
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 44, 93, 0.13);
}

.solution-strip a::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(242, 165, 26, 0.16);
}

.solution-strip small {
  color: var(--gold);
  font-weight: 900;
}

.solution-strip strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.25;
}

.solution-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.intro-grid,
.service-grid,
.values-band,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.service-card,
.value-card,
.case-card,
.contact-form,
.contact-info {
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.intro-grid article,
.service-card,
.value-card,
.case-card div {
  padding: 24px;
}

.intro-grid p,
.service-card p,
.value-card p,
.case-card p,
.case-feature p,
.rich-text p,
.value-list p {
  color: var(--muted);
}

.cases-preview {
  background: var(--soft);
}

.cases-preview .section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.case-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(8, 44, 93, 0.14);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-card:hover img,
.story-card:hover img,
.solution-card:hover img,
.service-item:hover img {
  transform: scale(1.035);
}

.case-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.case-more {
  margin-top: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: #fff;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list div {
  padding: 20px 22px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: var(--shadow-soft);
}

.value-list span,
.service-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
}

.value-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
}

.cta-band,
.notice-band {
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 7vw, 88px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 213, 106, 0.42), transparent 32%),
    radial-gradient(circle at 18% 92%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #071f43, var(--navy), var(--navy-2));
  color: #fff;
  box-shadow: 0 24px 56px rgba(8, 44, 93, 0.16);
}

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

.cta-band h2,
.notice-band strong {
  color: #fff;
}

.cta-band .eyebrow {
  color: var(--gold-soft);
}

.cta-band .text-link {
  color: #fff;
}

.page-hero {
  padding: clamp(50px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 213, 106, 0.46), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(21, 111, 200, 0.13), transparent 26%),
    linear-gradient(118deg, #ffffff 0%, #eef7ff 62%, #dfefff 100%);
  border-bottom: 1px solid rgba(213, 229, 244, 0.8);
}

.page-hero h1 {
  max-width: 920px;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.case-hero-panel {
  padding: 24px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.case-hero-panel strong,
.case-hero-panel span {
  display: block;
}

.case-hero-panel strong {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 900;
}

.case-hero-panel span {
  margin-top: 8px;
  color: var(--muted);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 14px 30px rgba(11, 50, 101, 0.1);
  transform: translateY(-18px);
}

.case-stats div {
  padding: 22px;
  background: #fff;
  text-align: center;
}

.case-stats strong,
.case-stats span {
  display: block;
}

.case-stats strong {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.case-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.rich-text {
  font-size: 1.08rem;
}

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

.service-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
  transform: translateY(-18px);
}

.service-summary div {
  position: relative;
  padding: 22px;
  background: #fff;
  text-align: center;
}

.service-summary div::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.service-summary strong,
.service-summary span {
  display: block;
}

.service-summary strong {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
}

.service-summary span {
  color: var(--muted);
  font-weight: 800;
}

.loan-solutions {
  background: #fff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: #bad7f4;
  box-shadow: 0 22px 48px rgba(8, 44, 93, 0.14);
}

.service-item img {
  width: 118px;
  height: 118px;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-item span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.service-item h2 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.service-item p {
  color: var(--muted);
}

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

.service-item li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 700;
}

.service-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

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

.solution-card {
  overflow: hidden;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(11, 50, 101, 0.1);
}

.solution-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
}

.solution-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.solution-card div {
  padding: 26px;
}

.solution-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 900;
}

.solution-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.solution-card p {
  color: var(--muted);
}

.solution-card ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.solution-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
}

.compare-band {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 213, 106, 0.34), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.compare-band h2,
.compare-band .eyebrow {
  color: #fff;
}

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

.compare-grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.compare-grid .highlight {
  color: var(--navy);
  background: linear-gradient(135deg, #fff, var(--gold-soft));
}

.compare-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.compare-grid p {
  margin-bottom: 0;
  color: inherit;
}

.audience-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background: #fff;
}

.check-list {
  margin: 0;
  padding: 26px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #f7fbff;
}

.faq-section {
  background: linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
}

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

.faq-grid article {
  padding: 24px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-grid p {
  color: var(--muted);
}

.process-band {
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 165, 26, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f5faff 100%);
}

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

.process-grid article {
  position: relative;
  padding: 26px 22px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.process-grid p {
  color: var(--muted);
}

.notice-band {
  background: #f9f5eb;
  color: var(--ink);
  border: 1px solid #eadab7;
}

.notice-band strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.notice-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.cases-page {
  display: grid;
  gap: 24px;
}

.case-wall {
  background: #fff;
}

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

.story-card {
  overflow: hidden;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(8, 44, 93, 0.14);
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.story-tag {
  justify-self: start;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 900;
}

.story-body h3 {
  margin-bottom: 0;
}

.story-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.story-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #d8e7f6;
}

.story-result strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.story-result b {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 213, 106, 0.28), transparent 25%),
    linear-gradient(135deg, #f8fbff, #eef7ff);
}

.featured-story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.featured-story-content p {
  color: var(--muted);
}

.featured-story-content .check-list {
  background: #fff;
}

.article-notes {
  background: #fff;
}

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

.article-grid article {
  padding: 24px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-grid article:hover,
.faq-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(8, 44, 93, 0.14);
}

.article-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.article-grid p {
  color: var(--muted);
}

.case-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: center;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 40, 78, 0.06);
}

.case-feature.reverse img {
  order: 2;
}

.case-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: clamp(22px, 4vw, 34px);
}

.contact-info dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

.contact-info div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-info div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-info dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-info dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #d8e7f6;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.google-form-panel iframe {
  width: 100%;
  min-height: 720px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
}

.calculator-panel,
.calculator-result {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(11, 50, 101, 0.08);
}

.calculator-panel {
  display: grid;
  gap: 18px;
}

.calculator-panel .section-heading {
  margin-bottom: 0;
}

.calculator-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calculator-fields label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.input-with-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  border: 2px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.input-with-unit:focus-within {
  outline: 3px solid rgba(243, 165, 27, 0.22);
  border-color: var(--gold);
}

.input-with-unit input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 12px 14px;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  background: transparent;
}

.input-with-unit input:focus {
  outline: 0;
}

.input-with-unit b {
  min-width: 56px;
  padding: 0 14px;
  color: var(--muted);
  text-align: center;
  border-left: 1px solid var(--line);
}

.calculator-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, #0b3265 0%, #14579f 68%, #f3a51b 160%);
  color: #fff;
}

.calculator-result .eyebrow {
  color: var(--gold-2);
}

.calculator-result h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.calculator-result > span {
  color: #d8e7f6;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.result-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.result-grid small {
  display: block;
  margin-bottom: 6px;
  color: #d8e7f6;
  font-weight: 800;
}

.result-grid strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  overflow-wrap: anywhere;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(243, 165, 27, 0.22);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--navy);
  font-weight: 900;
}

.form-note.is-error {
  padding: 12px 14px;
  border: 1px solid #f3b7a8;
  border-radius: var(--radius);
  color: #8f2f1d;
  background: #fff2ee;
  font-weight: 800;
}

.qr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 56px);
  margin: 0 clamp(18px, 5vw, 72px) clamp(28px, 5vw, 48px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 14%, rgba(242, 165, 26, 0.14), transparent 24%),
    #fff;
  box-shadow: 0 18px 44px rgba(8, 44, 93, 0.12);
}

.qr-footer h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  white-space: nowrap;
}

.qr-footer .eyebrow {
  text-transform: none;
}

.qr-footer p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.line-connect {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.qr-footer .line-qr-image {
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.line-add-friend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: transform 180ms ease, filter 180ms ease;
}

.line-add-friend:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.line-add-friend img {
  display: block;
  width: auto;
  height: 36px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.site-footer p {
  margin: 4px 0 0;
  color: #d8e2ef;
}

.site-footer small {
  display: block;
  margin-top: 2px;
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 800;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-layout,
  .calculator-layout,
  .case-hero,
  .featured-story {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .intro-grid,
  .service-grid,
  .values-band,
  .case-grid,
  .process-grid,
  .solution-strip,
  .solution-grid,
  .service-list,
  .faq-grid,
  .story-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .calculator-fields,
  .result-grid {
    grid-template-columns: 1fr;
  }

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

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

  .case-feature.reverse img {
    order: 0;
  }
}

@media (max-width: 760px) {
  .top-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-strip div {
    justify-content: flex-start;
  }

  .site-header {
    align-items: center;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    max-width: 12em;
    overflow: hidden;
  }

  .brand-text strong,
  .brand-text small {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero {
    background: linear-gradient(180deg, #fff 0%, #f3f9ff 62%, #e7f3ff 100%);
  }

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

  .hero-panel {
    position: static;
    width: 100%;
    margin-bottom: 12px;
    order: -1;
  }

  .compact-heading h2 {
    white-space: normal;
  }

  .hero-visual img {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 18px;
  }

  .service-summary {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 18px;
  }

  .case-stats {
    grid-template-columns: 1fr;
    transform: none;
    margin-top: 18px;
  }

  .intro-grid,
  .service-grid,
  .values-band,
  .case-grid,
  .process-grid,
  .solution-strip,
  .solution-grid,
  .service-list,
  .compare-grid,
  .faq-grid,
  .story-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .solution-card.featured {
    grid-column: span 1;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item img {
    width: 100%;
    height: 180px;
  }

  .cta-band,
  .qr-footer,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .qr-footer .line-qr-image {
    width: min(220px, 72vw);
    align-self: center;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.15rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }
}
