/* Trading Latam · Paula Li
   Un solo sistema tipográfico, superficies claras y acentos azules. */

:root {
  --font-sans: "Manrope";
  --navy: #10233f;
  --navy-deep: #09182d;
  --blue: #1769e0;
  --blue-dark: #1055b8;
  --blue-bright: #2f7bea;
  --blue-soft: #eaf2ff;
  --paper: #fbfcfe;
  --surface: #f2f6fb;
  --line: #d9e2ee;
  --muted: #5d6b7d;
  --white: #ffffff;
  --error: #b42318;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
  --shell: min(1220px, 100% - 2.5rem);
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

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

.ui-icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  display: inline-block;
  stroke-width: 1.8;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-sans), system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  margin: 0;
  max-width: 68ch;
}

.chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #b9d2f8;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.chip .ui-icon {
  margin-right: 0.15rem;
  font-size: 1.1rem;
}

.chip--quiet {
  border-color: var(--line);
  background: var(--white);
  color: var(--muted);
}

.framed {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.framed::after {
  content: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--navy-deep);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

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

.link-out {
  display: inline-block;
  margin-top: 1.5rem;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  font-weight: 700;
}

.link-out::after {
  content: " ↗";
}

/* Barra superior */

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--navy-deep);
  color: var(--white);
}

.topbar__inner {
  width: var(--shell);
  min-height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar__brand img {
  width: 148px;
  height: auto;
}

.topbar__right,
.topbar__sponsor {
  display: flex;
  align-items: center;
}

.topbar__right {
  gap: 1.5rem;
}

.topbar__sponsor {
  gap: 0.7rem;
  color: #b9c8d8;
  font-size: 0.7rem;
  font-weight: 600;
}

.topbar__sponsor img {
  width: 108px;
  height: auto;
}

.topbar__cta {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 700;
}

.topbar__cta:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-deep);
}

/* Portada */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  padding-block: 116px 3.5rem;
  display: flex;
  align-items: center;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 88px 0 0 56%;
  background: var(--blue-soft);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero__copy {
  max-width: 36rem;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
}

.hero__lead strong {
  color: var(--navy);
  font-weight: 700;
}

.hero__when {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}

.hero__when strong {
  color: var(--navy);
  font-weight: 800;
}

.hero__detail {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__detail .ui-icon {
  color: var(--blue);
  font-size: 1.05rem;
}

.hero__panel {
  max-width: 31rem;
  margin-top: 1.35rem;
}

.hero__portrait {
  width: 100%;
  max-width: 440px;
  margin: 0;
  aspect-ratio: 4 / 5;
  justify-self: end;
  box-shadow: var(--shadow);
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero__portrait figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  padding: 0.8rem 1rem;
  border-radius: 9px;
  background: rgba(9, 24, 45, 0.9);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero__portrait figcaption strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.hero__portrait figcaption span {
  color: #c5d2df;
  font-size: 0.7rem;
}

/* Formulario */

.reg {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(16, 35, 63, 0.1);
}

.reg__head {
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.reg__kicker {
  margin-bottom: 0.35rem;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.reg__pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
}

.reg__title {
  color: var(--navy-deep);
  font-size: 1.4rem;
}

.reg__fields {
  display: grid;
  gap: 0.75rem;
}

.reg__field {
  display: grid;
  gap: 0.3rem;
  max-width: none;
}

.reg__field label {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.reg__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 0.85rem;
  border: 1px solid #c8d4e1;
  border-radius: 9px;
  background: var(--paper);
  color: var(--navy-deep);
  font-size: 0.96rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.reg__field input::placeholder {
  color: #8391a3;
}

.reg__field input:hover {
  border-color: #94a7bb;
}

.reg__field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.14);
}

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

.reg__error {
  color: var(--error);
  font-size: 0.78rem;
}

.reg__consent-wrap {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.reg__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  cursor: pointer;
}

.reg__consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
}

.reg__consent input:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.2);
  outline-offset: 2px;
}

