@font-face {
  font-family: "Sharp Sans";
  src: url("fonts/Sharp Sans Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharp Sans";
  src: url("fonts/SharpSansBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #f7d51c;
  --gold-bright: #ffe83b;
  --blue: #006dff;
  --blue-bright: #18a0ff;
  --white: #f8f9fc;
  --muted: #aeb5c5;
  --ink: #060912;
  --panel: rgba(8, 12, 23, .78);
  --line: rgba(255, 255, 255, .13);
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #02040a;
  color: var(--white);
  font-family: "Sharp Sans", Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.42) 44%, #03050b 78%, #02040a 100%),
    url("img/fondo.webp") center top / cover fixed;
}

.hero {
  position: relative;
  min-height: min(820px, 92vh);
  display: grid;
  place-items: center;
  padding: 72px 24px 100px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
 
}

.hero__content {
  width: min(920px, 100%);
  text-align: center;
  position: relative;
  z-index: 2;
  animation: rise .9s ease both;
}

.eyebrow {
  margin: 0 0 30px;
  color: rgba(255,255,255,.94);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: .025em;
}

.hero__kicker {
  margin: 48px 0 -2px;
  font-size: clamp(1.7rem, 5vw, 3.5rem);
  line-height: .95;
  letter-spacing: .03em;
  font-weight: 500;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 13vw, 8.4rem);
  line-height: .94;
  letter-spacing: .18em;
  padding-left: .18em;
  font-weight: 700;
  color: #f1f2f6;
  text-shadow: 0 0 30px rgba(255,255,255,.08);
}

.hero__message {
  margin-top: 46px;
}

.hero__message p {
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  line-height: 1.28;
  color: rgba(255,255,255,.9);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  width: min(650px, 80%);
}

.divider span {
  height: 1px;
  flex: 1;
  max-width: 260px;
}

.divider i {
  flex: 0 0 auto;
  margin: 0 18px;
  font-style: normal;
}

.divider--gold span {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px rgba(247,213,28,.5);
}

.divider--gold i {
  color: white;
  font-size: 2rem;
  text-shadow: 0 0 18px #fff, 0 0 30px var(--blue-bright);
}

.divider--lower {
  margin-top: 34px;
}

.divider--lower i {
  color: var(--gold);
  font-size: 1.6rem;
  text-shadow: 0 0 12px var(--gold);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  opacity: .3;
  z-index: -1;
}

.hero__glow--one {
  width: 320px;
  height: 320px;
  right: -120px;
  top: 18%;
  background: #006dff;
}

.hero__glow--two {
  width: 220px;
  height: 220px;
  left: -100px;
  bottom: 10%;
  background: #147dff;
}

.registration {
  width: min(1120px, calc(100% - 40px));
  margin: -45px auto 0;
  position: relative;
  z-index: 5;
  padding-bottom: 100px;
}

.registration__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  margin-bottom: 14px;
}

.registration__intro h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.registration__intro h2 strong {
  color: var(--gold);
}

.registration__intro p {
  margin: 20px auto 0;
  max-width: 600px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.event-card {
  display: flex;
  align-items: stretch;
  width: min(820px, 100%);
  margin: 0 auto 24px;
  border: 1px solid rgba(247,213,28,.24);
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(14,18,31,.9), rgba(6,10,20,.68));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.event-card__date {
  min-width: 185px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(247,213,28,.14), rgba(247,213,28,.025));
  border-right: 1px solid rgba(247,213,28,.18);
}

.event-card__day {
  font-size: 4rem;
  line-height: .85;
  font-weight: 700;
  color: var(--gold);
}

.event-card__month {
  margin-top: 10px;
  font-size: .8rem;
  letter-spacing: .22em;
}

.event-card__year {
  color: var(--muted);
  font-size: .85rem;
  margin-top: 4px;
}

.event-card__details {
  padding: 28px 34px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.event-card__details h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.event-card__details p {
  margin: 7px 0 15px;
  color: var(--muted);
}

.event-card__status {
  width: fit-content;
  border: 1px solid rgba(0,109,255,.4);
  color: #68b5ff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .62rem;
  letter-spacing: .17em;
}

.form-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.form-card__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.form-card__header h3 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.required-note {
  color: #8d95a7;
  font-size: .72rem;
}

.required-note span,
.field label span,
fieldset legend span {
  color: var(--gold);
}

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

.field {
  min-width: 0;
}

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

.field label,
.radio-field legend {
  display: block;
  margin-bottom: 8px;
  color: #e9ebf1;
  font-size: .84rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.045);
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}

