
.gs-banner {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(220px, 20.73vw, 398px);   /* 398 / 1920 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;

  /* CHANGE BANNER IMAGE HERE */
  background: #2a2a30 url("../images/registration.webp") center / cover no-repeat;
}
.gs-banner::before {                          /* Figma overlay */
  content: "";
  position: absolute;
  inset: 0;
  
}
.gs-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 50px);
  line-height: 1.1;
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
}


/* <!-- ===========================================================================registrtion --> */


.gs-reg {
  --gs-red: #d71111;
  --gs-dark: #2a2a30;
  --gs-ink: #111117;
  --gs-muted: #6d7076;
  --gs-line: #d4d4d6;

  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: 100px 0;
  background: #fff;
  font-family: "Manrope", sans-serif;
}
.gs-reg *, .gs-reg *::before, .gs-reg *::after { box-sizing: border-box; }
.gs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* decorative circles */
.gs-reg::before, .gs-reg::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
/* CHANGE DECORATION IMAGES HERE */
.gs-reg::before {
  left: 0; top: 60px;
  width: clamp(120px, 18vw, 358px);
  aspect-ratio: 358 / 927;
  background: url("../images/registration_left.png") left top / contain no-repeat;
}
.gs-reg::after {
  right: 0; bottom: 60px;
  width: clamp(120px, 18vw, 358px);
  aspect-ratio: 358 / 927;
  background: url("../images/registration_right.png") right bottom / contain no-repeat;
}
@media (max-width: 1199.98px) { .gs-reg::before, .gs-reg::after { display: none; } }

.gs-reg__wrap { position: relative; z-index: 1; width: min(868px, 100% - 36px); margin: 0 auto; }

/* ---------- Title ---------- */
.gs-reg__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 56px; text-align: center; }
.gs-reg__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--gs-muted); font-size: 16px; line-height: 16px; }
.gs-reg__chev { width: 22.5px; height: 9px; fill: var(--gs-red); flex: 0 0 auto; }
.gs-reg__title { margin: 0; max-width: 570px; color: var(--gs-ink); font-family: "Urbanist", sans-serif; font-weight: 800; font-size: 40px; line-height: 50px; letter-spacing: -0.03em; }
.gs-reg__sub { margin: 0; color: var(--gs-muted); font-size: 16px; font-weight: 500; line-height: 30px; letter-spacing: .03em; }