.reg__submit {
  width: 100%;
  min-height: 52px;
  margin-top: 1rem;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.reg__submit:hover:not(:disabled) {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.reg__submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.reg__assurance {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Comunidad */

.packed {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 46vw, 660px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--navy-deep);
}

.packed::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 19, 43, 0.06) 0%,
    rgba(5, 19, 43, 0.18) 38%,
    rgba(5, 19, 43, 0.84) 67%,
    rgba(5, 19, 43, 0.98) 100%
  );
}

.packed__photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.packed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.packed__copy {
  position: relative;
  z-index: 1;
  width: var(--shell);
  min-height: clamp(500px, 46vw, 660px);
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  align-content: center;
  column-gap: clamp(2rem, 6vw, 6rem);
}

.packed__copy > * {
  grid-column: 2;
}

.packed__copy h2 {
  color: var(--white);
}

.packed__copy p {
  margin-top: 1.2rem;
  color: #d5e0ec;
}

.learn__grid p,
.speaker__copy > p,
.venue__head p,
.where__card p,
.faq details p {
  color: var(--muted);
}

.packed__copy .btn,
.where__card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.packed__copy .btn {
  justify-self: start;
  margin-top: 1.8rem;
  background: var(--white);
  color: var(--navy-deep);
}

.packed__copy .btn:hover {
  background: #e8f0f8;
}

/* Aprendizajes */

