/* Showcase circolare con 2 voci per lato */
.page-party .party-showcase--duo .party-showcase__rail .party-showcase__item:nth-child(1) {
  top: 16%;
  bottom: auto;
}

.page-party .party-showcase--duo .party-showcase__rail .party-showcase__item:nth-child(2) {
  top: auto;
  bottom: 16%;
}

.page-party .party-showcase--duo .party-showcase__rail--left .party-showcase__item {
  left: 3%;
}

.page-party .party-showcase--duo .party-showcase__rail--right .party-showcase__item {
  right: 3%;
}

@media (max-width: 900px) {
  .page-party .party-showcase--duo .party-showcase__rail {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}

/* Modulo richiesta compleanno (lead CRM) */
.party-request {
  position: relative;
  scroll-margin-top: calc(var(--header-height, 72px) + 12px);
  padding: clamp(4rem, 8vw, 6.5rem) 1.25rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(105, 44, 225, 0.3), transparent 26rem),
    radial-gradient(circle at 10% 85%, rgba(232, 41, 143, 0.18), transparent 28rem),
    #0d0716;
}

.party-request__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.party-request__eyebrow {
  margin: 0 0 0.8rem;
  color: #f154a5;
  font-family: var(--font-bold, sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.party-request__head h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-bold, sans-serif);
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.party-request__head h2 span {
  color: #c9a2ff;
}

.party-request__head > p:not(.party-request__eyebrow) {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.6;
}

.party-request__points {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.party-request__points li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-bold, sans-serif);
  font-size: 0.92rem;
}

.party-request__points li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f02d8a, #9d28d7);
  box-shadow: 0 0 0 4px rgba(240, 45, 138, 0.16);
}

.party-request__form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(201, 162, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.party-request__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.party-request__field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.party-request__field--wide {
  grid-column: 1 / -1;
}

.party-request__field > span {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-bold, sans-serif);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.party-request__field :is(input, select, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(10, 4, 21, 0.72);
  font: inherit;
  font-size: 0.95rem;
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.party-request__field textarea {
  min-height: 92px;
  resize: vertical;
}

.party-request__field :is(input, select, textarea)::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.party-request__field :is(input, select, textarea):focus {
  outline: none;
  border-color: #c9a2ff;
  box-shadow: 0 0 0 3px rgba(201, 162, 255, 0.25);
}

.party-request__field :is(input, select, textarea):user-invalid {
  border-color: #ff6b9a;
}

.party-request__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.party-request__choices legend {
  width: 100%;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-bold, sans-serif);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.party-request__choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(10, 4, 21, 0.72);
  font-size: 0.86rem;
  cursor: pointer;
}

.party-request__choices label:has(input:checked) {
  border-color: #c9a2ff;
  background: rgba(124, 58, 237, 0.35);
}

.party-request__field.party-request__choices input[type="checkbox"] {
  width: 1rem;
  min-height: 0;
  height: 1rem;
  margin: 0;
  padding: 0;
  accent-color: #a855f7;
}

.party-request__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.party-request__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.5;
}

.party-request__consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: #f02d8a;
}

.party-request__consent a {
  color: #ffffff;
  text-decoration: underline;
}

.party-request__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.3rem;
}

.party-request__actions .party-hero__btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-bold, sans-serif);
}

.party-request__actions .party-hero__btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.party-request__status {
  flex: 1 1 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.45;
}

.party-request__status[data-state="success"] {
  color: #7ff0c4;
}

.party-request__status[data-state="error"] {
  color: #ff9cbc;
}

@media (max-width: 900px) {
  .party-request__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .party-request__grid {
    grid-template-columns: 1fr;
  }

  .party-request__actions .party-hero__btn {
    width: 100%;
  }
}
