:root {
  --cream: #faf6ee;
  --cream-deep: #f3ebe0;
  --purple: #7a3ce3;
  --purple-deep: #3d1a5c;
  --purple-soft: rgba(122, 60, 227, 0.14);
  --yellow: #f5c044;
  --pink: #e6336f;
  --ink: #1a1024;
  --white: #ffffff;
  --error: #c0174a;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(61, 26, 92, 0.12);
  --max: 520px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 45, 155, 0.06), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(91, 42, 134, 0.08), transparent 35%),
    var(--cream);
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem 1.15rem 2.5rem;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.header-cta {
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--ink);
}

.header-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.headline {
  margin: 0 0 0.55rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--purple);
  animation: hero-in 0.7s ease both;
}

.subtitle {
  position: relative;
  z-index: 1;
  margin: 0 auto 1.15rem;
  max-width: 22rem;
  color: var(--purple-deep);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  opacity: 0.9;
  animation: hero-in 0.7s ease 0.08s both;
}

.subtitle-below {
  margin: 1.15rem auto 0;
  max-width: 26rem;
  font-size: 1rem;
  animation: hero-in 0.7s ease 0.2s both;
}

.subtitle-below strong {
  font-weight: 800;
  color: var(--purple);
}

.video-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--purple-deep);
  animation: hero-in 0.7s ease 0.12s both;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -55%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.72);
  backdrop-filter: blur(2px);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: transform 0.12s ease, background 0.12s ease;
  z-index: 2;
}

.play-btn:hover {
  background: rgba(255, 225, 74, 0.9);
  transform: translate(-50%, -55%) scale(1.05);
}

.play-btn:active {
  transform: translate(-50%, -55%) scale(0.97);
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--purple-deep);
}

.video-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(26, 16, 36, 0.72));
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 36, 0.78);
  cursor: pointer;
}

.video-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  display: grid;
  gap: 0.65rem;
  animation: hero-in 0.3s ease both;
}

.hero-video {
  width: 100%;
  max-height: min(78vh, 720px);
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.video-lightbox-close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.video-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.video-tool-btn {
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.65rem 0.8rem;
  background: var(--white);
  color: var(--purple-deep);
  font-weight: 800;
  cursor: pointer;
}

.video-tool-btn:active {
  transform: scale(0.98);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Booking */
.booking,
.about-forro,
.teachers,
.questions,
.audience,
.location {
  margin-bottom: 2.25rem;
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--purple);
  text-align: center;
  line-height: 1.15;
}

.about-forro-text {
  margin: 0;
  text-align: center;
  color: var(--purple-deep);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
}

.about-forro-text a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-forro-text a:hover {
  color: var(--purple);
}

.teachers-list {
  margin-top: 1.35rem;
}

.final-cta-wrap {
  margin: 0 0 2.25rem;
}

.final-cta-wrap .cta {
  width: 100%;
}

.instagram-link-wrap {
  margin: 1.15rem 0 0;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease;
}

.instagram-link:hover {
  transform: translateY(-1px);
}

.instagram-link:active {
  transform: scale(0.98);
}

.booking-form {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 3px solid var(--ink);
}

.step-indicator {
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--purple);
  opacity: 0.85;
}

.form-step {
  display: grid;
  gap: 1rem;
  animation: hero-in 0.35s ease both;
}

.form-step[hidden] {
  display: none;
}

.step-actions {
  display: grid;
  gap: 0.55rem;
}

.step-actions-split {
  grid-template-columns: auto 1fr;
  align-items: stretch;
}

.step-actions-split .step-back {
  background: var(--cream-deep);
  color: var(--purple-deep);
  min-width: 5.5rem;
  padding-inline: 0.9rem;
}

.step-actions-split .cta {
  margin-top: 0;
}

