:root {
  --blue-light: #76C5FF;
  --blue-dark: #134C99;
  --white: #FFFFFF;
  --red: #E12B2D;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "League Spartan", Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.landing {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  background: var(--blue-light);
  overflow: hidden;
}

/* MENU */
.hero__menu {
  position: absolute;
  top: 18px;
  left: 36px;
  z-index: 30;
}

.menu {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu__btn:hover {
  transform: translateY(-2px);
}

.menu__btn,
.menu__btn:visited,
.menu__btn:focus,
.menu__btn:active {
  background: var(--blue-dark);
  color: #fff;
  outline: none;
  box-shadow: none;
}

.menu__btn:focus-visible {
  outline: none;
}

/* LAYOUT */
.hero__layout {
  position: relative;
  z-index: 10;
  padding-top: 88px;
  padding-right: 35vw;
}

/* COLUMNA IZQUIERDA */
.hero__left {
  position: relative;
  z-index: 12;
  min-height: 75svh;
  display: flex;
  align-items: center;
  padding: 48px 40px 150px 48px;
}

.hero__content {
  width: 100%;
  max-width: 60vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title-svg{
  width: min(70vw, 950px);
  height: auto;
}

.hero__subtitle-svg{
  width: min(65vw, 900px);
  height: auto;
}

.hero__info-row {
  margin-top: 42px;
  display: flex;
  gap: 1vw;
  flex-wrap: wrap;
  width: 55vw;
  justify-content: center;
}

.hero__date-block {
  width: 49%;
  display: flex;
  align-items:flex-start;
  gap: 0.5vw;
}

.hero__day {
  font-size: clamp(50px, 8vw, 110px);
  line-height: 0.9;
  font-weight: 800;
  color: var(--white);
}

.hero__date-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  width: fit-content;
}

.pill--red {
  background: var(--red);
}

.hero__location-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 49%;
  max-width: 390px;
}

.hero__location-icon {
  width: 4vw;
  flex: 0 0 4vw;
}

.hero__location-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--white);
}

/* COLUMNA DERECHA */
.hero__right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30vw;
  z-index: 20;
  pointer-events: none;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* SELLO */
.hero__badge {
  position: absolute;
  right: 22vw;
  bottom: 17vh;
  z-index: 25;
  width: 12vw;
}

.hero__badge-img {
  width: 100%;
  height: auto;
}

/* FRANJA INFERIOR */
.hero__support {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  background: var(--blue-dark);
  min-height: 104px;
  display: flex;
  align-items: center;
}

.hero__support-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32vw 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero__support-text {
  font-size: 18px;
  color: var(--white);
}

.hero__support-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__support-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.hero__support-logo--hptu {
  height: 46px;
}

