:root {
  --bg: #070707;
  --panel: #111111;
  --panel-2: #1b1b1b;
  --text: #f7f2e9;
  --muted: #b8aea2;
  --line: rgba(247, 242, 233, 0.16);
  --accent: #ff4f24;
  --accent-2: #f2c94c;
  --green: #49d17d;
  --error: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 7, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 22px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: lowercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
}

.language-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-button.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 79, 36, 0.18);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 6vw, 84px) 72px;
  isolation: isolate;
}

.floating-contact {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 20;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.55) 48%, rgba(7, 7, 7, 0.88)),
    linear-gradient(135deg, rgba(255, 79, 36, 0.22), rgba(73, 209, 125, 0.1)),
    url("./assets/bodysoul-hero.webp") center/cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 18px;
  mix-blend-mode: soft-light;
  opacity: 0.28;
}

.hero-content {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(56px, 10vw, 138px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.94;
}

h3 {
  font-size: 24px;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
}

.spanish-copy {
  color: var(--text);
  opacity: 0.88;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  padding: 78px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
}

.intro-band p:last-child {
  margin: 0;
  font-size: 18px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.coach-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #050505;
}

.coach-visuals figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.coach-visuals figure:last-child {
  border-right: 0;
}

.coach-visuals img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.coach-visuals figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 7, 7, 0.88));
}

.coach-visuals figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--text);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
}

.format-grid article {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.format-grid article:nth-child(even) {
  background: var(--panel-2);
}

.format-grid span {
  color: var(--accent);
  font-weight: 900;
}

.hamburg-band {
  padding: 78px clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #111111;
}

.hamburg-band h2 {
  max-width: 980px;
}

.hamburg-band p:not(.eyebrow) {
  max-width: 760px;
  font-size: 18px;
}

.studio-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 62px clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #060606;
}

.studio-gallery-copy {
  max-width: 760px;
}

.studio-gallery-copy p:not(.eyebrow) {
  font-size: 18px;
}

.studio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.studio-gallery figure {
  position: relative;
  min-height: 260px;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.studio-gallery figure:first-child {
  grid-row: auto;
  min-height: 260px;
}

.studio-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.studio-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 7, 0.82));
}

.studio-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 0.86fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  padding: 84px clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
  background: #090909;
}

.support-media {
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.support-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08);
}

.support-copy p:not(.eyebrow) {
  max-width: 660px;
  font-size: 18px;
}

.support-highlight {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.support-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.application-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  padding: 84px clamp(20px, 6vw, 84px);
  align-items: start;
}

.application-intro {
  position: sticky;
  top: 96px;
}

.save-state {
  display: inline-flex;
  margin-top: 22px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.save-state.saved {
  color: var(--green);
}

.save-state.error {
  color: var(--error);
}

.application-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  background: rgba(17, 17, 17, 0.94);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.progress-track {
  height: 8px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 11%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  transition: width 0.22s ease;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin: 22px 0 28px;
}

.step-dot {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.step-dot.active,
.step-dot.done {
  background: var(--accent);
}

.form-step h3 {
  margin-bottom: 8px;
  font-size: clamp(26px, 4vw, 42px);
}

.form-step > p {
  margin-top: 0;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.group-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

input[aria-invalid="true"] {
  border-color: var(--error);
}

select option {
  color: #111111;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.choice input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hidden {
  display: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 30px clamp(20px, 6vw, 84px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .intro-band,
  .application-section,
  .support-section,
  .studio-gallery {
    grid-template-columns: 1fr;
  }

  .application-intro {
    position: static;
  }

  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-visuals {
    grid-template-columns: 1fr;
  }

  .coach-visuals figure {
    min-height: 430px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-media {
    min-height: 520px;
  }

  .studio-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
    padding-top: 154px;
  }

  nav {
    justify-content: flex-start;
    font-size: 12px;
  }

  .format-grid,
  .field-grid,
  .choice-grid,
  .inline-fields {
    grid-template-columns: 1fr;
  }

  .format-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stepper {
    grid-template-columns: repeat(3, 1fr);
  }

  .studio-gallery-grid {
    grid-template-columns: 1fr;
  }

  .studio-gallery figure,
  .studio-gallery figure:first-child {
    min-height: 220px;
    grid-row: auto;
  }

  .support-media {
    min-height: 420px;
  }

  .floating-contact {
    left: 14px;
    right: 14px;
  }
}