.field {
  display: grid;
  gap: 0.4rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.field label,
.field legend {
  font-weight: 800;
  color: var(--purple-deep);
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.field input.is-invalid {
  border-color: var(--error);
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 700;
}

.class-options {
  display: grid;
  gap: 0.55rem;
}

.class-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.class-option:hover {
  background: var(--cream-deep);
}

.class-option:has(input:checked) {
  background: #fbefd0;
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.class-option input {
  margin-top: 0.2rem;
  accent-color: var(--purple);
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.class-option span {
  font-weight: 700;
  line-height: 1.3;
  color: var(--purple-deep);
}

.spaces {
  color: var(--pink);
  font-weight: 800;
}

.friend-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  font-weight: 800;
  color: var(--purple-deep);
  cursor: pointer;
  animation: hero-in 0.3s ease both;
}

.friend-check[hidden] {
  display: none;
}

.friend-check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--purple);
  flex-shrink: 0;
}

.cta {
  margin-top: 0.25rem;
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 1rem 1.1rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--ink);
}

.cta:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}

.cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 5px 0 var(--ink);
}

.whatsapp-confirm-title {
  margin: 0;
  text-align: center;
  font-weight: 800;
  color: var(--purple);
  font-size: 1.05rem;
  line-height: 1.3;
}

.message-preview-wrap {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  padding: 0.9rem 0.9rem 2.4rem;
}

.message-preview {
  margin: 0;
  white-space: pre-wrap;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.4;
  font-size: 0.98rem;
}

.copy-message-btn {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--purple-deep);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.copy-message-btn:hover {
  opacity: 1;
  background: rgba(91, 42, 134, 0.08);
  color: var(--purple);
}

.copy-message-btn:active {
  transform: scale(0.96);
}

.whatsapp-fallback {
  margin: 0;
  text-align: center;
}

.whatsapp-fallback a,
.success a {
  color: var(--pink);
}

.success-secondary {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple-deep);
}

.success {
  margin: 0 0 0.25rem;
  padding: 1rem 1rem;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  background: #e8ffe9;
  color: var(--purple-deep);
  font-weight: 800;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.4;
  animation: hero-in 0.45s ease both;
}

.success p {
  margin: 0;
}

/* Who's it for */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--purple-deep);
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
  user-select: none;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.92);
  color: var(--purple-deep);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(26, 16, 36, 0.2);
  transition: transform 0.12s ease, background 0.12s ease;
}

.carousel-nav:hover {
  background: var(--yellow);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-prev {
  left: 0.55rem;
}

.carousel-next {
  right: 0.55rem;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.carousel-dot.is-active {
  background: var(--yellow);
  transform: scale(1.15);
  box-shadow: 0 0 0 1px var(--ink);
}

.audience-intro {
  margin: 1.15rem 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple);
  text-align: center;
}

.audience-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.audience-list li {
  font-weight: 700;
  color: var(--purple-deep);
  font-size: 1.02rem;
  line-height: 1.4;
  text-align: center;
}

.audience-cta {
  width: 100%;
}

/* Map */
.location-blurb {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--purple-deep);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

.location-blurb strong {
  font-weight: 800;
  color: var(--purple);
}

.map-wrap {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}

#map {
  width: 100%;
  height: 280px;
}

.address-block {
  margin-top: 1rem;
  text-align: center;
}

.location-cta {
  margin-top: 1.15rem;
  width: 100%;
}

.address {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.4;
}

.address-actions {
  display: grid;
  gap: 0.55rem;
}

.secondary-btn,
.secondary-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.secondary-btn-link {
  background: var(--purple);
}

.secondary-btn:active,
.secondary-btn-link:active {
  transform: scale(0.97);
}

.copy-feedback {
  margin: 0.55rem 0 0;
  font-weight: 800;
  color: var(--pink);
}

.site-footer {
  text-align: center;
  color: var(--purple);
  font-weight: 700;
  opacity: 0.7;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .page {
    padding-top: 1.5rem;
  }

  .logo {
    width: 104px;
    height: 104px;
  }

  #map {
    height: 340px;
  }

  .address-actions {
    grid-template-columns: 1fr 1fr;
  }
}