.hero__support-logo--upb {
  height: 58px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
.hero__layout {
  padding-right: 300px;
}

.hero__right,
.hero__image-wrap {
  width: 300px;
}

.hero__badge {
  right: 255px;
  width: 160px;
}

  .hero__left {
    padding: 120px 28px 40px 28px;
  }

  .hero__location-text {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hero {
  min-height: auto;
  padding-bottom: 0;
}

header.hero__menu {
    justify-content: center;
    display: flex;
}

 .hero__layout {
  min-height: auto;
  padding-top: 60px;
  padding-right: 0;
}

.pill{

  font-size: 3.2vw;
}


.hero__left {
  min-height: auto;
  padding: 110px 22px 40px;
}

.hero__right {
  position: relative;
  width: 100%;
  height: 420px;
  top: auto;
  right: auto;
  bottom: auto;
}

.hero__image-wrap {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  clip-path: none;
}

.hero__support {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
}

.hero__support-text{
 font-size: 2.7vw;

}

.hero__badge {
  right: 24px;
  bottom: 120px;
  width: 140px;
}

  .hero__info-row {
    gap: 26px;
  }

  .hero__content {
  max-width: 100%;
  }
   .hero__left {
    padding: 6vh 16px 32px;
  }

   .hero__date-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .hero__location-block {
    width: 100%;
    max-width: 100%;
  }

  .hero__support-inner {
    padding: 18px 16px;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .hero__menu {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .menu {
    gap: 10px;
  }

  .menu__btn {
    min-width: auto;
    padding: 0 18px;
    height: 9vw;
    font-size: 3.2vw;
  }

  .hero__left {
    padding: 3vh 16px 32px;
  }

  .hero__content {
  max-width: 100%;
  }

  .hero__title-wrap,
  .hero__subtitle-wrap {
    max-width: 100%;
  }

  .hero__info-row {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
    width: 70vw;
  }

  .hero__date-block {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .hero__day {
    font-size: 72px;
  }

  .hero__location-block {
    width: 100%;
    max-width: 100%;
  }

  .hero__location-icon {
    width: 42px;
    flex-basis: 42px;
  }

  .hero__location-text {
    font-size: 14px;
  }

 .hero__right {
  height: 25vh;
}

.hero__image-wrap {
  height: 25vh;
}

  .hero__badge {
    width: 112px;
    right: 16px;
    bottom: 92px;
  }

  .hero__support {
    min-height: auto;
  }

  .hero__support-inner {
    padding: 18px 16px;
    justify-content: center;
    gap: 16px;
  }

  .hero__support-logos {
    gap: 22px;
  }

  .hero__support-logo--hptu {
    height: 34px;
  }

  .hero__support-logo--upb {
    height: 42px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) and (orientation: portrait) {

  .hero__left {
    min-height: 40svh;
    padding: 0 28px 70px 28px;
}

.hero__badge {
        right: 17vw;
        top: 25svh;
        width: 15vw;
    }

}


/* =========================
   AGENDA SECTION
========================= */

.agenda-section {
  background: #EBEBEB;
  padding: 72px 0 48px;
}

.agenda-section__inner {
  width: 85vw;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 48px;
  align-items: start;
}

.agenda-section__sidebar {
  position: sticky;
  top: 32px;
  align-self: start;
}

.agenda-card {
  position: relative;
}

.agenda-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: #E12B2D;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.agenda-card__meta {
  margin-top: 32px;
  max-width: 80%;
}

.agenda-card__row {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.agenda-card__row--top {
  align-items: start;
}

.agenda-card__label {
  color: #134C99;
  font-size: clamp(19px, 1.5vw, 26px);
  font-weight: 800;
  line-height: 1;
}

.agenda-card__value {
  color: #7B7B7B;
  font-size: clamp(17px, 1.35vw, 24px);
  line-height: 1.2;
  font-weight: 500;
}

.agenda-section__content {
  min-width: 0;
}

.agenda-list {
  width: 90%;
}

.agenda-item,
.agenda-block-title {
  border-top: 1px solid #B8B8B8;
}

.agenda-item {
  display: grid;
  grid-template-columns: minmax(0, 0.60fr) minmax(0, 1fr);
  gap: 2vw;
  padding: 22px 0 24px;
}

.agenda-item__time {
  font-family: "Bebas Neue", sans-serif;
  color: #7A7A7A;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0.03em;
}


.agenda-item__info {
  padding-top: 4px;
}

.agenda-item__title {
  margin: 0;
  color: #6F6F6F;
  font-size: clamp(19px, 1.2vw, 22px);
  line-height: 1.15;
  font-weight: 700;
}

.agenda-item__speaker {
  margin: 6px 0 0;
  color: #7F7F7F;
  font-size: clamp(15px, 0.9vw, 18px);
  line-height: 1.2;
  font-weight: 400;
}

.agenda-block-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
}

.agenda-block-title__number {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #76C5FF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 58px;
}

.agenda-block-title__text {
  margin: 0;
  color: #7A7A7A;
  font-size: clamp(24px, 1.2vw, 32px);
  line-height: 1;
  font-weight: 00;
}

@media (max-width: 900px) {
  .agenda-section {
    padding: 10% 5%;
  }

  .agenda-list {
    width: 100%;
}

   .agenda-section__inner {
    grid-template-columns: 1fr;
    width: min(1280px, calc(100% - 32px));
    gap: 40px;
  }

   .agenda-section__sidebar {
    position: static;
    top: auto;
    align-self: auto;
  }

 .agenda-card {
    position: static;
    top: auto;
  }
  .agenda-card__meta {
    max-width: 100%;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0 20px;
  }

  .agenda-item__time {
    font-size: 24px;
  }

  .agenda-block-title {
    gap: 14px;
  }

  .agenda-block-title__number {
    width: 50px;
    height: 50px;
    font-size: 34px;
    flex-basis: 50px;
  }

  .agenda-block-title__text {
    font-size: 21px;
    line-height: 1.1;
  }
}


/* =========================
   TICKER / MARQUEE
========================= */

.ticker {
  background: #134C99;
  overflow: hidden;
  width: 100%;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 18px 0;
}

.ticker__group span {
  display: inline-block;
  color: #FFFFFF;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 18px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .ticker__group {
    padding: 14px 0;
  }

  .ticker__group span {
    font-size: clamp(20px, 6vw, 30px);
    margin-right: 14px;
  }
}








/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  width: 100%;
}

.contact-section__top {
  background: var(--blue-dark);
  padding: 52px 0 36px;
}

.contact-section__inner {
  width: 85vw;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 340px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.contact-section__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 40%;
}

.contact-section__brand-logo {
  width: 100%;
  height: auto;
}

.contact-section__info {
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
}

.contact-section__email {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.contact-section__social {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-section__social-link {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1;
  font-weight: 400;
}

.contact-section__social-link--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-section__social-link--icon img {
  width: 20px;
  height: 20px;
  display: block;
}


@media (max-width: 900px) {
  .contact-section__top {
    padding: 44px 0 28px;
  }

  .contact-section__inner {
    width: min(1280px, calc(100% - 32px));
    min-height: auto;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .contact-section__brand {
    justify-content: center;
    padding: 0;
  }

  .contact-section__brand-logo {
    width: 70vw;
  }

  .contact-section__brand-subtitle {
    width: min(100%, 300px);
    margin-top: 14px;
  }

  .contact-section__info {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: left;
    gap: 32px;
  }

  .contact-section__email {
    font-size: clamp(24px, 7vw, 36px);
  }

  .contact-section__social {
    justify-content: flex-start;
    gap: 20px;
  }

}

@media (max-width: 640px) {
  .contact-section__top {
    padding: 36px 0 24px;
  }

  .contact-section__email {
    font-size: clamp(20px, 8vw, 30px);
  }

  .contact-section__social-link {
    font-size: 15px;
  }

  .contact-section__social-link--icon img {
    width: 18px;
    height: 18px;
  }

}


/* =========================
   SUPPORT BAR
========================= */

.support-bar {
  background: #ffffff;
  padding: 28px 0;
}

.support-bar__inner {
  width: 85vw;
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.support-bar__col {
  display: flex;
  align-items: center;
  gap: 26px;
}

.support-bar__col--left {
  justify-content: flex-start;
}

.support-bar__col--right {
  justify-content: flex-end;
}

.support-bar__text {
  color: #3b63b4;
  font-size: clamp(18px, 1vw, 22px);
  font-weight: 700;
  white-space: nowrap;
}

.support-bar__logo {
  height: auto;
  width: auto;
  display: block;
}

/* tamaños específicos */

.support-bar__logo--acr {
  height: 70px;
}

.support-bar__logo--hptu {
  height: 80px;
}

.support-bar__logo--upb {
  height: 68px;
}

@media (max-width: 900px) {

  .support-bar__inner {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .support-bar__col,
  .support-bar__col--left,
  .support-bar__col--right {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .support-bar__col.support-bar__col--left{

    justify-content: center;
    width: 100%;
  }

  .support-bar__col.support-bar__col--right {
    justify-content: center;
}

span.support-bar__text {
    width: 100%;
    text-align: center;
}

a.contact-section__email {
    font-size: 6vw;
}

}


/* =========================
   REGISTER SECTION
========================= */

.register-section {
  background: #ebebeb;
  padding: 64px 0 72px;
}

.register-section__inner {
  width: 85vw;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}

.register-section__save-date {
  width: 100%;
  height: auto;
  display: block;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 42px 0 44px;
  width: 100%;
}

.countdown__item {
  text-align: center;
}

.countdown__number {
  display: block;
  color: #6f6f6f;
  font-size: clamp(58px, 5vw, 92px);
  line-height: 0.9;
  font-weight: 800;
}

.countdown__label {
  display: block;
  margin-top: 10px;
  color: #6f6f6f;
  font-size: clamp(18px, 1vw, 24px);
  font-weight: 700;
}

.register-section__text p {
  margin: 0 0 24px;
  color: #6f6f6f;
  font-size: clamp(18px, 1vw, 22px);
  line-height: 1.35;
  font-weight: 400;
  text-align: justify;
}

.register-section__text strong {
  font-weight: 800;
}

.register-section__title {
  margin: 0;
  color: #134c99;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 0.95;
  font-weight: 800;
  text-align: center;
}

.register-section__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 30px;
}

.register-section__lines span {
  display: block;
  width: 100%;
  height: 6px;
  background: #76c5ff;
}

.linea2 {
  height: 34px !important;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.register-form input,
.register-form select {
  width: 100%;
  height: 58px;
  border: 1.5px solid #8e8e8e;
  border-radius: 999px;
  background: transparent;
  padding: 0 20px;
  color: #6f6f6f;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(18px, 1vw, 24px);
  outline: none;
}

.register-form select {
  appearance: none;
}

.register-form__legal {
  margin: 4px 0 0;
  color: #6f6f6f;
  font-size: clamp(12px, 0.8vw, 14px);
  line-height: 1.3;
  text-align: justify;
}

.register-form__submit {
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #df2027;
  color: #fff;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(20px, 1.2vw, 28px);
  font-weight: 800;
  cursor: pointer;
}

.register-form__message {
  min-height: 24px;
  margin: 0;
  color: #134c99;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .register-section__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .register-section {
    padding: 64px 8% 72px;
}

  .countdown {
    gap: 1vw;
    grid-template-columns: repeat(4, 20vw);
  }

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

  .countdown__number {
    font-size: clamp(40px, 4vw, 92px);
}

.countdown__label{

  font-size: clamp(14px, 1vw, 24px);
}

}


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

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 76, 153, 0.35);
  backdrop-filter: blur(4px);
}

.success-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  padding: 42px 32px 32px;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.success-modal.is-open .success-modal__dialog {
  transform: translateY(0) scale(1);
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #134C99;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.success-modal__content {
  text-align: center;
}

.success-modal__title {
  margin: 0 0 16px;
  color: #134C99;
  font-size: clamp(30px, 2.4vw, 44px);
  line-height: 0.95;
  font-weight: 800;
}

.success-modal__text {
  margin: 0 0 14px;
  color: #6F6F6F;
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.25;
}

.success-modal__button {
  margin-top: 12px;
  min-width: 220px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #DF2027;
  color: #FFFFFF;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(18px, 1.1vw, 24px);
  font-weight: 800;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .success-modal__dialog {
    padding: 40px 20px 24px;
    border-radius: 22px;
  }

  .success-modal__close {
    top: 10px;
    right: 12px;
  }

  .success-modal__button {
    width: 100%;
    min-width: 0;
  }
}