.pa-dance-banner {
  padding: 64px 0 0;
  background: #ffffff;
}

.pa-dance-banner__inner {
  position: relative;
  overflow: hidden;
  min-height: 454px;
  padding: 32px 40px;
  border-radius: 24px;
  background: #0b0b0d url('https://palmira-art.com/wp-content/uploads/2026/11/dance/dance-banner.webp') 78% center / cover no-repeat;
  color: #ffffff;
}

.pa-dance-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0) 66%);
  pointer-events: none;
}

.pa-dance-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
}

.pa-dance-banner__title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.18;
  text-transform: uppercase;
}

.pa-dance-banner__sub {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.44;
  text-transform: uppercase;
}

.pa-dance-banner__text {
  max-width: 630px;
  margin: 0;
  padding-bottom: 16px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.44;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.pa-dance-banner__feats {
  --pa-dance-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.4775 5.24726C11.5848 4.66498 12.4193 4.66498 12.5266 5.24726L13.0961 8.33877C13.3365 9.64416 14.358 10.6656 15.6634 10.9061L18.7549 11.4756C19.3372 11.5829 19.3372 12.4173 18.7549 12.5246L15.6634 13.0941C14.358 13.3346 13.3365 14.356 13.0961 15.6614L12.5266 18.7529C12.4193 19.3353 11.5848 19.3353 11.4775 18.7529L10.908 15.6614C10.6676 14.356 9.64612 13.3346 8.34073 13.0941L5.24921 12.5246C4.66693 12.4173 4.66693 11.5829 5.24921 11.4756L8.34073 10.9061C9.64612 10.6656 10.6676 9.64416 10.908 8.33877L11.4775 5.24726Z' fill='%23C8B478'/%3E%3C/svg%3E");
  display: flex;
  flex-wrap: wrap;
  gap: 7px 7px;
  max-width: 700px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.pa-dance-banner__feats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.44;
}

.pa-dance-banner__feats li:not(:last-child)::after {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  background: var(--pa-dance-star) center / 24px 24px no-repeat;
}

@media (max-width: 1024px) {
  .pa-dance-banner__inner {
    min-height: 0;
    padding: 32px;
    background-position: 70% center;
  }

  .pa-dance-banner__inner::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.2) 100%);
  }

  .pa-dance-banner__title {
    font-size: 26px;
  }

  .pa-dance-banner__sub,
  .pa-dance-banner__text {
    font-size: 17px;
  }

  .pa-dance-banner__feats li {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .pa-dance-banner {
    padding-top: 48px;
  }

  .pa-dance-banner__inner {
    padding: 220px 20px 24px;
    border-radius: 16px;
    background-size: auto 260px;
    background-position: 72% top;
  }

  .pa-dance-banner__inner::before {
    background: linear-gradient(180deg, rgba(11, 11, 13, 0) 120px, #0b0b0d 250px);
  }

  .pa-dance-banner__title {
    font-size: 22px;
  }

  .pa-dance-banner__sub {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .pa-dance-banner__text {
    font-size: 15px;
  }

  .pa-dance-banner__feats {
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 20px;
  }

  .pa-dance-banner__feats li {
    font-size: 15px;
  }

  .pa-dance-banner__feats li::after {
    display: none;
  }

  .pa-dance-banner__feats li::before {
    content: '';
    flex: none;
    width: 20px;
    height: 20px;
    background: var(--pa-dance-star) center / 20px 20px no-repeat;
  }
}

.pa-dtp,
.pa-dtp *,
.pa-dtp *::before,
.pa-dtp *::after {
  box-sizing: border-box;
}

.pa-dtp {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #222222;
  font-family: "TT Norms Pro", Arial, sans-serif;
}

.pa-dtp[hidden] {
  display: none;
}

.pa-dtp__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 22, 33, 0.6);
}

.pa-dtp__window {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 22, 33, 0.3);
}

.pa-dtp__window:focus {
  outline: none;
}

.pa-dtp__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 16px 0 16px;
  background: #c8b478;
  color: #222222;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pa-dtp__close:hover,
.pa-dtp__close:focus,
.pa-dtp__close:active {
  border: 0;
  background: #b9a466;
  color: #222222;
}

.pa-dtp__close:focus-visible {
  outline: 2px solid #1d2a3f;
  outline-offset: -4px;
}

.pa-dtp__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pa-dtp__media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 72% center;
}

.pa-dtp__view {
  padding: 32px 40px 8px;
}

.pa-dtp__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pa-dtp .pa-dtp__title {
  margin: 0 0 4px;
  color: #1d2a3f;
  font-family: inherit;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.pa-dtp__lead,
.pa-dtp__text {
  margin: 0;
  color: #444444;
  font-size: 16px;
  line-height: 1.45;
}

.pa-dtp__sec {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e8e2d1;
}

.pa-dtp .pa-dtp__h3 {
  margin: 0 0 10px;
  color: #1d2a3f;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: none;
}

.pa-dtp__venues {
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid #e8e2d1;
  list-style: none;
}

.pa-dtp__venue {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 8px 24px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e2d1;
}

.pa-dtp__venue-name {
  color: #1d2a3f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.pa-dtp__venue-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.pa-dtp__way {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #444444;
  font-size: 15px;
  line-height: 21px;
}

.pa-dtp__way-ico {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.5px;
}

.pa-dtp__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pa-dtp__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid #e8e2d1;
  border-radius: 12px;
}

