:root {
  --jr-orange: #ff4d16;
  --jr-orange-2: #ff641c;
  --jr-ink: #101214;
  --jr-copy: #626873;
  --jr-page: #fffdfb;
}

.jr-partner {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  padding: 52px 16px 60px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 1% 55%, rgba(255, 77, 22, .04) 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(90deg, #fff 0%, #fff 66%, #fffaf5 100%);
  color: var(--jr-ink);
}

.jr-shell {
  width: min(1320px, 100%);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(0, .93fr);
  gap: 40px;
  align-items: start;
  box-sizing: border-box;
}

.jr-main,
.jr-aside,
.jr-form-card,
.jr-hero,
.jr-copy,
.jr-visual {
  min-width: 0;
  max-width: 100%;
}

.jr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 18px;
  min-height: 380px;
  position: relative;
  align-items: center;
}

.jr-copy { padding: 0 0 0 6px; position: relative; z-index: 2; }

.jr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #f2d6c6;
  border-radius: 999px;
  background: #fffaf6;
  color: var(--jr-orange);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 22px;
}

.jr-kicker i { font-size: 18px; }

.jr-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 565px;
}

.jr-title .hot { color: var(--jr-orange); }

.jr-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--jr-copy);
  max-width: 520px;
  margin: 0 0 28px;
}

.jr-stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 12px;
  flex-wrap: wrap;
}

.jr-stat {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 170px;
  padding-right: 24px;
  margin-right: 24px;
  position: relative;
}

.jr-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 1px;
  height: 48px;
  background: #eadfd8;
}

.jr-stat i {
  grid-row: 1 / 3;
  color: var(--jr-orange);
  font-size: 28px;
}

.jr-stat strong {
  font-size: 22px;
  line-height: 1;
  color: var(--jr-orange);
  font-weight: 800;
}

.jr-stat span {
  font-size: 15px;
  color: #4f555f;
  margin-top: 5px;
}

.jr-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: #1a1a1a;
}

.jr-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

.jr-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(255, 77, 22, .28));
  pointer-events: none;
}

.jr-form-card {
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 20px;
  padding: 26px 30px 24px;
  box-shadow: 0 13px 30px rgba(22, 25, 31, .08);
  margin-top: 18px;
  box-sizing: border-box;
  overflow: hidden;
}

.jr-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.jr-form > .jr-field,
.jr-form > .jr-form-bottom {
  min-width: 0;
  max-width: 100%;
}

.jr-form .jr-field-full {
  grid-column: 1 / -1;
}

.jr-form-card .form-control,
.jr-form-card .form-select {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.jr-form-card h2 {
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 6px;
}

.jr-form-card .sub {
  color: #737985;
  font-size: 15px;
  margin: 0 0 20px;
}

.jr-field { position: relative; }

.jr-field i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #777e89;
  font-size: 16px;
  z-index: 2;
  pointer-events: none;
}

.jr-field .form-control,
.jr-field .form-select {
  height: 53px;
  border: 1px solid #d9dde4;
  border-radius: 10px;
  padding-left: 48px;
  font-size: 14px;
  color: #3a3f47;
  background-color: #fff;
  box-shadow: none;
}

.jr-field .form-control:focus,
.jr-field .form-select:focus {
  border-color: #ff9c77;
  box-shadow: 0 0 0 3px rgba(255, 77, 22, .10);
}

.jr-field.is-invalid .form-control,
.jr-field.is-invalid .form-select {
  border-color: #dc3545;
}

.jr-form-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 16px 22px;
  align-items: center;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
}

.jr-terms {
  font-size: 13px;
  color: #555c66;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.jr-terms input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.jr-terms a {
  color: var(--jr-orange);
  text-decoration: none;
}

.jr-terms a:hover { text-decoration: underline; }

.jr-submit {
  height: 56px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(110deg, var(--jr-orange-2), var(--jr-orange));
  box-shadow: 0 12px 24px rgba(255, 77, 22, .20);
  transition: .25s ease;
  width: 100%;
}

.jr-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 30px rgba(255, 77, 22, .28);
  color: #fff;
}

.jr-benefits {
  background: linear-gradient(145deg, #fffaf6, #fff7f0);
  border: 1px solid #f0daca;
  border-radius: 20px;
  padding: 26px 26px 24px;
}

.jr-benefits h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 22px;
}

.jr-benefit {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 27px;
}

.jr-benefit:last-child { margin-bottom: 0; }

.jr-benefit-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #efded4;
  display: grid;
  place-items: center;
  color: var(--jr-orange);
  font-size: 24px;
}

.jr-benefit h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
}

.jr-benefit p {
  font-size: 14px;
  line-height: 1.55;
  color: #3e434a;
  margin: 0;
}

.jr-help {
  margin-top: 24px;
  border-radius: 16px;
  padding: 28px 30px;
  background: linear-gradient(135deg, #171717, #0e0e0e);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, .14);
}

.jr-help-icon {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(145deg, #ff6a1e, #ff3f0b);
}

.jr-help h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 3px;
}

.jr-help p {
  font-size: 14px;
  color: #e1e1e1;
  margin: 0 0 4px;
}

.jr-help strong {
  font-size: 21px;
  color: var(--jr-orange);
  font-weight: 800;
}

.jr-alert-success {
  border-radius: 14px;
  border: 1px solid #c8e6c9;
  background: #f1faf2;
  color: #1b5e20;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.jr-partner-cta {
  margin: 8px 0 40px;
  border-radius: 20px;
  padding: 28px 32px;
  background: linear-gradient(110deg, #fff7f0, #fff);
  border: 1px solid #f0daca;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.jr-partner-cta h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--jr-ink);
}

.jr-partner-cta p {
  margin: 0;
  color: var(--jr-copy);
  font-size: 15px;
}

.jr-partner-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  background: linear-gradient(110deg, var(--jr-orange-2), var(--jr-orange));
  box-shadow: 0 12px 24px rgba(255, 77, 22, .2);
  white-space: nowrap;
}

.jr-partner-cta-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

@media (max-width: 1099px) {
  .jr-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jr-aside {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    gap: 24px;
    align-items: start;
  }

  .jr-help { margin-top: 0; }

  .jr-form-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .jr-partner { padding: 30px 14px 40px; }

  .jr-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .jr-copy { padding: 0; }

  .jr-visual { min-height: 240px; }
  .jr-visual img { min-height: 240px; }

  .jr-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .jr-stat {
    min-width: 0;
    margin: 0;
    padding: 13px 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
  }

  .jr-stat:not(:last-child)::after { display: none; }

  .jr-form-card { padding: 22px 16px; }

  .jr-form { grid-template-columns: 1fr; }

  .jr-aside { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .jr-kicker {
    height: 42px;
    font-size: 12px;
    padding: 0 14px;
  }

  .jr-title { letter-spacing: -1.4px; margin-bottom: 14px; }

  .jr-lead { font-size: 14px; }

  .jr-benefit {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }

  .jr-benefit-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .jr-partner-cta { padding: 22px 18px; }
  .jr-partner-cta h3 { font-size: 20px; }
}
