/* Salsa District's own look: plum and coral on cream, Anton for headings,
   Lato for the rest (as on salsadistrict.nl). */
:root {
  --plum: #55063f;
  --plum-dark: #2e0021;
  --coral: #ff6542;
  --coral-dark: #e14d2b;
  --sage: #7ea6a0;
  --cream: #fef7ef;
  --blush: #ddb8d3;
  --ink: #1d1a1c;
  --muted: #5e5e5e;
  --line: #ead9cf;
}

* { box-sizing: border-box; }
/* The hero and the booking are grids; hidden must still hide them. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.55 Lato, system-ui, sans-serif;
}
h1, h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--plum);
  line-height: 1.02;
}
h1 { font-size: clamp(44px, 9vw, 84px); }
h2 { font-size: clamp(30px, 5vw, 44px); }
a { color: var(--plum); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}
.top-right { display: flex; align-items: center; gap: 14px; }
.top-place { font-size: 14px; color: var(--muted); }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: 900 13px Lato, sans-serif;
  letter-spacing: .06em;
  color: var(--plum);
  cursor: pointer;
}
.lang:hover { border-color: var(--blush); }
.flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 8px 0 40px;
}
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  order: 2;
}
.kicker {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral);
}
.lead { margin: 18px 0 0; font-size: 19px; color: #3a2f36; max-width: 34ch; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.facts li { padding-left: 30px; position: relative; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage);
}

.book {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 1px 0 var(--line);
}
.classes { display: grid; gap: 10px; margin: 18px 0 24px; }
.class {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.class:hover { border-color: var(--blush); }
.class[aria-checked="true"] { border-color: var(--plum); background: #fbeef6; }
.class:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.date {
  display: grid;
  justify-items: center;
  padding: 6px 0;
  border-radius: 12px;
  background: var(--plum);
  color: #fff;
  line-height: 1.05;
}
.date b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 28px; }
.date span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.what { display: grid; gap: 2px; min-width: 0; }
.what b { font-size: 17px; }
.what span { font-size: 14px; color: var(--muted); }
.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
  white-space: nowrap;
}

.form { display: grid; gap: 14px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input {
  height: 52px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font: inherit;
  color: inherit;
}
.form input:focus { outline: none; border-color: var(--plum); }
button#pay, .again {
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: 900 18px/58px Lato, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button#pay:hover:not(:disabled), .again:hover { background: var(--coral-dark); }
button#pay:disabled { background: #e8cfc8; cursor: not-allowed; }
.again { display: inline-block; padding: 0 32px; margin-top: 24px; }
.error { margin: 0; color: #b3261e; font-weight: 700; }
.small, .note { margin: 0; font-size: 14px; color: var(--muted); }

.done {
  background: #fff;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
}
.done .lead { margin-left: auto; margin-right: auto; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .top-place { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-bottom: 28px; }
  .hero-photo { order: 0; border-radius: 18px; }
  .book { padding: 20px 16px; border-radius: 18px; }
  .class { grid-template-columns: 62px minmax(0, 1fr); }
  .tag { grid-column: 2; justify-self: start; }
}

/* From the mail after the class: the video, and the way into the course. */
.watch { max-width: 720px; margin: 0 auto; padding: 32px 20px 48px; }
.watch h1 { margin: 6px 0 20px; }
.watch-frame { background: var(--plum-dark); }
.watch-frame video, .watch-frame iframe { display: block; width: 100%; max-height: 78vh; border: 0; background: var(--plum-dark); }
.watch-frame iframe { aspect-ratio: 16 / 9; height: auto; }
.watch-more { margin-top: 28px; background: var(--plum); color: var(--cream); padding: 24px 22px; }
.watch-more .kicker { color: #ffb4a3; }
.watch-more h2 { color: var(--cream); margin: 6px 0 14px; }
.watch-courses { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.watch-courses li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(254, 247, 239, .2); padding-bottom: 8px; }
.watch-signup { display: block; text-align: center; background: var(--coral); color: var(--cream); text-decoration: none; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; padding: 15px 20px; }
.watch-signup:hover { background: var(--coral-dark); color: var(--cream); }
.watch-app { margin-top: 18px; }
