/* ============================================================
   Hearthstone Mortgages — hero (section 3)
   ============================================================ */

.hm-hero {
  padding: clamp(2rem,3.5vw,4.5rem) var(--section-padding-x) clamp(2.5rem,4vw,5.5rem);
  overflow: hidden;
}
.hm-hero__glow {
  position: absolute; bottom: -120px; left: -80px; width: 540px; height: 540px;
  border-radius: 50%; background: radial-gradient(circle, rgba(243,179,50,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hm-hero__inner {
  max-width: var(--container-xl); margin-inline: auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: clamp(2rem,4vw,4rem); align-items: center;
}

/* --- Left: lead --- */
.hm-hero__title {
  font-family: var(--font-heading); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.025em; line-height: 0.93; font-size: clamp(2.6rem,5.4vw,4.4rem);
  color: #fff; margin: 0 0 1.15rem;
}
.hm-hero__accent { color: var(--hm-gold-500); }
.hm-hero__slogan {
  font-family: var(--font-heading); font-weight: 800; font-style: italic;
  font-size: clamp(1.05rem,1.9vw,1.35rem); line-height: 1.25;
  color: var(--hm-gold-500); margin: 0.4rem 0 1.6rem;
}
.hm-hero__brand {
  font-family: var(--font-body); font-size: clamp(0.95rem,1.6vw,1.08rem); line-height: 1.6;
  color: #fff; font-weight: 500; max-width: 48ch; margin: 0 0 0.9rem;
}
.hm-hero__sub {
  font-family: var(--font-body); font-size: clamp(0.95rem,1.6vw,1.1rem); line-height: 1.65;
  color: rgba(255,255,255,0.85); max-width: 46ch; margin: 0 0 1.6rem;
}
.hm-hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }



/* --- Avatar stack --- */
.hm-avatars { display: inline-flex; align-items: center; }
.hm-avatars__img {
  width: var(--hm-av-size); height: var(--hm-av-size); border-radius: 50%;
  object-fit: cover; object-position: center top; border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.hm-avatars__img + .hm-avatars__img { margin-left: calc(var(--hm-av-size) * -0.28); }
.hm-avatars__btn { padding: 0; border: none; background: none; cursor: pointer; display: inline-flex; border-radius: 50%; transition: transform 150ms var(--ease-out); }
.hm-avatars__btn + .hm-avatars__btn { margin-left: calc(var(--hm-av-size) * -0.28); }
.hm-avatars__btn:hover, .hm-avatars__btn:focus-visible { transform: translateY(-3px); position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hm-avatars__btn:hover { transform: none; } }

/* --- Right: ICP picker card --- */
.hm-hero__tool { width: 100%; }
.hm-icp { background: var(--hm-white); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 28px 70px rgba(6,34,60,0.4); display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: stretch; }
.hm-icp__main { min-width: 0; display: flex; flex-direction: column; }
/* Rotating portrait down the full height of the card, as on the service page
   spotlight. Ajay first, then Jordanne, then the rest. */
.hm-icp__media { position: relative; background: var(--hm-gradient-mid); overflow: hidden; }
.hm-icp__media .hm-advcarousel__cap { padding: 0.7rem 0.8rem 1.6rem; }
.hm-icp__media .hm-advcarousel__cap strong { font-size: 0.85rem; }
.hm-icp__media .hm-advcarousel__cap span { font-size: 0.6rem; }
.hm-icp__media .hm-advcarousel__dots { bottom: 0.5rem; gap: 0.32rem; }
.hm-icp__media .hm-advcarousel__dot { width: 6px; height: 6px; }
@media (max-width: 620px) {
  .hm-icp { grid-template-columns: 1fr; }
  .hm-icp__media { aspect-ratio: 16 / 9; max-height: 220px; }
}
.hm-icp__head { background: var(--hm-gradient-mid); padding: 1.4rem 1.5rem 1.25rem; position: relative; }
.hm-icp__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--hm-gradient-gold); }
.hm-icp__title { font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.45rem; color: #fff; margin: 0 0 0.85rem; line-height: 1.05; }
/* Circles on their own line, wording underneath: the FCA line is long enough
   that sitting it beside the faces squeezed both. */
.hm-icp__advised { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; margin-top: 0.9rem; }
.hm-icp__advised-text { display: flex; flex-direction: column; gap: 0.12rem; }
.hm-icp__advised-title { font-family: var(--font-heading); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; color: #fff; }
.hm-icp__advised-sub { font-family: var(--font-body); font-size: 0.72rem; color: rgba(255,255,255,0.7); line-height: 1.35; }
.hm-icp__advised-sub a { color: var(--hm-gold-500); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hm-icp__advised-sub a:hover, .hm-icp__advised-sub a:focus-visible { color: #fff; }

.hm-icp__body { padding: 1.1rem 1.1rem 1.25rem; }
.hm-icp__rows { display: flex; flex-direction: column; gap: 0.4rem; }
.hm-icp__row {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  text-decoration: none; color: inherit;
  padding: 0.7rem 0.85rem; border: 1.5px solid var(--hm-slate-200); border-radius: 0.7rem;
  background: var(--hm-white); cursor: pointer; text-align: left; gap: 0.7rem;
  /* No `transition: all` here — border-color is animated, colours snap. */
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.hm-icp__row:hover { border-color: var(--hm-blue-300); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.hm-icp__row-main { display: flex; align-items: center; gap: 0.7rem; flex: 1; min-width: 0; }
.hm-icp__row-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 0.5rem; background: var(--hm-blue-600); color: #fff; flex-shrink: 0; }
.hm-icp__row-label { display: block; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.77rem; color: var(--hm-ink); line-height: 1.15; }
.hm-icp__row-sub { display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--hm-slate-500); line-height: 1.3; margin-top: 0.08rem; }
.hm-icp__row-arrow { color: var(--hm-blue-500); flex-shrink: 0; display: inline-flex; transition: transform 150ms var(--ease-out); }
.hm-icp__row:hover .hm-icp__row-arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .hm-icp__row:hover, .hm-icp__row:hover .hm-icp__row-arrow { transform: none; }
}

/* --- Responsive --- */
@media (max-width: 920px) {
  .hm-hero__inner { grid-template-columns: 1fr; }
  .hm-hero__tool { max-width: 520px; }
}

