/* ==========================================================================
   Auckland — El viaje de crecer · Preinscripción
   ========================================================================== */

:root {
  --c-navy:        #0B1E47;
  --c-navy-deep:   #061536;
  --c-navy-soft:   #14306A;
  --c-accent:      #2F8DE5;
  --c-accent-soft: #6BA8E8;
  --c-light:       #EAF1F8;
  --c-white:       #FFFFFF;
  --c-muted:       #B8C9DD;
  --c-text-dark:   #0B1E47;
  --c-text-body:   #2A3D62;
  --c-warning-bg:  #FFF6D6;
  --c-warning-bd:  #E0B400;
  --c-warning-tx:  #6B4A00;
  --c-success:     #1FA37A;
  --c-error-bg:    #FFE5E5;
  --c-error-bd:    #D33;
  --c-error-tx:    #8B1F1F;

  --shadow-card: 0 12px 40px rgba(11, 30, 71, .14);
  --shadow-cta:  0 8px 24px rgba(47, 141, 229, .35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --container: 720px;
  --container-narrow: 540px;

  font-family: 'Mulish', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

[hidden] { display: none !important; }

body {
  background: var(--c-light);
  color: var(--c-text-body);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--container-narrow); }

/* HERO ====================================================================== */

.hero {
  position: relative;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 56px 0 48px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 141, 229, .18), transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(47, 141, 229, .12), transparent 60%),
    var(--c-navy);
}

.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(107, 168, 232, .15);
  border-radius: 50%;
  pointer-events: none;
}

.hero__bg::before {
  width: 520px; height: 520px;
  bottom: -260px; right: -120px;
  border-width: 38px;
  border-color: rgba(107, 168, 232, .08);
}

.hero__bg::after {
  width: 360px; height: 360px;
  top: -120px; left: -160px;
  border-width: 28px;
  border-color: rgba(107, 168, 232, .07);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.brand__logo {
  display: block;
  width: 117px;
  height: auto;
}

.brand__logo--footer {
  width: 101px;
  margin: 0 auto;
}

.hero__urgent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 7px 16px;
  background: rgba(47, 141, 229, 0.14);
  border: 1px solid rgba(107, 168, 232, 0.55);
  border-radius: 999px;
  color: var(--c-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__urgent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(47, 141, 229, 0.28);
  animation: urgent-pulse 1.8s ease-in-out infinite;
}

@keyframes urgent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 141, 229, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 141, 229, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__urgent-dot { animation: none; }
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  font-weight: 700;
  margin: 0 0 10px;
}

.hero__title {
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--c-white);
  letter-spacing: -.01em;
}

.hero__subtitle {
  font-size: clamp(18px, 3.2vw, 22px);
  font-weight: 600;
  margin: 0 0 32px;
  color: var(--c-light);
  line-height: 1.35;
}

.hero__photo {
  margin: 0 auto 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 460px;
}

.hero__photo img { width: 100%; }

.hero__lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 32px;
  color: var(--c-light);
  max-width: 540px;
  text-align: justify;
  text-align-last: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero__cta {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

/* SECTIONS ================================================================== */

.section { padding: 56px 0; }

.section--light { background: var(--c-light); color: var(--c-text-body); }
.section--dark  { background: var(--c-navy); color: var(--c-light); }
.section--form  { background: var(--c-light); color: var(--c-text-body); padding-top: 48px; padding-bottom: 80px; }

.section__title {
  font-size: clamp(26px, 4.5vw, 32px);
  font-weight: 800;
  color: var(--c-text-dark);
  margin: 0 0 24px;
  letter-spacing: -.01em;
  text-align: center;
}

.section--dark .section__title { color: var(--c-white); }

.section__title--accent { color: var(--c-white); }

.section__subtitle {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-accent-soft);
  margin: 32px 0 12px;
  letter-spacing: -.005em;
  text-align: center;
}

.section--light .section__subtitle { color: var(--c-text-dark); }