.gs-reg__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  margin-top: 16px;
  padding: 0 24px;
  background: var(--gs-dark);
  border-left: 4px solid var(--gs-red);
  color: #fff;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background .2s ease;
}
.gs-reg__call:hover { background: var(--gs-ink); }
.gs-reg__call svg { width: 16px; height: 16px; fill: none; stroke: var(--gs-red); stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Steps ---------- */
.gs-reg__form { display: flex; flex-direction: column; align-items: flex-start; gap: 56px; }
.gs-reg__step { width: 100%; display: flex; flex-direction: column; gap: 32px; }
.gs-reg__step-head {
  display: flex; align-items: flex-end; gap: 12px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-reg__num { color: var(--gs-red); font-size: 14px; font-weight: 700; line-height: 19px; }
.gs-reg__step-title { color: var(--gs-dark); font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 18px; line-height: 22px; }

/* ---------- Fields ---------- */
.gs-reg__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gs-reg__field { display: block; }
.gs-reg__field--message { width: 100%; }
.gs-reg__field input, .gs-reg__field textarea {
  width: 100%;
  height: 59px;
  padding: 0 32px;
  border: 1px solid transparent;
  background: #f5f5f5;
  color: var(--gs-ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 59px;
  transition: border-color .2s ease, background .2s ease;
}
.gs-reg__field textarea { height: 176px; padding: 22px 30px; line-height: 26px; resize: vertical; }
.gs-reg__field input::placeholder, .gs-reg__field textarea::placeholder { color: var(--gs-muted); opacity: 1; }
.gs-reg__field input:focus, .gs-reg__field textarea:focus { outline: none; border-color: var(--gs-red); background: #fff; }
.gs-reg__field input:user-invalid { border-color: var(--gs-red); }

/* ---------- Radios ---------- */
.gs-reg__block { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; }
.gs-reg__label { color: var(--gs-dark); font-size: 16px; font-weight: 600; line-height: 30px; letter-spacing: .05em; padding: 0; }
.gs-reg__radios { display: flex; gap: 20px 24px; }
.gs-reg__radios--wrap { flex-wrap: wrap; max-width: 700px; }

.gs-radio { display: inline-flex; align-items: center; gap: 8px; color: var(--gs-muted); font-size: 16px; font-weight: 600; letter-spacing: .05em; cursor: pointer; }
.gs-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.gs-radio__dot {
  position: relative;
  flex: 0 0 14px; width: 14px; height: 14px;
  border: 1px solid var(--gs-muted);
  border-radius: 50%;
  transition: border-color .2s ease;
}
.gs-radio__dot::after {
  content: "";
  position: absolute; inset: 1.3px;
  border-radius: 50%;
  background: var(--gs-red);
  opacity: 0;
  transition: opacity .2s ease;
}
.gs-radio input:checked + .gs-radio__dot { border-color: var(--gs-red); }
.gs-radio input:checked + .gs-radio__dot::after { opacity: 1; }
.gs-radio input:focus-visible + .gs-radio__dot { outline: 2px solid var(--gs-red); outline-offset: 3px; }
/* the circle inside a package / add-on card fills red when that card is chosen */
.gs-pack input:checked + .gs-radio__dot { border-color: var(--gs-red); }
.gs-pack input:checked + .gs-radio__dot::after { opacity: 1; }
.gs-pack input:focus-visible + .gs-radio__dot { outline: 2px solid var(--gs-red); outline-offset: 3px; }

/* ---------- Package cards 205 × 64 ---------- */
.gs-reg__packages { display: flex; flex-wrap: wrap; gap: 16px; }   /* each card is as wide as its package name */
.gs-pack {
  position: relative;
  overflow: hidden;
  height: 64px;
  max-width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 56px 0 30px;                    /* right room for the dark corner so text never runs under it */
  background: #fff;
  box-shadow: 6px 6px 30px rgba(0,0,0,.16);
  color: var(--gs-muted);
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: box-shadow .25s ease;
}
.gs-pack input { position: absolute; opacity: 0; width: 0; height: 0; }
.gs-pack::before {                          /* 5px red bar */
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--gs-red);
}
.gs-pack::after {                           /* dark corner wedge */
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 44px; height: 58px;
  background: var(--gs-ink);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transition: background .25s ease;
}
.gs-pack.is-active { box-shadow: 6px 6px 30px rgba(0,0,0,.6); }
.gs-pack.is-active::after { background: var(--gs-red); }
.gs-pack__name { position: relative; z-index: 1; white-space: nowrap; }

/* ---------- Summary ---------- */
.gs-reg__summary {
  padding: 56px;
  background: #fff;
  border-left: 5px solid var(--gs-red);
  box-shadow: 6px 6px 30px rgba(0,0,0,.16);
}
.gs-reg__sum-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--gs-line); }
.gs-reg__sum-col { display: flex; flex-direction: column; gap: 12px; }
.gs-reg__value {
  display: flex; align-items: center;
  height: 59px;
  padding: 0 32px;
  background: #f5f5f5;
  color: var(--gs-muted);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
}
.gs-reg__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 0; }
.gs-reg__total output { color: var(--gs-red); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 24px; line-height: 1; }

/* ---------- Checkbox + button ---------- */
.gs-check { display: flex; align-items: center; gap: 12px; color: var(--gs-muted); font-size: 16px; font-weight: 600; letter-spacing: .05em; cursor: pointer; }
.gs-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.gs-check__box { position: relative; flex: 0 0 16px; width: 16px; height: 16px; border: 1px solid var(--gs-muted); transition: background .2s ease, border-color .2s ease; }
.gs-check input:checked + .gs-check__box { background: var(--gs-red); border-color: var(--gs-red); }
.gs-check__box::after {
  content: "";
  position: absolute; left: 4px; top: 3px;
  width: 6px; height: 9px;
  border: 1.5px solid #fff; border-top: 0; border-left: 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .2s ease;
}
.gs-check input:checked + .gs-check__box::after { opacity: 1; }
.gs-check input:focus-visible + .gs-check__box { outline: 2px solid var(--gs-red); outline-offset: 3px; }

