:root {
  --color-cyan: #4abdcf;
  --color-light-blue: #28e5ee;
  --color-purple: #5219d6;
  --color-purple-light: #6b45d9;
  --color-yellow: #f49e12;
  --color-green: #029791;
  --color-dark-blue: #1d1f3c;
  --color-ink: #ffffff;
  --color-muted: #c9d2e9;
  --color-deep: #040511;
  --color-surface: #0d1024;
  --color-card: #121633;
  --font-primary: "Montserrat", Arial, sans-serif;
  --container-max: 1080px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(64px, 7.5vw, 80px);
  --radius-card: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-deep);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--color-deep);
  background: var(--color-light-blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.event-app-page {
  min-height: 100svh;
  overflow: hidden;
  background: #050613;
}

.event-app-page--internal {
  overflow: auto;
}

.event-app {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100svh;
  min-height: 100svh;
}

.event-app-page--internal .event-app {
  height: auto;
  min-height: 100svh;
}

.event-app-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(40, 229, 238, 0.16) 0%, rgba(40, 229, 238, 0) 42%),
    linear-gradient(165deg, #029791 0%, #087f7a 44%, #1d1f3c 100%);
}

.event-app-nav__inner {
  display: flex;
  width: min(var(--container-max), calc(100% - var(--gutter) * 2));
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.event-app-nav__brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.event-app-nav__brand img {
  width: 138px;
}

.event-app-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-block: 10px;
  scrollbar-width: none;
}

.event-app-nav__links::-webkit-scrollbar {
  display: none;
}

.event-app-nav__link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #e9feff;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out);
}

.event-app-nav__toggle {
  display: none;
}

.event-app-nav__toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  border-block: 2px solid currentColor;
}

.event-app-nav__toggle-icon::before {
  position: absolute;
  inset: 3px 0 auto;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.event-app-nav__link[aria-current="page"] {
  border-color: transparent;
  color: #08211f;
  background: var(--color-yellow);
}

.event-app-nav__link.is-disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.52;
}

.event-guide-viewer {
  min-height: 0;
  background: #101226;
}

.event-guide-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #101226;
}

.event-placeholder {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(32px, 6vw, 72px) var(--gutter);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 158, 18, 0.18), transparent 36%),
    linear-gradient(145deg, #150735 0%, #050613 56%, #032b2b 100%);
}

.event-placeholder__content {
  display: grid;
  width: min(680px, 100%);
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.event-placeholder__content h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.event-placeholder__content p {
  max-width: 58ch;
  color: #dce7ff;
  font-size: 1.05rem;
}

.section-shell {
  width: min(var(--container-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.event-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 540px) minmax(0, 540px) minmax(var(--gutter), 1fr);
  overflow: hidden;
  background: url("../images/background_tonoevento2026.jpg") center/cover no-repeat;
}

.event-hero__content,
.event-hero__media {
  grid-row: 1;
  min-width: 0;
}

.event-hero__content {
  grid-column: 2;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vw, 54px);
  padding-block: clamp(40px, 6vw, 78px);
}

.event-hero__logo {
  width: clamp(190px, 22vw, 320px);
}

.event-hero__copy {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.section-kicker {
  color: var(--color-light-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-hero h1 {
  color: var(--color-yellow);
  font-size: clamp(calc(2.75rem - 9px), calc(5.4vw - 9px), calc(4.8rem - 9px));
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}

.event-hero__lead {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  color: #eef5ff;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

.event-hero__lead strong {
  color: #ffffff;
  font-size: 1.06em;
  line-height: 1.45;
}

.event-hero__media {
  grid-column: 3;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-left: auto;
  width: 100%;
  padding-right: clamp(8px, 3vw, 42px);
}

.event-hero__model {
  width: min(48vw, 580px);
  max-height: 96svh;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.45));
}

.portal-section {
  padding-block: var(--section-space);
  background:
    linear-gradient(135deg, rgba(40, 229, 238, 0.24) 0%, rgba(40, 229, 238, 0) 38%),
    linear-gradient(165deg, rgba(2, 151, 145, 0.95) 0%, rgba(2, 151, 145, 0.82) 42%, rgba(29, 31, 60, 0.98) 100%),
    #029791;
}

.journey-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-space);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 183, 22, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(26, 2, 4, 0.24) 48%, rgba(0, 0, 0, 0.34)),
    url("../images/background-hotel-serrano-jornada2027.webp") center/cover no-repeat,
    linear-gradient(155deg, #7d0808 0%, #3b0716 46%, #120516 100%);
}

.journey-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.2)),
    radial-gradient(circle at 50% 68%, rgba(146, 8, 8, 0.18), transparent 40%);
  content: "";
}