.lead {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 auto 16px;
  max-width: 620px;
  text-align: justify;
  text-align-last: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.section--dark .lead { color: var(--c-light); }

/* EVENT INFO =============================================================== */

.event-info {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: grid;
  gap: 12px;
  font-size: 18px;
  width: max-content;
  max-width: 100%;
}

.event-info li { display: flex; align-items: center; gap: 12px; }

.event-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 10px;
  font-size: 18px;
}

.event-info__free {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-accent);
  margin: 16px 0 4px;
  text-align: center;
}

.event-info__donation {
  margin: 0 auto;
  font-size: 15px;
  color: var(--c-text-body);
  text-align: justify;
  text-align-last: center;
  word-break: keep-all;
  overflow-wrap: normal;
  max-width: 480px;
}

.pickup-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px auto 16px;
  max-width: 520px;
  background: linear-gradient(135deg, #FFF6D6 0%, #FFE7A6 100%);
  border: 2px solid #FFB100;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--c-text-dark);
  box-shadow: 0 6px 18px rgba(255, 156, 0, .18);
  transition: transform .15s ease, box-shadow .2s ease;
}

.pickup-callout:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 156, 0, .26);
}

.pickup-callout:active { transform: translateY(0); }

.pickup-callout__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.pickup-callout__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}

.pickup-callout__text strong {
  font-weight: 800;
  font-size: 14px;
  color: var(--c-text-dark);
}

.pickup-callout__sub {
  font-size: 13px;
  color: var(--c-text-body);
  margin-top: 2px;
}

.pickup-callout__cta {
  font-size: 12px;
  font-weight: 800;
  color: #B57600;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .pickup-callout { flex-wrap: wrap; }
  .pickup-callout__cta {
    flex-basis: 100%;
    text-align: center;
    border-top: 1px dashed rgba(181, 118, 0, .3);
    padding-top: 8px;
    margin-top: 4px;
  }
}

.event-info__adults {
  margin: 24px auto 0;
  max-width: 520px;
  background: var(--c-warning-bg);
  border-left: 5px solid var(--c-warning-bd);
  color: var(--c-warning-tx);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  word-break: keep-all;
  overflow-wrap: normal;
}

.ticket-pickup {
  margin: 32px auto 0;
  max-width: 540px;
  background: var(--c-white);
  border: 2px solid #FFB100;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(255, 156, 0, .14);
  position: relative;
}

.ticket-pickup::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px;
  height: 6px;
  background: linear-gradient(90deg, #FF8A00, #FFB100, #FFD93D);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.ticket-pickup__title {
  margin: 6px 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--c-text-dark);
  letter-spacing: .01em;
  text-align: center;
}

.ticket-pickup__intro {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text-body);
  text-align: justify;
  text-align-last: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.ticket-pickup__intro strong { color: var(--c-text-dark); }

.ticket-pickup__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--c-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--c-text-dark);
  line-height: 1.4;
  text-align: center;
}

.ticket-pickup__address-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.ticket-pickup__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: var(--c-text-body);
}

.ticket-pickup__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(11, 30, 71, .08);
}

.ticket-pickup__list li:last-child { border-bottom: none; }

.ticket-pickup__list strong {
  color: var(--c-text-dark);
  font-weight: 800;
}

.success__pickup {
  margin: 16px auto 0;
  max-width: 380px;
  text-align: left;
  background: var(--c-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.success__pickup-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-text-dark);
  text-align: center;
}

.success__pickup-where {
  margin: 0 0 10px;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
  color: var(--c-text-dark);
}

.success__pickup ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.success__pickup li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* TOPICS =================================================================== */

.topics {
  list-style: none;
  padding: 0;
  margin: 0 auto 16px;
  display: grid;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}

.topics li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
}

.topics li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 14px;
  border: 3px solid var(--c-accent);
  border-radius: 50%;
}

/* BUTTONS ================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover { background: #1F7DD5; }

.btn--primary:disabled {
  background: #6FAEDC;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--block { width: 100%; }

.btn__spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: var(--c-white);
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}

.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .7; }

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

/* FORM ===================================================================== */