.pa-dtp__card-ico {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 0 10px;
}

.pa-dtp__card--photo {
  justify-content: flex-end;
  min-height: 263px;
  border: 0;
  background: #1d2a3f center / cover no-repeat;
}

.pa-dtp__card--aqua {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.82) 100%), url('../img/dance-teams/aqua.webp');
}

.pa-dtp__card--rooms {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.6) 100%), url('../img/dance-teams/rooms.webp');
}

.pa-dtp__card--photo .pa-dtp__card-title,
.pa-dtp__card--photo .pa-dtp__card-text {
  color: #ffffff;
}

.pa-dtp__card--photo .pa-dtp__card-text {
  line-height: 1.3;
}

.pa-dtp__card-title {
  color: #1d2a3f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.pa-dtp__card-text {
  color: #444444;
  font-size: 15px;
  line-height: 1.4;
}

.pa-dtp__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pa-dtp__list li {
  position: relative;
  padding-left: 30px;
  color: #444444;
  font-size: 16px;
  line-height: 1.4;
}

.pa-dtp__list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: url('../img/dance-teams/bullet.svg') center / 24px 24px no-repeat;
}

.pa-dtp__final {
  margin: 32px 0 0;
  padding: 24px 28px;
  border-radius: 12px;
  background: #1d2a3f;
  color: #ffffff;
}

.pa-dtp .pa-dtp__final-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: none;
}

.pa-dtp__final-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.45;
}

.pa-dtp__bar {
  flex: none;
  padding: 16px 40px 20px;
  border-top: 1px solid #e8e2d1;
  background: #ffffff;
}

.pa-dtp__bar[hidden] {
  display: none;
}

.pa-dtp .pa-dtp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  margin: 0;
  padding: 15px 32px;
  border: 0;
  border-radius: 6px;
  background: #c8b478;
  color: #222222;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pa-dtp .pa-dtp__btn:hover,
.pa-dtp .pa-dtp__btn:focus,
.pa-dtp .pa-dtp__btn:active {
  border: 0;
  background: #b9a466;
  color: #222222;
}

.pa-dtp__view--form {
  padding-bottom: 32px;
}

.pa-dtp .pa-dtp__back {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: #1d2a3f;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pa-dtp .pa-dtp__back:hover,
.pa-dtp .pa-dtp__back:focus {
  border: 0;
  background: none;
  color: #a08c4f;
}

.pa-dtp__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin-top: 20px;
}

.pa-dtp__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pa-dtp__label {
  color: #222222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.pa-dtp .pa-dtp__input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d1c6a7;
  border-radius: 6px;
  background: #ffffff;
  color: #222222;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.pa-dtp .pa-dtp__input:focus {
  border-color: #1d2a3f;
  outline: none;
}

.pa-dtp .pa-dtp__textarea {
  resize: vertical;
}

.pa-dtp__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #666666;
  font-size: 15px;
  line-height: 1.4;
}

.pa-dtp__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #1d2a3f;
}

.pa-dtp__consent a {
  color: #1d2a3f;
}

.pa-dtp__form .pa-dtp__btn {
  align-self: flex-start;
  margin-top: 6px;
}

html.pa-dtp-lock,
html.pa-dtp-lock body {
  overflow: hidden;
}

@media (max-width: 767px) {
  .pa-dtp {
    align-items: stretch;
    padding: 0;
  }

  .pa-dtp__window {
    max-width: none;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }

  .pa-dtp__close {
    border-radius: 0 0 0 12px;
  }

  .pa-dtp__media img {
    height: 230px;
    object-position: 78% center;
  }

  .pa-dtp__view {
    padding: 24px 16px 8px;
  }

  .pa-dtp .pa-dtp__title {
    font-size: 21px;
  }

  .pa-dtp__lead,
  .pa-dtp__text,
  .pa-dtp__list li,
  .pa-dtp__final-text {
    font-size: 15px;
  }

  .pa-dtp__sec {
    margin-top: 24px;
    padding-top: 22px;
  }

  .pa-dtp .pa-dtp__h3,
  .pa-dtp .pa-dtp__final-title {
    font-size: 18px;
  }

  .pa-dtp__venue {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pa-dtp__venue-ways {
    flex-direction: column;
  }

  .pa-dtp__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pa-dtp__card {
    padding: 16px;
  }

  .pa-dtp__card--photo {
    min-height: 230px;
  }

  .pa-dtp__final {
    margin-top: 24px;
    padding: 20px 16px;
  }

  .pa-dtp__bar {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

  .pa-dtp .pa-dtp__btn {
    width: 100%;
    min-width: 0;
  }

  .pa-dtp__view--form {
    padding-bottom: 24px;
  }
}

.pa-dtp .pa-dtp__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pa-dtp__msg {
  margin: 0;
  color: #b3261e;
  font-size: 15px;
  line-height: 1.4;
}

.pa-dtp__msg[hidden],
.pa-dtp__done[hidden] {
  display: none;
}

.pa-dtp__done {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 12px;
  background: #f7f6f1;
}

.pa-dtp .pa-dtp__input--error {
  border-color: #b3261e;
}

.pa-dtp .pa-dtp__btn:disabled {
  opacity: 0.6;
  cursor: default;
}