.section-heading {
  display: grid;
  max-width: 720px;
  gap: 12px;
  justify-items: center;
  margin-bottom: clamp(32px, 5vw, 58px);
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.countdown-section h2,
.split-section h2,
.northeast-section h2,
.support-section h2 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.portal-card {
  position: relative;
  display: grid;
  min-height: 214px;
  align-content: center;
  justify-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 24px 18px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, #0b4a43 0%, #072723 100%);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  transform: translateY(0);
  transition:
    transform 240ms var(--ease-out),
    background-color 240ms var(--ease-out),
    filter 240ms var(--ease-out);
}

button.portal-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-primary);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.portal-card--active {
  box-shadow: 0 10px 18px rgba(4, 21, 28, 0.16);
}

.portal-card--active::after {
  display: none;
}

.portal-card__icon-wrap {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
}

.portal-card__icon-wrap img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.portal-card__icon-wrap--map {
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(7, 39, 35, 0.06);
}

.portal-card__icon-wrap--certificate,
.portal-card__icon-wrap--recordings {
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(7, 39, 35, 0.06);
}

.map-pin {
  position: relative;
  width: 30px;
  height: 30px;
  border: 7px solid #072723;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #072723;
  content: "";
}

.certificate-icon {
  position: relative;
  width: 34px;
  height: 42px;
  border: 5px solid #072723;
  border-radius: 4px;
}

.certificate-icon::before,
.certificate-icon::after {
  position: absolute;
  content: "";
}

.certificate-icon::before {
  top: 8px;
  left: 6px;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: #072723;
  box-shadow: 0 10px 0 #072723;
}

.certificate-icon::after {
  right: -8px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border: 4px solid #072723;
  border-radius: 50%;
  background: #ffffff;
}

.recordings-icon {
  position: relative;
  width: 42px;
  height: 30px;
  border: 5px solid #072723;
  border-radius: 6px;
}

.recordings-icon::before,
.recordings-icon::after {
  position: absolute;
  content: "";
}

.recordings-icon::before {
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-block: 8px solid transparent;
  border-left: 13px solid #072723;
  transform: translate(-35%, -50%);
}

.recordings-icon::after {
  top: 1px;
  right: -14px;
  width: 12px;
  height: 18px;
  border-radius: 2px;
  background: #072723;
  clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 78%);
}

.portal-card strong {
  max-width: 14ch;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.16;
  text-wrap: balance;
}

.portal-card.is-disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.5;
}

.recordings-gate {
  width: min(100% - 32px, 540px);
  max-height: min(720px, calc(100svh - 32px));
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: #ffffff;
  background: transparent;
}

.recordings-gate::backdrop {
  background: rgba(4, 5, 17, 0.76);
}

