/**
 * Finance — page-unique only.
 * Shared: modules/base|layout|components + typography + tokens.
 */
.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(23, 184, 151, 0.17), transparent 25%),
    radial-gradient(circle at 65% 80%, rgba(36, 87, 230, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
}

.hero:before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(36, 87, 230, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(36, 87, 230, 0.035),
    0 0 0 140px rgba(36, 87, 230, 0.02);
}

.hero-copy strong { color: var(--blue, var(--color-brand)); }

/* Finance's brand color is blue, not the default teal accent — badge shape stays shared. */
.hero .eyebrow { color: var(--color-brand, var(--blue)); }

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #52606d;
  font-size: 14px;
  font-weight: 700;
}

.trust-row span { display: flex; align-items: center; gap: 7px; }
.check { color: var(--mint, var(--color-accent)); font-weight: 900; }

.hero-visual { position: relative; min-height: 520px; }

.dashboard {
  position: absolute;
  inset: 24px 0 0 32px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.dash-title { font-weight: 900; font-size: 20px; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-2), var(--mint));
  font-weight: 900;
}

.summary-card {
  padding: 25px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #173d8f, #2457e6 58%, #3b79ff);
  box-shadow: 0 18px 30px rgba(36, 87, 230, 0.23);
}

.summary-card small { opacity: 0.8; }
.summary-card .big { font-size: 28px; font-weight: 900; margin: 8px 0 18px; }
.meter { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.meter span { display: block; width: 72%; height: 100%; background: #8ff2d9; border-radius: inherit; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mini-card { padding: 18px; }
.mini-icon { font-size: 23px; }
.mini-card b { display: block; margin-top: 8px; }

.floating {
  position: absolute;
  padding: 17px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(27, 50, 94, 0.15);
  font-weight: 800;
}

.float-a { left: 0; bottom: 72px; }
.float-b { right: -24px; top: 70px; }
.float-c { right: 22px; bottom: 12px; }
.floating span { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }

.problem-wrap {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid #edf0f5;
}

.problem-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.problem-title b { font-size: 18px; }
.problem-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }

.problem-chip {
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  color: #344054;
  transition: 0.2s;
}

.problem-chip:hover,
.problem-chip.active {
  border-color: #9fb3ff;
  background: #f1f5ff;
  color: var(--blue);
  transform: translateY(-2px);
}

.problem-chip span { display: block; font-size: 24px; margin-bottom: 3px; }

.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  position: relative;
  padding: 30px;
  transition: 0.25s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #cbd7ff;
}

.service-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -55px;
  top: -55px;
  background: rgba(36, 87, 230, 0.05);
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef3ff;
  font-size: 26px;
  margin-bottom: 22px;
}

.service-card p { color: var(--muted); margin-bottom: 16px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  font-size: 12px;
  font-weight: 800;
  color: #52606d;
  background: #f4f6f9;
  padding: 6px 9px;
  border-radius: 999px;
}
.card-link { display: inline-flex; margin-top: 22px; color: var(--blue); font-weight: 900; }

.integrated-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: center;
}

.network {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #f2f7ff, transparent 65%);
}

.network-center {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 22px 50px rgba(36, 87, 230, 0.25);
  z-index: 2;
}

.node {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid #dce5f6;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 52, 99, 0.09);
  font-weight: 900;
}

.n1 { top: 28px; }
.n2 { right: 24px; top: 118px; }
.n3 { right: 60px; bottom: 38px; }
.n4 { bottom: 18px; left: 92px; }
.n5 { left: 10px; top: 180px; }

.benefit-list { display: grid; gap: 16px; margin: 28px 0 32px; }
.benefit { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: #f8faff; }
.benefit i {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  background: #def8f1;
  color: #0e8b73;
  font-weight: 900;
}
.benefit b { display: block; }
.benefit span { color: var(--muted); font-size: 14px; }

.process {
  background: linear-gradient(180deg, #12294e, #0d203c);
  color: #fff;
}
.process .section-head h2,
.process .step h3 {
  color: #fff;
}
.process .lead { color: #bdc9d9; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.step {
  position: relative;
  padding: 27px 22px;
  min-height: 214px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.step-no { font-size: 13px; color: #8ff2d9; font-weight: 900; letter-spacing: 0.08em; }
.step h3 { margin-top: 24px; }
.step p { font-size: 14px; color: #bdc9d9; }
.step:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #8ff2d9;
  font-size: 20px;
}

.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expert-card {
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}
.expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #e9efff, #dff9f3);
  font-size: 32px;
}
.expert-card p { color: var(--muted); font-size: 14px; }

.consult { background: #f4f7fc; }
.consult-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.consult-copy {
  padding: 54px;
  background: linear-gradient(145deg, #173d8f, #2457e6);
  color: #fff;
}
.consult-copy h2 { color: #fff; }
.consult-copy .lead { color: #dfe8ff; }
.consult-copy ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.consult-copy li:before { content: "✓"; margin-right: 10px; color: #8ff2d9; font-weight: 900; }

form { padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: 14px; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 87, 230, 0.09);
}

textarea { min-height: 116px; resize: vertical; }
.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 17px 0;
  color: var(--muted);
  font-size: 13px;
}
.consent input { width: auto; margin-top: 4px; }
.submit { width: 100%; }
.form-note { margin: 12px 0 0; font-size: 12px; color: #8a94a6; }

.final-cta { text-align: center; padding: 92px 0; background: #fff; }
.final-cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  max-width: 340px;
  padding: 17px 20px;
  border-radius: 14px;
  background: #172033;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.25s;
}
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .hero:before,
  .float-a,
  .float-b,
  .float-c { display: none; }
  .integrated-grid,
  .consult-box { grid-template-columns: 1fr; }
  .hero-visual { min-height: 490px; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child):after { display: none; }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-copy,
  form { padding: 38px; }
}

@media (max-width: 640px) {
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 420px; }
  .dashboard { inset: 12px 0 0 0; padding: 18px; }
  .float-b { right: -6px; top: 35px; }
  .float-a { left: -5px; bottom: 24px; }
  .float-c { display: none; }
  .floating { padding: 12px 14px; font-size: 13px; }
  .problem-wrap { margin-top: -26px; padding: 16px; }
  .problem-title span { display: none; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-chip { min-height: 70px; }
  .service-grid,
  .steps,
  .expert-grid,
  .form-grid { grid-template-columns: 1fr; }
  .network { transform: scale(0.82); margin: -40px 0; min-height: 480px; }
  .consult-copy,
  form { padding: 30px 22px; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(31, 52, 99, 0.1);
  }
  .mobile-cta .btn { min-height: 48px; padding: 0 12px; border-radius: 12px; }
}