.field input:focus {
  border-color: rgba(0, 144, 255, .8);
  background: rgba(0, 109, 255, .07);
  box-shadow: 0 0 0 4px rgba(0,109,255,.1);
}

.field input[aria-invalid="true"] {
  border-color: #ff6575;
}

.radio-field {
  border: 0;
  padding: 0;
  margin: 0;
}

.radio-field legend {
  padding: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice {
  position: relative;
  min-height: 52px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: #e7e9ef !important;
  cursor: pointer;
  transition: .2s ease;
}

.choice:hover {
  border-color: rgba(0,109,255,.5);
  background: rgba(0,109,255,.06);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__visual {
  width: 17px;
  height: 17px;
  border: 1px solid #70798b;
  border-radius: 50%;
  position: relative;
}

.choice input:checked + .choice__visual {
  border-color: var(--gold);
}

.choice input:checked + .choice__visual::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.choice:has(input:checked) {
  border-color: rgba(247,213,28,.55);
  background: rgba(247,213,28,.06);
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  color: #aeb5c5 !important;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
}

.checkmark {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid #697285;
  border-radius: 5px;
  position: relative;
  transition: .2s;
}

.consent input:checked + .checkmark {
  border-color: var(--gold);
  background: var(--gold);
}

.consent input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #07090f;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent a {
  color: #64b4ff;
  text-underline-offset: 3px;
}

.consent strong {
  color: var(--gold);
}

.field-error {
  display: block;
  min-height: 15px;
  margin-top: 5px;
  color: #ff7584;
  font-size: .7rem;
}

.submit-button {
  width: 100%;
  min-height: 58px;
  margin-top: 5px;
  border: 0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  color: #05070d;
  background: linear-gradient(100deg, var(--gold), #ffe65c);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .83rem;
  box-shadow: 0 12px 35px rgba(247,213,28,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-120%);
  transition: transform .65s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 42px rgba(247,213,28,.25);
}

.submit-button:hover::before {
  transform: translateX(120%);
}

.submit-button__arrow {
  font-size: 1.4rem;
  line-height: 1;
}

.spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(0,0,0,.2);
  border-top-color: #05070d;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.submit-button.is-loading .submit-button__label,
.submit-button.is-loading .submit-button__arrow {
  display: none;
}

.submit-button.is-loading .spinner {
  display: block;
}

.form-status {
  margin: 15px 0 0;
  text-align: center;
  font-size: .86rem;
  line-height: 1.45;
}

.form-status.success {
  color: #a9efcf;
}

.form-status.error {
  color: #ff9da8;
}

.brand-strip {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 75px;
}

.brand-strip__line {
  height: 1px;
  margin-bottom: 36px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 7vw, 90px);
}

.logos img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 54px;
  object-fit: contain;
  opacity: .92;
}

.footer {
  padding: 0 20px 42px;
  text-align: center;
  color: #667086;
  font-size: .65rem;
  letter-spacing: .22em;
}

.footer p {
  margin: 18px 0 0;
}

.footer p span {
  color: var(--gold);
}

.divider--blue span {
  background: linear-gradient(90deg, transparent, rgba(0,109,255,.8), transparent);
}

.divider--blue i {
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 0 0 15px var(--blue-bright);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .page-shell {
    background:
      linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.52) 45%, #03050b 78%, #02040a 100%),
      url("img/fondo.webp") center top / auto 100% fixed;
  }

  .hero {
    min-height: 700px;
    padding-top: 60px;
  }

  h1 {
    letter-spacing: .12em;
    padding-left: .12em;
  }

  .hero__kicker {
    margin-top: 38px;
  }

  .registration {
    width: min(100% - 24px, 620px);
    margin-top: -35px;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card__date {
    min-width: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(247,213,28,.18);
  }

  .event-card__day {
    font-size: 3.2rem;
  }

  .event-card__details {
    text-align: center;
    align-items: center;
    padding: 25px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .form-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .logos {
    flex-wrap: wrap;
    gap: 28px 34px;
  }

  .logos img {
    max-width: 155px;
    max-height: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