.learn,
.agenda,
.faq {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.learn,
.agenda {
  background: var(--surface);
}

.learn__inner,
.agenda__inner,
.fit__inner,
.faq__inner {
  width: var(--shell);
  margin-inline: auto;
}

.learn__inner h2,
.fit__inner h2,
.agenda__inner h2,
.faq__inner h2 {
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.learn__inner h2 {
  max-width: 22ch;
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.learn__grid article {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.learn__icon {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 1.75rem;
  stroke-width: 1.65;
}

.learn__grid p {
  margin-top: 0.65rem;
  font-size: 0.96rem;
}

/* Speaker */

.speaker,
.fit {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--paper);
}

.speaker__inner {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.speaker__photo {
  width: 100%;
  max-width: 380px;
  margin: 0;
  aspect-ratio: 2 / 3;
  justify-self: end;
  box-shadow: var(--shadow);
}

.speaker__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.speaker__copy h2 span {
  display: block;
  margin-top: 0.6rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.speaker blockquote {
  max-width: 25ch;
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--blue);
  color: var(--navy-deep);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* Audiencia */

.fit {
  border-top: 1px solid var(--line);
}

.fit__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.fit__col {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fit__col h3 {
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.fit__col--yes h3 {
  color: var(--blue-dark);
}

.fit__col--no h3,
.fit__col--no li {
  color: var(--muted);
}

.fit__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.fit__col li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.5;
}

.fit__col li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.fit__col--yes li::before {
  content: "✓";
  color: var(--blue);
}

.fit__col--no li::before {
  content: "×";
  color: #7b8999;
}

/* Programa */

.agenda__track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #bfcddd;
}

.agenda__track li {
  position: relative;
  padding: 1.75rem 1.25rem 0 0;
}

.agenda__track li + li {
  padding-left: 1.4rem;
  border-left: 1px solid #cbd6e2;
}

.agenda__track li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.agenda__track li + li::before {
  left: 1.4rem;
}

.agenda__track time {
  display: block;
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.agenda__track strong,
.agenda__track span {
  display: block;
}

.agenda__track strong {
  margin-top: 0.65rem;
  font-size: 1rem;
}

.agenda__track span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.87rem;
}

/* Lugar */

.venue {
  width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(4.5rem, 9vw, 7.5rem) 3rem;
}

.venue__head {
  max-width: 48rem;
  margin-bottom: 2.5rem;
  display: grid;
  gap: 0.8rem;
}

.venue__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-auto-rows: clamp(300px, 32vw, 420px);
  gap: 0.75rem;
}

.venue__photo {
  margin: 0;
}

.venue__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 80%;
}

.venue__photo figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 2.5rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(9, 24, 45, 0.86), transparent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.where {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 0 clamp(4.5rem, 9vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.where__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.where__card h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.where__card h2 .ui-icon {
  color: var(--blue);
  font-size: 0.82em;
}

.where__card .btn .ui-icon {
  margin-left: 0.55rem;
}

.where__card address {
  display: grid;
  gap: 0.25rem;
  color: var(--navy-deep);
  font-style: normal;
  font-weight: 800;
}

.where__card address span {
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 500;
}

.where__map {
  height: clamp(360px, 30vw, 430px);
  box-shadow: var(--shadow);
}

.where__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

/* Sponsor */

.sponsor {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--navy-deep);
  color: var(--white);
}

.sponsor__inner {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.sponsor .chip {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd8e6;
}

.sponsor__copy h2 {
  margin-bottom: 1.3rem;
}

.sponsor__copy h2 img {
  width: clamp(190px, 22vw, 250px);
  height: auto;
}

.sponsor__copy p {
  color: #b9c8d8;
}

.sponsor__pending {
  margin-top: 1.1rem;
  padding-left: 1rem;
  border-left: 2px solid #7eb1f4;
  color: var(--white) !important;
}

.sponsor__facts {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor__facts div {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.sponsor__facts dt {
  color: #a9bbcd;
  font-size: 0.72rem;
}

.sponsor__facts dd {
  margin: 0;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: right;
}

/* Preguntas y cierre */

.faq {
  background: var(--white);
}

.faq__inner h2 {
  max-width: 18ch;
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  color: var(--navy-deep);
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--blue);
  font-size: 1.3rem;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding-bottom: 1.4rem;
  font-size: 0.95rem;
}

.close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--navy-deep);
  color: var(--white);
}

.close::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 19, 43, 0.98) 0%,
    rgba(5, 19, 43, 0.94) 34%,
    rgba(5, 19, 43, 0.7) 56%,
    rgba(5, 19, 43, 0.26) 100%
  );
}

.close__background {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: min(72%, 1080px);
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.close__inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.close__copy {
  max-width: 44rem;
}

.close h2 {
  color: var(--white);
}

.close__lead {
  margin-top: 1.2rem;
  color: #d5e0ec;
  font-size: 1.04rem;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.close .countdown {
  margin-top: 1.7rem;
}

.close .countdown__label {
  color: #d5e0ec;
}

.close .countdown__unit {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.countdown__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.countdown__units {
  display: flex;
  gap: 0.45rem;
}

.countdown__unit {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #c6d7ea;
  border-radius: 8px;
  background: var(--white);
}

.countdown__unit b {
  color: var(--navy-deep);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.countdown__unit i {
  color: var(--muted);
  font-style: normal;
  font-size: 0.68rem;
}

.close__cta {
  min-height: 56px;
  margin-top: 1.8rem;
  background: var(--white);
  color: var(--navy-deep);
}

.close__cta:hover {
  background: #e8f0f8;
}

/* Pie y acción fija */

.footer {
  padding-block: 3rem calc(3rem + 68px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  color: #aebfd0;
}

.footer__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.footer__inner img {
  width: 130px;
  height: auto;
  opacity: 0.9;
}

.footer__inner p {
  flex: 1 1 22rem;
  font-size: 0.8rem;
}

.footer__inner a {
  border-bottom: 1px solid currentColor;
  color: var(--white);
  font-size: 0.82rem;
}

.stickybar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 24, 45, 0.96);
  color: var(--white);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  backdrop-filter: blur(12px);
}

.stickybar.is-visible {
  transform: translateY(0);
}

.stickybar__inner {
  width: var(--shell);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.stickybar__meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: #b8c8d8;
  font-size: 0.84rem;
}

.stickybar__meta strong {
  color: var(--white);
}

.stickybar__cta {
  min-height: 46px;
  padding: 0 1.3rem;
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.stickybar__cta:hover {
  background: var(--blue-bright);
}

/* Confirmación */

.thank-you-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  color: var(--navy);
}

.thank-you-grid {
  position: absolute;
  inset: 88px 0 0;
  pointer-events: none;
  background-image: linear-gradient(#e5edf6 1px, transparent 1px),
    linear-gradient(90deg, #e5edf6 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.thank-you-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.thank-you-header {
  position: relative;
  z-index: 2;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 0 0 100vmax var(--navy-deep);
  clip-path: inset(0 -100vmax);
}

.thank-you-brand {
  width: 156px;
  height: auto;
}

.thank-you-sponsor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.65rem 0.4rem 0.85rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
}

.thank-you-sponsor img {
  width: 138px;
  height: 38px;
  object-fit: contain;
}

.thank-you-layout {
  position: relative;
  z-index: 1;
  padding-block: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.thank-you-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.thank-you-status span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.thank-you-kicker {
  margin-bottom: 0.65rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.thank-you-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.thank-you-lead {
  margin: 1.6rem 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.whatsapp-button {
  width: min(480px, 100%);
  min-height: 62px;
  padding: 0 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.whatsapp-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.thank-you-privacy {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.thank-you-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-date {
  position: absolute;
  z-index: 3;
  top: 1.5rem;
  left: 1.5rem;
  width: 112px;
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
}

.thank-you-date span {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.thank-you-date strong {
  margin-block: -0.25rem;
  font-size: 3.8rem;
  line-height: 1;
}

.thank-you-event-copy {
  position: relative;
  z-index: 2;
  padding: 11.5rem 2rem 2rem;
}

.thank-you-event-copy > p {
  margin-bottom: 0.4rem;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.thank-you-event-copy h2 {
  max-width: 360px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.thank-you-event-copy dl {
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.thank-you-event-copy dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.75rem;
}

.thank-you-event-copy dt {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.thank-you-event-copy dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.thank-you-speaker {
  position: absolute;
  right: -50px;
  bottom: -48px;
  width: 250px;
  height: 355px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 150px 150px 0 0;
}

.thank-you-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.thank-you-benefits article {
  padding: 1.7rem 1.7rem 1.7rem 0;
}

.thank-you-benefits article + article {
  padding-left: 1.7rem;
  border-left: 1px solid var(--line);
}

.thank-you-benefits span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
}

.thank-you-benefits strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.thank-you-benefits p {
  color: var(--muted);
  font-size: 0.74rem;
}

.thank-you-footer {
  position: relative;
  z-index: 1;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.thank-you-footer a {
  color: var(--navy);
  font-weight: 800;
}

/* Movimiento */

@media (prefers-reduced-motion: no-preference) {
  @keyframes enter-up {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }

  .hero .chip,
  .hero h1,
  .hero__lead,
  .hero__when,
  .hero__panel,
  .hero__portrait {
    animation: enter-up 0.75s var(--ease) backwards;
  }

  .hero h1 {
    animation-delay: 0.05s;
  }

  .hero__lead,
  .hero__portrait {
    animation-delay: 0.12s;
  }

  .hero__when,
  .hero__panel {
    animation-delay: 0.2s;
  }
}

/* Responsive */

@media (max-width: 1000px) {
  .topbar__cta {
    display: inline-flex;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    inset: 88px 0 0 50%;
  }

  .hero__inner,
  .speaker__inner,
  .where,
  .sponsor__inner,
  .thank-you-layout {
    grid-template-columns: 1fr;
  }

  .hero__portrait,
  .speaker__photo {
    max-width: 420px;
  }

  .packed__copy {
    grid-template-columns: minmax(0, 0.7fr) minmax(330px, 1fr);
  }

  .venue__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .venue__photo:first-child {
    grid-column: span 2;
  }

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

  .agenda__track li:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .agenda__track li:nth-child(2n + 1)::before {
    left: 0;
  }

  .agenda__track li:nth-child(n + 3) {
    margin-top: 1.5rem;
    border-top: 1px solid #cbd6e2;
  }

  .thank-you-panel {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1220px, 100% - 1.75rem);
  }

  html {
    scroll-padding-top: 72px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .topbar__inner {
    min-height: 72px;
  }

  .topbar__brand img {
    width: 118px;
  }

  .topbar__sponsor {
    display: none;
  }

  .hero {
    padding-block: 94px 3rem;
  }

  .hero::before {
    inset: 72px 0 auto;
    height: 34%;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }

  .hero__portrait {
    max-width: 100%;
  }

  .reg {
    padding: 1.2rem;
  }

  .packed {
    min-height: 620px;
  }

  .packed::after {
    background: linear-gradient(
      180deg,
      rgba(5, 19, 43, 0.05) 0%,
      rgba(5, 19, 43, 0.26) 36%,
      rgba(5, 19, 43, 0.9) 68%,
      rgba(5, 19, 43, 0.99) 100%
    );
  }

  .packed__photo img {
    object-position: 48% 50%;
  }

  .packed__copy {
    min-height: 620px;
    padding-block: 19rem 3rem;
    grid-template-columns: 1fr;
    align-content: end;
  }

  .packed__copy > * {
    grid-column: 1;
  }

  .learn__grid,
  .fit__cols,
  .faq__list,
  .thank-you-benefits {
    grid-template-columns: 1fr;
  }

  .speaker__photo {
    max-width: 340px;
  }

  .close {
    padding-block: 4rem;
  }

  .close::after {
    background: linear-gradient(
      180deg,
      rgba(5, 19, 43, 0.7) 0%,
      rgba(5, 19, 43, 0.92) 48%,
      rgba(5, 19, 43, 0.99) 100%
    );
  }

  .close__background {
    width: 100%;
    object-position: 54% 30%;
  }

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

  .agenda__track li,
  .agenda__track li + li,
  .agenda__track li:nth-child(n + 3) {
    margin-top: 0;
    padding: 1.4rem 0;
    border-top: 1px solid #cbd6e2;
    border-left: 0;
  }

  .agenda__track li:first-child {
    border-top: 0;
  }

  .agenda__track li::before,
  .agenda__track li + li::before {
    top: -5px;
    left: 0;
  }

  .venue__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .venue__photo:first-child {
    grid-column: auto;
  }

  .stickybar__meta span {
    display: none;
  }

  .thank-you-shell {
    width: min(100% - 32px, 620px);
  }

  .thank-you-header {
    min-height: 76px;
  }

  .thank-you-brand {
    width: 124px;
  }

  .thank-you-sponsor {
    padding: 0.3rem 0.5rem;
  }

  .thank-you-sponsor span {
    display: none;
  }

  .thank-you-sponsor img {
    width: 108px;
    height: 32px;
  }

  .thank-you-layout {
    padding-block: 3.5rem 3rem;
  }

  .thank-you-copy h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .thank-you-panel {
    min-height: 510px;
  }

  .thank-you-event-copy {
    padding-inline: 1.5rem;
  }

  .thank-you-event-copy h2 {
    max-width: 230px;
  }

  .thank-you-event-copy dl {
    max-width: 195px;
  }

  .thank-you-speaker {
    right: -38px;
    width: 220px;
  }

  .thank-you-benefits article,
  .thank-you-benefits article + article {
    padding: 1.3rem 0;
    border-left: 0;
  }

  .thank-you-benefits article + article {
    border-top: 1px solid var(--line);
  }

  .thank-you-footer {
    min-height: 120px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