.preferencial-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #FFF6D6 0%, #FFE9A1 100%);
  border: 1.5px solid var(--c-warning-bd);
  color: var(--c-warning-tx);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(224, 180, 0, .18);
}

.preferencial-banner__star {
  font-size: 28px;
  line-height: 1;
  color: #B8860B;
  flex-shrink: 0;
}

.preferencial-banner__text { display: grid; gap: 2px; }

.preferencial-banner__sub {
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
}

.notice {
  background: var(--c-warning-bg);
  border-left: 5px solid var(--c-warning-bd);
  color: var(--c-warning-tx);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero__note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 500;
  letter-spacing: .01em;
  opacity: .85;
}

.form { display: grid; gap: 18px; }

.form__section-label {
  margin: 0 0 -6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-body);
  text-align: center;
}

.responsable2 { display: grid; gap: 14px; }

.btn-add-responsable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  color: var(--c-accent);
  border: 1.5px dashed var(--c-accent);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.btn-add-responsable:hover {
  background: rgba(47, 141, 229, .08);
}

.btn-add-responsable__plus {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.responsable2__fields {
  border: 1.5px solid var(--c-border, #C8D3E2);
  border-radius: var(--radius-md);
  padding: 16px 18px 18px;
  margin: 0;
  background: rgba(47, 141, 229, .04);
  display: grid;
  gap: 14px;
}

.responsable2__fields[hidden] { display: none; }

.responsable2__legend {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-text-dark);
  letter-spacing: .04em;
  padding: 0 8px;
}

.btn-remove-responsable {
  justify-self: start;
  background: transparent;
  border: none;
  color: var(--c-error-bd, #D33);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 0;
  cursor: pointer;
  text-decoration: underline;
}

.btn-remove-responsable:hover { color: #A11; }

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

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-dark);
}

.req { color: var(--c-error-bd); margin-left: 2px; }

.field input {
  font-family: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid #C8D3E2;
  border-radius: var(--radius-sm);
  background: var(--c-white);
  color: var(--c-text-dark);
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}

.field input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(47, 141, 229, .18);
}

.field input.is-invalid {
  border-color: var(--c-error-bd);
  background: #FFF7F7;
}

.field .field-error {
  font-size: 13px;
  color: var(--c-error-tx);
  margin-top: 2px;
}

.form__legal {
  font-size: 13px;
  color: #5C6B85;
  margin: 4px 0 0;
  text-align: center;
  line-height: 1.5;
}

.error-msg {
  background: var(--c-error-bg);
  border: 1px solid var(--c-error-bd);
  color: var(--c-error-tx);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 15px;
}

/* SUCCESS ================================================================== */

.success {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.success__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--c-success);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
}

.success h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--c-text-dark);
  font-weight: 800;
}

.success p {
  margin: 0 auto 12px;
  color: var(--c-text-body);
  font-size: 16px;
  max-width: 440px;
  text-align: justify;
  text-align-last: center;
  word-break: keep-all;
  overflow-wrap: normal;
}

.success__follow {
  margin-top: 18px !important;
  font-weight: 700;
  color: var(--c-text-dark) !important;
}

/* SOCIAL LINKS ============================================================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--c-light);
  color: var(--c-text-dark);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: background .15s ease, transform .15s ease;
}

.social-link:hover { background: #DDE7F2; }
.social-link:active { transform: scale(.98); }

.social-links--footer .social-link {
  background: rgba(255, 255, 255, .1);
  color: var(--c-white);
}

.social-links--footer .social-link:hover { background: rgba(255, 255, 255, .18); }

.social-link__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* FOOTER =================================================================== */

.footer {
  background: var(--c-navy-deep);
  color: var(--c-light);
  padding: 40px 0 32px;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 18px;
}

.footer__follow {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin: 0 0 12px;
}

.footer__legal {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--c-muted);
  opacity: .7;
}

/* RESPONSIVE =============================================================== */

@media (min-width: 720px) {
  .hero { padding: 72px 0 64px; }
  .section { padding: 72px 0; }
}

@media (min-width: 960px) {
  .hero__title { font-size: 64px; }
  .hero__subtitle { font-size: 24px; }
}
