/* =============================================================
   REVERSE-MORTGAGE-INFO.CSS — Citizens Reverse Mortgage.
   Conditionally enqueued for the page with slug "reverse-mortgage-info".
   Page-specific layout for the 7 wireframe sections.
   ============================================================= */

/* ── SECTION 01 — EDUCATIONAL HERO (centered) ────────────── */
.rmi-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding-block: clamp(64px, 8vw, 116px);
  overflow: hidden;
  text-align: center;
}
.rmi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      640px circle at 50% -8%,
      rgba(184, 148, 58, 0.26),
      transparent 58%
    ),
    radial-gradient(
      460px circle at 90% 100%,
      rgba(61, 122, 138, 0.24),
      transparent 60%
    );
  pointer-events: none;
}
.rmi-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.rmi-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-inline: auto;
}
.rmi-hero__eyebrow {
  color: var(--gold-soft);
}
.rmi-hero h1 {
  color: #fff;
  margin-bottom: var(--space-md);
}
.rmi-hero__sub {
  font-size: clamp(21px, 1.9vw, 25px);
  color: #d8e0f2;
  margin-bottom: var(--space-md);
}
.rmi-hero__cta-line {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0;
}
.rmi-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ── SECTION 02 — WHAT IS A REVERSE MORTGAGE? (centered) ─── */
.what-rm__body {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.callout {
  background: var(--warm-mist);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--space-lg);
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  margin-bottom: var(--space-lg);
}

/* Equity-conversion infographic */
.equity-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: 0 0 var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.equity-diagram__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1 1 200px;
  max-width: 240px;
  padding: var(--space-md);
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--cool-gray);
  font-weight: 700;
  color: var(--navy);
}
.equity-diagram__node i {
  font-size: 34px;
  color: var(--navy);
}
.equity-diagram__node--gold {
  background: linear-gradient(
    150deg,
    rgba(184, 148, 58, 0.16),
    rgba(184, 148, 58, 0.06)
  );
  border-color: rgba(184, 148, 58, 0.4);
}
.equity-diagram__node--gold i {
  color: var(--gold);
}
.equity-diagram__arrow {
  font-size: 28px;
  color: var(--gold);
  flex: 0 0 auto;
}
.equity-diagram__outcome {
  flex-basis: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 600px) {
  .equity-diagram__arrow {
    transform: rotate(90deg);
  }
}

/* ── SECTION 03 — HOW MUCH (factor cards) ────────────────── */
.factors {
  margin-bottom: var(--space-lg);
}
.factor {
  padding-top: var(--space-xl);
}
.factor__num {
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-much__note {
  max-width: 820px;
  margin: var(--space-lg) auto 0;
  text-align: center;
}
.how-much__note strong {
  color: var(--navy);
}
.how-much__fineprint {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* ── SECTION 04 — ELIGIBILITY (checklist) ────────────────── */
.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 780px;
  display: grid;
  gap: var(--space-sm);
}
.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.check-list li i {
  margin-top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #16a34a;
  background: #ecfdf3;
}
.eligibility__intro {
  max-width: 780px;
  margin: 0 auto var(--space-lg);
  text-align: center;
  color: var(--text-body);
}
.eligibility__note {
  max-width: 780px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  color: var(--text-body);
}
.eligibility__note strong {
  color: var(--navy);
}

/* ── SECTION 05 — TYPES (product cards) ──────────────────── */
.rm-type {
  display: flex;
  flex-direction: column;
}
.rm-type .badge {
  align-self: flex-start;
  margin-bottom: var(--space-md);
}
.rm-type .card__text {
  flex: 1;
}
.rm-type .link-arrow {
  margin-top: var(--space-sm);
}
/* HECM key points (Copy Pass) — reuses the .check-list component. */
.rmi-hecm-points {
  max-width: 780px;
  margin: var(--space-xl) auto 0;
}
.rmi-hecm-points__title {
  text-align: center;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.badge--outline {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--cool-gray);
}

/* ── SECTION 06 — KEY RESPONSIBILITIES (two-column) ──────── */
.responsibilities__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.responsibilities__intro h2 {
  margin-bottom: var(--space-md);
}
.responsibilities__intro p {
  color: var(--text-body);
}
.responsibilities__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.resp-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.resp-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.resp-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  background: linear-gradient(
    150deg,
    rgba(184, 148, 58, 0.16),
    rgba(184, 148, 58, 0.06)
  );
  border: 1px solid rgba(184, 148, 58, 0.22);
}
.resp-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.resp-item p {
  margin: 0;
  color: var(--text-body);
  font-size: 18px;
}

@media (max-width: 860px) {
  .responsibilities__inner {
    grid-template-columns: 1fr;
  }
}

/* ── SECTION 06b — BENEFITS (Copy Pass) ──────────────────── */
.rmi-benefits .section-head p {
  font-size: clamp(20px, 1.6vw, 23px);
  color: var(--text-body);
}
.rmi-benefits__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ── SECTION 07 — CTA (two column, navy) ─────────────────── */
.rmi-cta__title {
  margin-bottom: var(--space-xl);
  color: #fff;
}
.rmi-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 720px) {
  .rmi-cta__grid {
    grid-template-columns: 1fr;
  }
}
.rmi-cta__col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}
.rmi-cta__col h3 {
  color: #fff;
}
.rmi-cta__col p {
  color: #dce3f2;
}
.rmi-cta__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--gold-light);
  background: rgba(184, 148, 58, 0.16);
  border: 1px solid rgba(184, 148, 58, 0.35);
}
.rmi-cta__col .btn {
  margin-top: var(--space-sm);
}
.rmi-cta__attr {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #9fb0d0;
  margin-bottom: 0;
}
.rmi-cta__attr a {
  color: var(--gold-light);
}