.recordings-gate__panel {
  position: relative;
  display: grid;
  gap: 20px;
  overflow: auto;
  max-height: min(720px, calc(100svh - 32px));
  padding: clamp(26px, 5vw, 38px);
  border-radius: 16px;
  background:
    linear-gradient(90deg, var(--color-yellow) 0 82px, var(--color-light-blue) 82px 144px, transparent 144px) top left / 100% 4px no-repeat,
    radial-gradient(circle at 86% 0%, rgba(74, 189, 207, 0.16), transparent 34%),
    linear-gradient(145deg, #121633 0%, #090b1d 54%, #032b2b 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.recordings-gate__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.recordings-gate__header {
  display: grid;
  gap: 8px;
  padding-right: 34px;
}

.recordings-gate__header h2 {
  margin-bottom: 5px;
  color: var(--color-yellow);
  font-size: clamp(1.55rem, 5vw, 2.12rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

.recordings-gate__header p,
.recordings-gate__help {
  color: #dceef3;
  font-size: 0.98rem;
  line-height: 1.5;
}

.recordings-gate__field {
  display: grid;
  gap: 6px;
}

.recordings-gate__field span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
}

.recordings-gate__field-label small {
  color: #bdeff3;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: pretty;
}

.recordings-gate__field input {
  width: 100%;
  min-height: 58px;
  margin-top: 3px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  outline: none;
  transition:
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
}

.recordings-gate__field input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.recordings-gate__field input:focus {
  border-color: var(--color-light-blue);
  background: rgba(255, 255, 255, 0.12);
}

.recordings-gate__field input:disabled {
  cursor: wait;
  opacity: 0.76;
}

.recordings-gate__help {
  margin-top: -12px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.recordings-gate__message {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 229, 238, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(13, 16, 36, 0.78);
}

.recordings-gate__message[hidden] {
  display: none;
}

.recordings-gate__message strong {
  color: var(--color-light-blue);
  font-size: 1rem;
  font-weight: 900;
}

.recordings-gate__message span {
  color: #f5fbff;
  font-size: 0.94rem;
  line-height: 1.5;
}

.recordings-gate__contact {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: 8px;
  padding: 11px 15px;
  color: #ffffff;
  background: #25d366;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    filter 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.recordings-gate__contact[hidden] {
  display: none;
}

.recordings-gate__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.recordings-gate__secondary,
.recordings-gate__submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    filter 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out);
}

.recordings-gate__secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.recordings-gate__submit {
  min-width: 132px;
  color: #08211f;
  background: var(--color-yellow);
}

.recordings-gate__submit:disabled {
  cursor: wait;
  filter: grayscale(0.4);
  opacity: 0.7;
}

.recordings-app {
  height: auto;
  min-height: 100svh;
}

.recordings-page {
  overflow: auto;
}

.recordings-library {
  min-height: 100svh;
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 92px);
  background:
    linear-gradient(105deg, rgba(40, 229, 238, 0.16) 0%, transparent 28%),
    linear-gradient(250deg, rgba(244, 158, 18, 0.14) 0%, transparent 28%),
    linear-gradient(145deg, #150735 0%, #050613 48%, #032b2b 100%);
}

.recordings-library__shell {
  display: grid;
  gap: clamp(32px, 5vw, 54px);
}

.recordings-library__header {
  display: grid;
  max-width: 990px;
  gap: 14px;
}

.recordings-library__header h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2em;
  text-wrap: balance;
}

.recordings-library__header p {
  max-width: 64ch;
  color: #dceef3;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.recordings-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recordings-category-list {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

.recordings-category {
  display: grid;
  gap: 18px;
}

.recordings-category__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.recordings-category__header h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-wrap: balance;
}

.recordings-category__header span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  color: #08211f;
  background: var(--color-yellow);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.recording-card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #121633 0%, #090b1d 100%);
  box-shadow: 0 10px 18px rgba(4, 21, 28, 0.16);
}

.recording-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.recording-card__player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050613;
}

.recording-card__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.recording-card__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
}

.recording-card--featured .recording-card__body {
  padding: 22px;
}

.recording-card__body span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 9px;
  color: #08211f;
  background: #28e5ee;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.recording-card__body h2 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3em;
  text-wrap: balance;
}

.recording-card--featured .recording-card__body h2 {
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.08;
}

.countdown-section {
  padding-block: var(--section-space);
  background:
    linear-gradient(145deg, #150735 0%, #050613 54%, #032b2b 100%);
}

.countdown-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(28px, 5vw, 56px);
  text-align: center;
}

