/* ==========================================================================
   Block: Hero
   ========================================================================== */

.rg-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: end;   /* bottom-align: no-fees card bottom lines up with the left CTAs */
}

/* ---- Left column ---- */
.rg-hero__title {
  font-size: var(--rg-fs-display);     /* 55px */
  font-weight: var(--rg-fw-semibold);  /* 600  */
  line-height: var(--rg-lh-heading);                    /* 66/55 */
  margin: 22px 0 24px;
  max-width: var(--rg-heading-max);
}
.rg-hero__title-green { color: var(--rg-green); }      /* #215749 */
.rg-hero__title-muted { color: var(--rg-heading-muted); }       /* #77918A */

.rg-hero__sub {
  font-size: var(--rg-fs-body);        /* 16px — matches live (16/600) */
  font-weight: var(--rg-fw-semibold);
  color: var(--rg-green-deep);
  margin-bottom: 18px;
}
.rg-hero__desc {
  font-size: var(--rg-fs-body);        /* 16px */
  color: var(--rg-green-deep);
  max-width: 46ch;
  margin-bottom: 32px;
}

.rg-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---- Right column: collage (single composite) + no-fees card ---- */
.rg-hero__collage img {
  width: 100%;
  height: auto;
  display: block;
}

.rg-hero__nofees {
  display: flex;
  gap: 15px;                            /* Figma itemSpacing 15 */
  align-items: flex-start;
  margin-top: 16px;
  padding: 15px;                        /* Figma padding 15 */
  background: rgba(var(--rg-white-rgb), .5);     /* Figma: white @50% */
  box-shadow: none;
}
.rg-hero__nofees-icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--rg-radius-md);                  /* Figma Rectangle r15 */
  background: var(--rg-line);           /* #E7E9F1 box */
  color: var(--rg-green);
}
.rg-hero__nofees-icon svg { width: 36px; height: 36px; display: block; }  /* Figma icon 36px, exact crossed-$ vector */
.rg-hero__nofees-title {   /* a <p>, not a heading: it would break the h1 → h2 order */
  font-size: var(--rg-fs-body);        /* Figma 16/600 */
  font-weight: var(--rg-fw-semibold);
  line-height: var(--rg-lh-body);
  margin: 0 0 5px;
}
.rg-hero__nofees-text {
  font-size: var(--rg-fs-badge);       /* Figma 12/400 */
  line-height: var(--rg-lh-body);
  color: var(--rg-green-deep);
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .rg-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .rg-hero__desc { max-width: none; }
}
@media (max-width: 560px) {
  .rg-hero__cta .rg-btn { flex: 1 1 100%; }
}
