:root {
  --navy-950: #041326;
  --navy-900: #071b33;
  --navy-800: #0b2b50;
  --blue-700: #064a8f;
  --blue-600: #0869bd;
  --cyan-300: #63d7ee;
  --lime: #d8ff2f;
  --lime-bright: #e4ff66;
  --white: #ffffff;
  --muted: #c7d5e5;
  --card: rgba(5, 24, 46, 0.86);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy-950);
}

body {
  margin: 0;
  color: var(--white);
  font-family:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.redirect-page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow-x: clip;
  isolation: isolate;
}

.backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/foto-aeropuerto/aeropuerto091.webp");
  background-position: center 52%;
  background-size: cover;
  animation: reveal 1.2s ease-out both;
}

.redirect-page::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 17, 34, 0.94) 0%, rgba(3, 19, 38, 0.8) 42%, rgba(3, 19, 38, 0.18) 75%),
    linear-gradient(0deg, rgba(2, 13, 27, 0.78) 0%, transparent 38%, rgba(2, 13, 27, 0.2) 100%);
  content: "";
}

.site-header,
.content,
.site-footer {
  width: min(100% - 64px, 1280px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px 12px;
}

.brand {
  width: 210px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}







.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(5, 24, 46, 0.52);
  color: #eaf4ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.official-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 47, 0.7);
  content: "";
}

.content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: 22px;
}

.message-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  padding: clamp(30px, 5vw, 58px);
  background: var(--card);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px) saturate(118%);
  animation: card-in 0.75s 0.12s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.message-card::before {
  position: absolute;
  top: 0;
  left: 58px;
  width: 76px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--lime);
  content: "";
}

.multilingual-title {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: clamp(2rem, 4.25vw, 3.45rem);
  line-height: 1;
}

.title-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding-block: 9px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.title-line + .title-line {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.title-line__tag {
  color: var(--cyan-300);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.messages {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.messages li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aabed1;
  font-size: 0.82rem;
  line-height: 1.5;
}

.messages__tag {
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  padding: 2px 6px;
  color: #8ba3ba;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.route {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.07);
  font-size: clamp(0.76rem, 1.25vw, 0.9rem);
  font-weight: 600;
}

.route__old {
  color: #93a8be;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.route__arrow {
  color: var(--cyan-300);
  font-size: 1.15rem;
}

.route__new {
  color: var(--white);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  border-radius: 999px;
  padding-inline: 28px;
  background: var(--lime);
  color: var(--navy-950);
  box-shadow: 0 12px 30px rgba(216, 255, 47, 0.2);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-button__label {
  line-height: 1;
}

.primary-button__icon {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.primary-button:hover {
  background: var(--lime-bright);
  box-shadow: 0 16px 38px rgba(216, 255, 47, 0.3);
  transform: translateY(-2px);
}

.primary-button:hover .primary-button__icon {
  transform: translateX(4px);
}

.primary-button:active {
  box-shadow: 0 8px 20px rgba(216, 255, 47, 0.22);
  transform: translateY(0);
}

.primary-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.countdown {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--cyan-300) var(--progress, 100%), rgba(255, 255, 255, 0.14) 0);
  text-align: center;
}

.countdown::before {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: var(--navy-900);
  content: "";
}

.countdown__number {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.noscript-message {
  margin: 16px 0 0;
  color: #aabed1;
  font-size: 0.8rem;
  line-height: 1.5;
}

.mascot-wrap {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 410px);
  margin-bottom: -30px;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.34));
  animation: mascot-in 0.9s 0.28s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.mascot {
  position: relative;
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  object-position: bottom center;
}

.mascot-shadow {
  position: absolute;
  bottom: 5%;
  left: 18%;
  width: 65%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  filter: blur(8px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 18px 22px;
  color: #c6d5e4;
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.site-footer p {
  margin: 0;
}

@keyframes reveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes mascot-in {
  from { opacity: 0; transform: translate(24px, 20px); }
  to { opacity: 1; transform: translate(0, 0); }
}

@media (max-width: 900px) {
  .redirect-page::before {
    background:
      linear-gradient(0deg, rgba(3, 17, 34, 0.94) 0%, rgba(3, 19, 38, 0.72) 58%, rgba(3, 19, 38, 0.35) 100%);
  }

  .content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 18px;
  }

  .message-card {
    z-index: 1;
    max-width: 680px;
  }

  .mascot-wrap {
    position: absolute;
    right: -70px;
    bottom: 38px;
    z-index: 0;
    width: 320px;
    opacity: 0.42;
  }
}

@media (max-width: 620px) {
  .site-header,
  .content,
  .site-footer {
    width: min(100% - 32px, 1280px);
  }

  .site-header {
    flex-wrap: wrap;
    row-gap: 12px;
    padding-top: 18px;
  }

  .brand {
    width: 154px;
    height: 58px;
  }

  .official-badge {
    padding: 7px 10px;
    font-size: 0.62rem;
  }

  .message-card {
    border-radius: 22px;
    padding: 30px 24px;
  }

  .message-card::before {
    left: 24px;
  }

  .multilingual-title {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }

  .title-line {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding-block: 8px;
  }

  .route {
    flex-wrap: wrap;
    row-gap: 3px;
  }

  .action-row {
    gap: 15px;
    margin-top: 26px;
  }

  .primary-button {
    min-height: 54px;
    flex: 1;
    justify-content: center;
    padding-inline: 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .site-header {
    padding-top: 16px;
  }

  .content {
    padding-block: 10px;
  }

  .message-card {
    padding: 34px 42px;
  }

  .multilingual-title {
    font-size: 2.8rem;
  }

  .action-row {
    margin-top: 22px;
  }
}

@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;
  }
}
