/* ==========================================================================
   QR Agri & Food Consulting — Register page

   Loaded after style.css, responsive.css and category.css. The banner comes
   from category.css and the three-step form card from style.css (.signup-*,
   .steps, .form-card); only the Register-specific copy column lives here.
   Class prefix: .rg-

   1. Layout — copy beside the three-step form
   2. What happens next
   3. Responsive
   ========================================================================== */


/* ==========================================================================
   1. Layout
   ========================================================================== */

.rg-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 88px 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.rg-copy {
  position: sticky;
  top: 108px;
}

.rg-title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  margin-bottom: 16px;
}

.rg-lede {
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.72;
  max-width: 30em;
}


/* ==========================================================================
   2. What happens next
   ========================================================================== */

.rg-next {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.rg-next-head {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
}

/* Numbered timeline: a hairline runs behind the markers. */
.rg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rg-step;
  display: grid;
  gap: 22px;
}

.rg-step {
  counter-increment: rg-step;
  position: relative;
  padding-left: 56px;
}

.rg-step::before {
  content: counter(rg-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g-100);
  border: 1px solid var(--g-300);
  color: var(--g-700);
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  display: grid;
  place-items: center;
}

/* Connector between markers, hidden on the last item. */
.rg-step::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 42px;
  bottom: -22px;
  width: 1px;
  background: var(--line);
}

.rg-step:last-child::after {
  display: none;
}

.rg-step-title {
  font-size: 16.5px;
  line-height: 1.4;
  margin: 7px 0 5px;
}

.rg-step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* Contact details */
.rg-facts {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 15.5px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 24px;
}


/* ==========================================================================
   3. Responsive
   ========================================================================== */

@media (max-width: 1440px) {
  .rg-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 1080px) {
  .rg-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .rg-copy {
    position: static;
  }
}

@media (max-width: 900px) {
  .rg-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 760px) {
  .rg-wrap {
    padding: 56px 20px;
  }
}