.countdown-section .countdown-section__headline {
  color: var(--color-yellow);
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.countdown-section__copy,
.split-section__copy,
.support-section__copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.countdown-section__copy p,
.split-section__copy p,
.northeast-section__body p,
.support-section__copy p {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.countdown-section__copy h3 {
  max-width: 660px;
  color: var(--color-green);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
  text-wrap: balance;
}

.countdown-section__subhead {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.45;
}

.event-date-lockup {
  display: grid;
  gap: 4px;
  color: #ffffff;
  text-transform: uppercase;
}

.event-date-lockup strong {
  color: var(--color-green);
  font-size: clamp(1.55rem, 3.5vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.event-date-lockup span {
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.2;
}

.countdown-section__lead {
  padding-top: clamp(8px, 2vw, 16px);
  color: #ffffff;
  font-weight: 700;
}

.featured-info,
.event-lines {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 700;
}

.featured-info {
  width: min(100%, 600px);
  padding: 22px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.08);
}

.featured-info strong {
  color: var(--color-yellow);
  font-size: clamp(1.32rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.countdown-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 clamp(8px, 1vw, 12px);
  width: min(100%, 820px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.countdown span {
  position: relative;
  display: grid;
  min-height: 118px;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(40, 229, 238, 0.48);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(2, 151, 145, 0.18) 0%, rgba(2, 151, 145, 0.08) 100%);
}

.countdown span::before {
  position: absolute;
  top: -1px;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(40, 229, 238, 0.9), transparent);
  content: "";
}

.countdown span::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 42%);
  content: "";
  pointer-events: none;
}

.countdown strong {
  position: relative;
  z-index: 1;
  color: var(--color-yellow);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.countdown small {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.experience-marquee {
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(135deg, rgba(40, 229, 238, 0.24) 0%, rgba(40, 229, 238, 0) 38%),
    linear-gradient(165deg, rgba(2, 151, 145, 0.95) 0%, rgba(2, 151, 145, 0.82) 42%, rgba(29, 31, 60, 0.98) 100%),
    #029791;
}

.experience-marquee__track {
  display: flex;
  width: max-content;
  animation: experience-marquee 24s linear infinite;
}

.experience-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-right: clamp(24px, 4vw, 48px);
}

.experience-marquee__group span {
  position: relative;
  flex: 0 0 auto;
  color: #ffffff;
  font-size: clamp(1.08rem, 2.2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.experience-marquee__group span::after {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: clamp(24px, 4vw, 48px);
  border-radius: 50%;
  background: var(--color-yellow);
  content: "";
  vertical-align: 0.18em;
}

@keyframes experience-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.cta-button {
  --button-bg: linear-gradient(135deg, var(--color-yellow), #d78805);
  --button-shadow: rgba(0, 0, 0, 0.24);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px 24px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--button-bg);
  box-shadow: 0 10px 14px var(--button-shadow);
  font-size: clamp(0.88rem, 1.4vw, 1.04rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 240ms var(--ease-out),
    filter 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

.cta-button::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.22) 42%, transparent 68%);
  content: "";
  transform: translateX(-125%);
  transition: transform 520ms var(--ease-out);
}

.cta-button--purple {
  --button-bg: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
}

.cta-button--cyan {
  --button-bg: linear-gradient(135deg, var(--color-cyan), var(--color-light-blue));
  color: #06141f;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(28px, 5vw, 52px);
}

.journey-section__content {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 4vw, 38px);
  text-align: center;
}

.journey-section__logo {
  width: clamp(160px, 20vw, 260px);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.34));
}

.journey-section__title {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(1.95rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.journey-section__copy {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3vw, 24px);
  max-width: 820px;
}

.journey-section__date {
  display: grid;
  gap: 8px;
  color: #ffffff;
  text-transform: uppercase;
}

.journey-section__date strong {
  color: var(--color-yellow);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1;
}

.journey-section__date span {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.2;
}

.journey-section__copy p {
  max-width: 58ch;
  color: #ffffff;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 750;
  line-height: 1.45;
}

.northeast-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: url("../images/background_encontro_nordestino.webp") center/cover no-repeat;
  color: #072c59;
}

.northeast-section h2,
.northeast-section__body p {
  color: #072c59;
}

.northeast-section__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(18px, 4vw, 34px);
  text-align: center;
}

.northeast-section__headline {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2vw, 18px);
}

