/* ================================================================
   Spolton Mortgages — Hero (Panel + Picker) + Trust Bar
   ================================================================ */

/* --- Hero panel ------------------------------------------------- */
.spm-hero-panel {
  position: relative;
  background: var(--grad-purple);
  padding: 76px 0 84px;
  overflow: hidden;
}

/* Decorative glow blobs */
.spm-hero-glow-a {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,134,215,.45), transparent 68%);
  pointer-events: none;
}

.spm-hero-glow-b {
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,17,64,.55), transparent 65%);
  pointer-events: none;
}

/* --- Hero 2-column grid --------------------------------------- */
.spm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .spm-hero-grid {
    grid-template-columns: 1fr;
  }

  .spm-picker-wrap {
    max-width: 480px;
  }
}

/* --- Left column: copy ----------------------------------------- */
.spm-hero-copy {
  color: #fff;
}

.spm-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--purple-200);
  margin: 0 0 18px;
}

.spm-eyebrow-dash {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.spm-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-3xl);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
}

.spm-hero-accent {
  color: var(--purple-200);
}

.spm-hero-lead {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255,255,255,.86);
  max-width: 540px;
  margin: 0 0 24px;
}

/* Trust pills */
.spm-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.spm-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  white-space: nowrap;
}

.spm-hero-pill svg {
  color: var(--purple-200);
  flex-shrink: 0;
}

/* Adviser avatar stack (inside Start Here card) */
.spm-picker-faces {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
}

.spm-hero-face-stack {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.spm-hero-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(20,12,40,.18);
  overflow: hidden;
  background: var(--purple-200);
  margin-left: -11px;
}

.spm-hero-face:first-child {
  margin-left: 0;
}

.spm-hero-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.spm-picker-faces-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-600, #5b5570);
  max-width: 130px;
}

/* CTAs */
.spm-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Right column: picker card --------------------------------- */
.spm-picker-wrap {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .spm-picker-wrap {
    justify-content: flex-start;
  }
}

.spm-picker-card {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 24px;
  width: 100%;
  max-width: 440px;
}

.spm-picker-head {
  margin-bottom: 16px;
}

.spm-picker-kicker {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11.5px;
  color: var(--brand);
  margin: 0 0 7px;
}

.spm-picker-title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 21px;
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
}

/* Picker paths */
.spm-picker-paths {
  display: grid;
  gap: 9px;
  margin-bottom: 0;
}

.spm-picker-path {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 11px 14px;
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease),
    background   var(--dur-fast) var(--ease),
    transform    var(--dur-fast) var(--ease);
  font-family: inherit;
}

.spm-picker-path:hover {
  border-color: var(--brand);
  background: var(--purple-50);
  transform: translateX(3px);
}

.spm-picker-path:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.spm-path-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spm-path-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.spm-path-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.spm-path-blurb {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.spm-picker-path > svg:last-child {
  color: var(--brand);
  flex-shrink: 0;
}

/* Card footer */
.spm-picker-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-body);
}

/* --- Trust bar -------------------------------------------------- */
.spm-trust-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spm-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
}

.spm-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 12px;
  gap: 4px;
}

.spm-trust-divider {
  border-left: 1px solid var(--line);
}

.spm-trust-item--link {
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-fast) var(--ease);
}

.spm-trust-item--link:hover {
  background: var(--surface);
}

.spm-trust-item--link:hover .spm-trust-big {
  color: var(--brand);
}

.spm-trust-big {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--brand-strong);
  line-height: 1;
}

.spm-trust-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* Remove dividers on narrow viewports */
@media (max-width: 880px) {
  .spm-trust-divider {
    border-left: none;
  }
}

@media (max-width: 760px) {
  .spm-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .spm-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
