.offer {
  --accent: #b9a3ff;
  --purple: #641e78;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  color: #1e1428;
}
.offer > section {
  box-sizing: border-box;
  margin: 0 0 3rem;
}
/* The theme appends an anchor link to headings with an id; it shifts centered text */
.offer .header-link {
  display: none;
}
.offer h2 {
  margin: 0 0 0.8rem;
  padding: 0;
  border: 0;
  color: #1e1428;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.15;
}

/* Text + photo sections, alternating sides on wide screens */
.offer-slide {
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: center;
}
.offer-slide p {
  margin: 0 0 0.65rem;
  color: #3d3346;
  font-size: 0.78rem;
  line-height: 1.65;
}
.offer-slide strong {
  color: var(--purple);
  font-weight: 700;
}
.offer-slide a {
  color: var(--purple);
  font-weight: 700;
}
.offer-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}
@media (min-width: 760px) {
  .offer-slide {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  .offer-slide--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .offer-slide--reverse .offer-slide__text { order: 2; }
}

/* Stats */
.offer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 1.1rem 0 0;
}
.offer-stats > div {
  display: flex;
  flex-direction: column-reverse;
}
.offer-stats dd {
  margin: 0 0 0.25rem;
  color: var(--purple);
  font-size: 1.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.offer-stats dt {
  margin: 0;
  color: #6b5f75;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Needs */
.offer-needs {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.offer-needs li {
  position: relative;
  margin: 0 0 0.35rem;
  padding-left: 1.4rem;
  color: #1e1428;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}
.offer-needs li::before {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Organizers ring: every person sits on the circle, count comes from --n */
.offer-ring-wrap {
  container-type: inline-size;
}
.offer-ring {
  --ring: min(20rem, 80cqw);
  position: relative;
  width: var(--ring);
  height: var(--ring);
  margin: calc(var(--ring) * 0.1) auto;
  padding: 0;
  list-style: none;
  border: 2px dashed rgba(100, 30, 120, 0.3);
  border-radius: 50%;
}
.offer-ring li {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: 0;
}
.offer-ring img {
  max-width: none;
}
.offer-ring__logo img {
  position: absolute;
  top: calc(var(--ring) * -0.16);
  left: calc(var(--ring) * -0.16);
  width: calc(var(--ring) * 0.32);
  height: calc(var(--ring) * 0.32);
  border-radius: 50%;
}
.offer-ring__person {
  transform:
    rotate(calc(360deg * var(--i) / var(--n) - 90deg))
    translateX(calc(var(--ring) / 2))
    rotate(calc(90deg - 360deg * var(--i) / var(--n)));
}
.offer-ring__card {
  position: absolute;
  top: calc(var(--ring) * -0.1);
  left: calc(var(--ring) * -0.15);
  display: block;
  width: calc(var(--ring) * 0.3);
  text-align: center;
}
.offer-ring__card img {
  display: block;
  width: calc(var(--ring) * 0.2);
  height: calc(var(--ring) * 0.2);
  margin: 0 auto calc(var(--ring) * 0.02);
  border: 2px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
}
.offer-ring__name {
  display: block;
  color: #1e1428;
  font-size: max(0.45rem, calc(var(--ring) * 0.034));
  font-weight: 800;
  line-height: 1.15;
}
@media (max-width: 559px) {
  .offer-ring {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 0.5rem;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
  }
  .offer-ring__logo { display: none; }
  .offer-ring li,
  .offer-ring__person {
    position: static;
    width: 5.5rem;
    height: auto;
    transform: none;
  }
  .offer-ring__card {
    position: static;
    width: auto;
  }
  .offer-ring__card img {
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 0.3rem;
  }
  .offer-ring__name { font-size: 0.55rem; }
}

/* Partners inside the offer page */
.offer .partners-section {
  margin-top: 0;
}

/* Contact */
.offer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem;
  border-radius: 12px;
  background: #1e1428;
  color: #fff;
  text-align: center;
  scroll-margin-top: 6rem;
}
.offer-contact__photo {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1rem;
  border: 4px solid var(--accent);
  border-radius: 50%;
  object-fit: cover;
}
.offer .offer-contact h2 {
  align-self: stretch;
  margin-bottom: 0.5rem;
  color: #fff;
  text-align: center;
}
.offer .offer-contact p {
  align-self: stretch;
  margin: 0 0 0.35rem;
  color: #e9e2ee;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}
.offer .offer-contact__name {
  margin-top: 0.6rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.offer .offer-contact__role {
  margin-bottom: 1rem;
}
.offer-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.offer-contact .btn {
  margin: 0;
}