.northeast-section__logo {
  width: clamp(170px, 22vw, 280px);
  filter: drop-shadow(0 10px 14px rgba(7, 44, 89, 0.12));
}

.northeast-section h2 {
  max-width: none;
  color: #072c59;
  font-size: clamp(0.82rem, 3.9vw, 2.25rem);
  white-space: nowrap;
}

.northeast-section__body {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 820px;
}

.featured-info--light {
  width: min(100%, 720px);
  padding: 0;
  background: transparent;
}

.featured-info--light strong {
  color: #072c59;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  text-transform: uppercase;
}

.featured-info--light span {
  color: #072c59;
}

.featured-info--light span:first-of-type {
  color: #ff2154;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}

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

.feature-list li {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.62);
  color: #072c59;
  font-weight: 800;
}

.feature-list li::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff2154;
  content: "";
}

.northeast-section__body > p {
  color: #072c59;
}

.cta-button--northeast {
  --button-bg: #dd731f;
  --button-shadow: rgba(221, 115, 31, 0.28);
}

.support-section {
  padding-block: 80px;
  background:
    linear-gradient(135deg, rgba(40, 229, 238, 0.18) 0%, rgba(40, 229, 238, 0) 38%),
    linear-gradient(165deg, var(--color-green) 0%, #087f7a 48%, var(--color-dark-blue) 100%);
}

.support-section__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  justify-items: stretch;
  gap: clamp(32px, 6vw, 72px);
}

.support-section h2 {
  max-width: 28ch;
  font-size: clamp(1.2rem, 3.6vw, 2.7rem);
}

.support-section__copy {
  justify-items: start;
  max-width: 520px;
  margin-inline: 0;
  padding-bottom: 0;
  text-align: left;
}

.support-section__copy p {
  max-width: 48ch;
  color: #eefcff;
}

.support-section__image {
  width: min(100%, 360px);
  justify-self: center;
  align-self: center;
}

.site-footer {
  padding-block: 30px;
  color: rgba(255, 255, 255, 0.66);
  background: linear-gradient(180deg, #08091b 0%, #02030b 100%);
}

.site-footer__inner {
  display: flex;
  width: min(var(--container-max), calc(100% - var(--gutter) * 2));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  font-size: 0.82rem;
  text-align: right;
}

@media (hover: hover) {
  .event-app-nav__link:not(.is-disabled):hover,
  .event-app-nav__link:not(.is-disabled):focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
  }

  .event-app-nav__link[aria-current="page"]:hover,
  .event-app-nav__link[aria-current="page"]:focus-visible {
    color: #08211f;
    background: var(--color-yellow);
  }

  .portal-card--active:hover,
  .portal-card--active:focus-visible {
    transform: translateY(-4px);
    filter: saturate(1.15) brightness(1.04);
  }

  .portal-card--active:hover::after,
  .portal-card--active:focus-visible::after {
    transform: scaleX(1);
  }

  .recordings-gate__close:hover,
  .recordings-gate__close:focus-visible,
  .recordings-gate__secondary:hover,
  .recordings-gate__secondary:focus-visible {
    background: rgba(255, 255, 255, 0.2);
  }

  .recordings-gate__close:hover,
  .recordings-gate__close:focus-visible,
  .recordings-gate__secondary:hover,
  .recordings-gate__secondary:focus-visible,
  .recordings-gate__submit:hover,
  .recordings-gate__submit:focus-visible {
    transform: translateY(-1px);
  }

  .recordings-gate__submit:not(:disabled):hover,
  .recordings-gate__submit:not(:disabled):focus-visible {
    filter: saturate(1.1) brightness(1.04);
  }

  .recordings-gate__contact:hover,
  .recordings-gate__contact:focus-visible {
    filter: saturate(1.06) brightness(1.02);
    transform: translateY(-1px);
  }

  .cta-button:hover,
  .cta-button:focus-visible {
    filter: saturate(1.12) brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 14px 20px var(--button-shadow);
  }

  .cta-button:hover::after,
  .cta-button:focus-visible::after {
    transform: translateX(125%);
  }
}

