/* =====================================================
   FESTIVAL SURVEY PAGE
   Reusable attendee survey + prize preview template
===================================================== */

.festival-survey-page {
  min-height: 100vh;
  color: var(--color-text);
}

.festival-survey-page .content-wrapper {
  max-width: 1000px;
}

.festival-survey-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 10px;

  color: var(--watermelon-500);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

/* =====================================================
   HERO
===================================================== */

.festival-survey-hero {
  padding: clamp(48px, 7vw, 82px) var(--space-3) clamp(34px, 5vw, 58px);
  background: #fff;
}

.festival-survey-hero__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.festival-survey-hero .header-title {
  max-width: 920px;
  margin: 0 auto 24px;

  color: var(--color-secondary);
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.02;
}

.festival-survey-hero__lead {
  max-width: 820px;
  margin: 0 auto;

  color: var(--color-secondary);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.7;
}

/* =====================================================
   PRIZES + GUIDE AREA
===================================================== */

.festival-survey-info {
  padding: clamp(34px, 5vw, 52px) var(--space-3);
  background: var(--purple-100);
}

.festival-survey-prizes {
  margin: 0 auto;
}

.festival-survey-section-header {
  max-width: 700px;
  margin: 0 auto var(--space-3);
  text-align: center;
}

.festival-survey-section-header h2 {
  margin: 0 0 8px;

  color: var(--color-secondary);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
}

.festival-survey-section-header p {
  max-width: 620px;
  margin: 0 auto;

  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.festival-survey-prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.festival-survey-prize-card {
  min-width: 0;
  overflow: hidden;

  border: 1px solid rgba(42, 0, 115, 0.1);
  border-radius: 18px;

  background: #fff;
  box-shadow: var(--shadow-sm);
}

.festival-survey-prize-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(42, 0, 115, 0.06);
}

.festival-survey-prize-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.festival-survey-prize-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 15px 16px;
}

.festival-survey-prize-card__body span {
  color: var(--watermelon-500);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.festival-survey-prize-card__body strong {
  color: var(--color-secondary);
  font-size: 0.96rem;
  line-height: 1.3;
}

/* Same visual language as the Today Guide hero CTAs. */
.festival-survey-guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin-top: var(--space-3);
  padding: 16px 18px;

  border: 1px solid rgba(42, 0, 115, 0.1);
  border-radius: 16px;

  background: #fff;
  color: var(--color-secondary);
  text-decoration: none;

  box-shadow: var(--shadow-sm);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.festival-survey-guide-cta:hover,
.festival-survey-guide-cta:focus {
  color: var(--color-secondary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.festival-survey-guide-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.festival-survey-guide-cta__eyebrow {
  color: var(--watermelon-500);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.festival-survey-guide-cta__copy strong {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
}

.festival-survey-guide-cta__button {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 18px;
  border-radius: 999px;

  background: var(--color-secondary);
  color: #fff;

  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =====================================================
   FORM
===================================================== */

.festival-survey-form-section {
  padding: clamp(46px, 7vw, 76px) var(--space-3);
  background: var(--salsa-gradient-6);
}

.festival-survey-form-wrap {
  max-width: 980px;
  margin: 0 auto;
}

/* Keep the shared form-card visually anchored on the gradient. */
.festival-survey-form-section .form-card {
  margin: 0 auto;
}

/* =====================================================
   PASSWORD
===================================================== */

.festival-survey-password {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--purple-100);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
  .festival-survey-hero {
    padding: 42px var(--space-3) 30px;
  }

  .festival-survey-hero .header-title {
    margin-bottom: 18px;
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .festival-survey-hero__lead {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .festival-survey-info {
    padding: 30px 0 38px;
    overflow: hidden;
  }

  .festival-survey-info > .content-wrapper {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .festival-survey-prize-grid {
    display: flex;
    gap: 12px;

    margin-left: calc(var(--space-3) * -1);
    margin-right: calc(var(--space-3) * -1);
    padding: 0 var(--space-3) 8px;

    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .festival-survey-prize-grid::-webkit-scrollbar {
    display: none;
  }

  .festival-survey-prize-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .festival-survey-guide-cta {
    gap: 12px;
    margin-top: 22px;
    padding: 14px;
  }

  .festival-survey-guide-cta__copy strong {
    font-size: 0.9rem;
  }

  .festival-survey-guide-cta__button {
    padding: 10px 13px;
    font-size: 0.62rem;
  }

  .festival-survey-form-section {
    padding: 38px var(--space-3) 52px;
  }
}

@media (max-width: 520px) {
  .festival-survey-guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .festival-survey-guide-cta__button {
    width: 100%;
  }

  .festival-survey-prize-card {
    flex-basis: 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-survey-guide-cta {
    transition: none;
  }
}