:root {
  --navy: #081033;
  --pink: #ec0a7d;
  --display: "Barlow", sans-serif;
  --body: "Source Sans 3", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: #fff; font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ef91bf; outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -80px; left: 20px; background: var(--pink); padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }
.header { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.header img { width: 154px; height: auto; display: block; }
.back { text-decoration: none; color: #b7c2d8; font-size: 13px; }
.back:hover { color: #fff; }
.layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.intro { position: relative; min-height: 620px; isolation: isolate; overflow: hidden; }
.intro-content { position: relative; z-index: 2; min-height: 620px; display: flex; flex-direction: column; padding-bottom: 22px; }
h1 { font-family: var(--display); font-size: clamp(44px, 5vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: -1.2px; margin: 0 0 13px; }
.lead { font-size: 18px; line-height: 1.45; font-weight: 400; margin: 0 0 22px; color: #d1d9e8; }
.event-meta { font-size: 15px; line-height: 1.5; color: #e7ebf3; }
.event-meta time { font-weight: 600; }
.event-meta p { margin: 4px 0 0; color: #bdc9df; }
.event-meta p > span[aria-hidden] { margin-inline: 7px; }
.activity-notes { margin-top: 14px; font-size: 13px; line-height: 1.4; color: #c7d2e5; }
.activity-notes p { margin: 3px 0; }
.leader-block { display: flex; align-items: center; gap: 13px; margin-top: 26px; }
.leader-portrait { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; border: 1px solid #ffffff32; }
.leader-block p { margin: 0; }
.leader-label { display: block; font-size: 12px; line-height: 1.4; color: #b9c6de; margin-bottom: 3px; }
.leader-block strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; }
.meeting { margin-top: auto; padding-top: 25px; max-width: 360px; }
.detail-label { display: block; font-size: 12px; color: #bcc8de; }
.meeting p { margin: 5px 0 2px; font-size: 14px; line-height: 1.4; }
.meeting small { color: #aab8d0; font-size: 12px; line-height: 1.4; }
.photo {
  position: absolute;
  inset: 0 -22px -18px -12px;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--navy) 0%, rgba(8,16,51,.79) 8%, rgba(8,16,51,.43) 48%, rgba(8,16,51,.22) 84%, var(--navy) 100%),
    linear-gradient(180deg, var(--navy) 0%, rgba(8,16,51,.54) 24%, rgba(8,16,51,.06) 51%, rgba(8,16,51,.22) 70%, var(--navy) 100%),
    url('/assets/socialrun/socialrun-teatro-biobio-explanada-20261110.webp') center 45% / cover no-repeat;
}
.signup { background: #fcfcfd; color: #0b1648; border-radius: 15px; padding: 30px 32px 24px; margin-top: 0; border: 1px solid #e6eaf1; }
h2 { font-family: var(--display); font-size: 27px; line-height: 1.15; letter-spacing: -.4px; font-weight: 600; margin: 0 0 8px; }
.card-intro { color: #657087; font-size: 14px; line-height: 1.45; margin: 0 0 23px; }
.field { margin-bottom: 16px; min-width: 0; }
.field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input { display: block; width: 100%; min-height: 45px; border: 1px solid #d9dfe9; border-radius: 7px; padding: 10px 12px; background: #fff; color: #0b1648; font-size: 16px; }
.field input:focus { border-color: var(--pink); outline: 2px solid #ec0a7d1b; }
.field input::placeholder { color: #8a93a4; font-weight: 400; }
.field small { font-size: 11px; color: #707b91; display: block; margin-top: 4px; }
.field-row { display: flex; gap: 14px; }
.age { flex: 0 0 79px; }
.phone { flex: 1; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; color: #647087; cursor: pointer; margin: 15px 0; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--pink); flex-shrink: 0; }
.check a { color: #334363; }
.check small { font-size: 11px; }
.training-option { margin-block: 16px; border-top: 1px solid #e6eaf1; padding-top: 13px; }
.training-option summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #334363; }
.training-option summary span { color: #7a8497; font-size: 11px; font-weight: 400; margin-left: 5px; }
.training-option .check { margin-bottom: 4px; }
.submit { border: 0; background: var(--pink); color: #fff; width: 100%; min-height: 48px; padding: 12px 18px; border-radius: 7px; font-size: 15px; font-weight: 600; transition: background .2s; }
.submit:hover { background: #d00970; }
.status { font-size: 13px; line-height: 1.45; color: #a10d55; margin: 14px 0; }
.status:empty { margin: 0; }
.footnote { margin: 14px 0 0; text-align: center; color: #7a8497; font-size: 11px; line-height: 1.4; }
.retry { border: 0; background: transparent; color: #bc0964; padding: 12px 0; text-decoration: underline; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { padding-block: 8px; }
.success-mark { display: grid; place-items: center; border-radius: 50%; width: 38px; height: 38px; background: #f8eaf1; color: var(--pink); font-size: 21px; margin-bottom: 21px; }
.card-eyebrow { color: #ad205f; font-size: 10px; letter-spacing: 1.5px; font-weight: 600; margin: 0 0 12px; }
.success > p { line-height: 1.5; color: #657087; font-size: 14px; }
.success > .card-eyebrow { color: #ad205f; font-size: 10px; }
.success > .whatsapp-intro { margin-bottom: 12px; }
.whatsapp-group { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.secondary { width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid #d9dfe9; border-radius: 7px; background: transparent; color: #334363; font-size: 14px; font-weight: 600; }
.secondary:hover { background: #f0f3f8; }
.success-details { display: grid; gap: 7px; border-block: 1px solid #e6eaf1; padding: 18px 0; margin: 23px 0; font-size: 14px; }
.home-link { display: block; text-align: center; margin: 19px 0 0; font-size: 13px; color: #556078; }
.footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff12; padding-block: 21px; color: #8999b7; font-size: 11px; }
.footer > span { font-family: var(--display); font-weight: 500; letter-spacing: 1.5px; font-size: 10px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .layout { gap: 32px; }
  .signup { padding: 26px 24px 22px; }
  .intro, .intro-content { min-height: 610px; }
  h1 { font-size: 48px; }
  .lead { font-size: 17px; }
  .leader-block { gap: 10px; }
  .leader-block strong { font-size: 16px; }
  .field-row { gap: 10px; }
  .age { flex-basis: 68px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 78px; }
  .header img { width: 140px; }
  .back { font-size: 12px; }
  .layout { display: block; padding-top: 17px; padding-bottom: 28px; }
  .intro, .intro-content { min-height: 555px; }
  .intro-content { padding-bottom: 18px; }
  h1 { font-size: 44px; margin-bottom: 10px; letter-spacing: -.8px; }
  .lead { font-size: 16px; margin-bottom: 18px; }
  .event-meta { font-size: 14px; }
  .leader-block { margin-top: 20px; gap: 12px; }
  .leader-portrait { width: 52px; height: 52px; flex-basis: 52px; }
  .leader-block strong { font-size: 16px; }
  .photo { inset: 0 -20px -5px; background-position: center 45%; }
  .meeting { padding-top: 22px; }
  .signup { margin-top: 22px; border-radius: 13px; padding: 25px 23px 23px; }
  h2 { font-size: 26px; }
  .field-row { gap: 13px; }
  .age { flex-basis: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