.cta-button:active,
.portal-card--active:active {
  transform: translateY(1px);
}

@media (max-width: 1040px) {
  .event-hero {
    grid-template-columns: 1fr;
  }

  .event-hero__content,
  .event-hero__media {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .event-hero__content {
    width: 100%;
    padding-inline: var(--gutter);
    padding-bottom: 24px;
  }

  .event-hero__media {
    justify-content: center;
    padding-inline: var(--gutter);
  }

  .event-hero__model {
    width: min(82vw, 540px);
    max-height: none;
  }

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

  .countdown-section__content,
  .split-section,
  .northeast-section__content {
    grid-template-columns: 1fr;
  }

  .northeast-section h2 {
    max-width: 14ch;
  }

  .northeast-section h2 {
    max-width: none;
  }

  .support-section h2 {
    max-width: 28ch;
  }

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

  .recording-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .section-shell {
    width: min(100% - 40px, var(--container-max));
  }

  .event-app-nav__inner {
    position: relative;
    width: calc(100% - 32px);
    min-height: 74px;
    align-items: center;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 10px;
    padding-block: 12px;
  }

  .event-app-nav__brand img {
    width: 120px;
  }

  .event-app-nav__links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow: hidden;
    width: min(100%, 340px);
    border-radius: 8px;
    padding: 10px;
    background:
      linear-gradient(135deg, rgba(40, 229, 238, 0.16) 0%, rgba(40, 229, 238, 0) 42%),
      linear-gradient(165deg, #029791 0%, #087f7a 44%, #1d1f3c 100%);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.32);
  }

  .event-app-nav__links.is-open {
    display: flex;
  }

  .event-app-nav__toggle {
    appearance: none;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    color: #08211f;
    background: var(--color-yellow);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
  }

  .event-app-nav__link {
    width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .event-hero__content {
    padding-top: calc(clamp(40px, 6vw, 78px) + 20px);
  }

  .event-hero h1 {
    font-size: clamp(calc(3rem - 9px), calc(17vw - 9px), calc(4.4rem - 9px));
  }

  .portal-grid,
  .feature-list,
  .countdown {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 178px;
  }

  .portal-card strong {
    max-width: 18ch;
  }

  .recordings-gate {
    width: min(100% - 24px, 540px);
    max-height: calc(100svh - 24px);
  }

  .recordings-gate__panel {
    max-height: calc(100svh - 24px);
  }

  .recordings-gate__header {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-right: 32px;
  }

  .countdown span {
    min-height: 108px;
  }

  .support-section__row {
    grid-template-columns: 1fr;
  }

  .support-section__copy {
    padding-bottom: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer p {
    text-align: center;
  }

  .recordings-video-grid {
    grid-template-columns: 1fr;
  }

  .recordings-category__header {
    display: grid;
    justify-items: start;
  }

  .recording-card__body,
  .recording-card--featured .recording-card__body {
    padding: 16px;
  }

  .recording-card--featured .recording-card__body h2 {
    font-size: 1.2rem;
    line-height: 1.3em;
  }
}

@media (max-width: 430px) {
  .section-shell {
    width: min(100% - 30px, var(--container-max));
  }

  .event-hero__content {
    padding-inline: 18px;
  }

  .event-hero__lead,
  .countdown-section__copy p,
  .split-section__copy p,
  .northeast-section__body p,
  .support-section__copy p {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    padding-inline: 18px;
  }

  .recordings-gate__panel {
    gap: 18px;
    padding: 22px 18px;
  }

  .recordings-gate__actions {
    flex-direction: column-reverse;
  }

  .recordings-gate__secondary,
  .recordings-gate__submit,
  .recordings-gate__contact {
    width: 100%;
  }

  .recordings-library {
    padding-block: 34px 58px;
  }

  .recordings-library__header h1 {
    font-size: 2rem;
    line-height: 1.2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .experience-marquee__track {
    width: 100%;
    animation: none !important;
    transform: none !important;
  }

  .experience-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .experience-marquee__group[aria-hidden="true"] {
    display: none;
  }
}