.gs-reg__btn {
  align-self: flex-start;
  min-width: 183px;
  height: 56px;
  padding: 0 40px;
  border: 0;
  background: var(--gs-red);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 16px; font-weight: 700; line-height: 22px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.gs-reg__btn:hover, .gs-reg__btn:focus-visible { background: #b90e0e; transform: translateY(-2px); }
.gs-reg__btn:focus-visible { outline: 2px solid var(--gs-ink); outline-offset: 3px; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 991.98px) {
  .gs-reg__packages { gap: 12px; }
  .gs-reg__summary { padding: 32px; }
}
@media (max-width: 767.98px) {
  .gs-reg { padding: 56px 0; }
  .gs-reg__wrap { width: auto; padding: 0 18px; }
  .gs-reg__title { font-size: 28px; line-height: 36px; }
  .gs-reg__form { gap: 40px; }
  .gs-reg__step { gap: 22px; }
  .gs-reg__grid { grid-template-columns: 1fr; gap: 14px; }
  .gs-reg__field input { height: 54px; padding: 0 20px; line-height: 54px; }
  .gs-reg__field textarea { height: 150px; padding: 18px 20px; }
  .gs-reg__packages { flex-direction: column; }
  .gs-pack { width: 100%; }
  .gs-pack__name { white-space: normal; overflow-wrap: anywhere; }
  .gs-reg__sum-row { grid-template-columns: 1fr; }
  .gs-reg__summary { padding: 24px; }
  .gs-reg__btn { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) { .gs-reg * { transition: none !important; } }

.gs-pack[hidden]{display:none}
.gs-reg__empty{margin:10px 0 0;color:#6d7076;font-size:14px}
.gs-reg__sum-addons{display:flex;justify-content:space-between;margin:12px 0 0}
.gs-reg__sum-addons[hidden]{display:none}
.gs-lessons{margin-top:22px}
.gs-lessons[hidden]{display:none}
.gs-lessons .gs-reg__label{margin-bottom:12px}
.gs-lessons small{font-weight:500;color:#6d7076}
.gs-req{color:#d71111}
.gs-reg__block legend small{font-weight:500;color:#6d7076}
.gs-reg__grid[hidden]{display:none}

.gs-reg__balance{margin:10px 0 0;color:#6d7076;font-size:14px;line-height:1.5}
.gs-reg__balance[hidden]{display:none}
.gs-reg__balance b{color:#2a2a30}

/* ---------- Package summary: payment choice cards + price breakdown ---------- */
.gs-paymode { margin: 0 0 24px; }
.gs-paymode[hidden] { display: none; }
.gs-paymode__q { margin: 0 0 12px; color: var(--gs-ink); font-family: "Urbanist", sans-serif; font-weight: 800; font-size: 17px; line-height: 1.3; }
.gs-paymode__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 12px; }
.gs-paycard {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; row-gap: 0;
  padding: 9px 14px 9px 44px;
  background: #fff; border: 2px solid #e1e3e8; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.gs-paycard:hover { border-color: #c9ccd3; }
.gs-paycard input { position: absolute; opacity: 0; width: 0; height: 0; }
.gs-paycard__tick {
  position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--gs-muted); background: #fff; transition: border-color .2s ease;
}
.gs-paycard__tick::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gs-red);
  transform: scale(0); transition: transform .2s ease;
}
.gs-paycard__title { color: var(--gs-ink); font-family: "Urbanist", sans-serif; font-weight: 800; font-size: 16px; line-height: 1.2; }
.gs-paycard__big { color: var(--gs-red); font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; }
.gs-paycard__big:empty { display: none; }
.gs-paycard__note { grid-column: 1 / -1; color: var(--gs-muted); font-size: 12.5px; line-height: 1.35; }
.gs-paycard__note:empty { display: none; }
.gs-paycard:has(input:checked) { border-color: var(--gs-red); background: #fff7f7; box-shadow: 0 4px 14px rgba(215, 17, 17, .12); }
.gs-paycard input:checked ~ .gs-paycard__tick { border-color: var(--gs-red); }
.gs-paycard input:checked ~ .gs-paycard__tick::after { transform: scale(1); }
.gs-paycard input:focus-visible ~ .gs-paycard__tick { outline: 2px solid var(--gs-red); outline-offset: 3px; }

.gs-bill { margin: 0; padding: 0; }
.gs-bill__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--gs-line);
}
.gs-bill__row[hidden] { display: none; }
.gs-bill dt { margin: 0; color: var(--gs-ink); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.gs-bill dd { margin: 0; color: var(--gs-ink); font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 18px; text-align: right; }
.gs-bill dt small { display: block; margin-top: 4px; color: var(--gs-muted); font-weight: 500; font-size: 13px; letter-spacing: 0; }
.gs-bill dt small[hidden] { display: none; }
.gs-bill__row--sum dt, .gs-bill__row--sum dd { font-weight: 800; }
.gs-bill__row--due { margin-top: 18px; padding: 18px 22px; border: 0; background: #fdecec; border-left: 4px solid var(--gs-red); align-items: center; }
.gs-bill__row--due dt { font-size: 18px; }
.gs-bill__row--due dd { color: var(--gs-red); font-weight: 700; font-size: 30px; line-height: 1; }
.gs-bill__row--item dt { font-weight: 600; font-size: 16px; }
.gs-bill__was { margin-right: 8px; color: var(--gs-muted); font-weight: 500; font-size: 15px; }

/* ---------- Register Now + Pay Now ---------- */
.gs-reg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.gs-reg__pay {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 183px; height: 56px; padding: 0 40px;
  border: 2px solid var(--gs-red); background: #fff; color: var(--gs-red);
  font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 700; line-height: 22px; text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.gs-reg__pay[hidden] { display: none; }
.gs-reg__pay:hover, .gs-reg__pay:focus-visible { background: var(--gs-red); color: #fff; transform: translateY(-2px); }
.gs-reg__pay:focus-visible { outline: 2px solid var(--gs-ink); outline-offset: 3px; }

@media (max-width: 767.98px) {
  .gs-paymode__cards { grid-template-columns: 1fr; }
  .gs-paycard { padding: 9px 14px 9px 44px; }
  .gs-bill dd { font-size: 16px; }
  .gs-bill__row--due { padding: 16px; }
  .gs-bill__row--due dd { font-size: 24px; }
  .gs-reg__actions { flex-direction: column; align-items: stretch; }
  .gs-reg__btn, .gs-reg__pay { width: 100%; max-width: 320px; }
}

/* ---------- Thank-you card (after Register Now) ---------- */
.gs-thanks__card { max-width: 640px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 56px); text-align: center; background: #fff; border-left: 5px solid #d71111; box-shadow: 6px 6px 30px rgba(0,0,0,.16); position: relative; z-index: 1; }
.gs-thanks__tick { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 22px; color: #16a34a; }
.gs-thanks__tick svg { width: 84px; height: 84px; }
.gs-thanks__title { margin: 0 0 14px; font-family: "Urbanist", sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; color: #2a2a30; }
.gs-thanks__text { margin: 0 0 30px; color: #6d7076; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.gs-thanks__text strong { color: #2a2a30; }
.gs-thanks__btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-width: 220px; }

/* ---------- field checks (name, email, phone) ---------- */
.gs-reg__field input.is-invalid { box-shadow: inset 0 0 0 2px #d71111; }
.gs-reg__err { display: block; margin-top: 6px; color: #d71111; font-size: 13px; font-weight: 600; line-height: 1.4; }
.gs-reg__err[hidden] { display: none; }
