:root {
  --blue-top: #0b8dea;
  --blue-mid: #005ac4;
  --blue-dark: #06357f;
  --blue-deep: #042664;
  --white: #ffffff;
  --orange: #ff7a1a;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--blue-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, .18), transparent 22%),
    radial-gradient(circle at 92% 40%, rgba(255, 255, 255, .08), transparent 28%),
    radial-gradient(circle at 50% 95%, rgba(255, 128, 0, .42), transparent 24%),
    linear-gradient(180deg, var(--blue-top) 0%, var(--blue-mid) 38%, var(--blue-dark) 72%, var(--blue-deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(180deg,
      rgba(4, 38, 100, .25) 0%,
      rgba(4, 38, 100, .35) 45%,
      rgba(4, 38, 100, .72) 100%),
    url("assets/background.jpeg");

  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -15% -18% -15%;
  height: 220px;
  background: radial-gradient(ellipse at center, #ff8b13 0%, #ff6a1c 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.landing {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 22px 24px 34px;
}

.banner-card {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.banner-card img {
  width: 100%;
  display: block;

  border-radius: 24px;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, .28),
    0 8px 18px rgba(0, 100, 255, .18),
    0 0 40px rgba(255, 255, 255, .08);

  transform: translateY(var(--banner-y, 0px)) scale(var(--banner-scale, 1));
  transition: transform .12s linear;
}

.brand {
  margin-top: -32px;
  text-align: center;
  position: relative;
  z-index: 20;
}

.brand-logo {
  position: relative;
  z-index: 25;
  width: 155px;
  height: 155px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, .95);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .32);
}

.brand h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 5px 16px rgba(0, 0, 0, .32);
}

.brand h1 span {
  color: var(--orange);
  display: inline-block;
  transform: rotate(-12deg);
  font-size: .60em;
}

.tag-icon {

  width: 42px;

  margin-left: 8px;

  vertical-align: middle;

  transform: rotate(-12deg);

  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, .25));

}

.mx-flag {

  width: 22px;

  margin-left: 6px;

  vertical-align: middle;

}

.brand p {
  margin: 0;
  font-size: clamp(.95rem, 2.6vw, 1.25rem);
  line-height: 1.35;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}

.social-links {
  margin-top: 30px;
  display: grid;
  gap: 17px;
}

.social-card {
  min-height: 102px;
  display: grid;
  grid-template-columns: 74px 1fr 28px;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, .95);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 12px 0 rgba(0, 22, 70, .42),
    0 22px 28px rgba(0, 0, 0, .18),
    inset 0 1px 12px rgba(255, 255, 255, .18);
  transition: transform .16s ease, filter .16s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.whatsapp {
  background: linear-gradient(90deg, #25d544 0%, #10a735 100%);
}

.telegram {
  background: linear-gradient(90deg, #32b9ff 0%, #0879dc 100%);
}

.facebook {
  background: linear-gradient(90deg, #2a75ff 0%, #0c54d9 100%);
}

.instagram {
  background: linear-gradient(90deg, #811fff 0%, #ce2cb5 44%, #ff4b2d 100%);
}

.tiktok {
  background: linear-gradient(90deg, #151515 0%, #2a2a2a 100%);
}

.social-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .20));
}

.whatsapp .social-icon {
  color: #1ebc3d;
}

.telegram .social-icon {
  color: #1da1f2;
}

.facebook .social-icon {
  color: #1877f2;
  font-family: Arial, Helvetica, sans-serif;
}

.instagram .social-icon {
  color: #d62976;
}

.tiktok .social-icon {
  color: #111;
}

.social-text strong {
  display: block;
  font-size: clamp(1.12rem, 4vw, 1.56rem);
  font-weight: 900;
  line-height: 1.14;
}

.social-text small {
  display: block;
  margin-top: 7px;
  font-size: clamp(.95rem, 3vw, 1.22rem);
  color: rgba(255, 255, 255, .94);
}

.chevron {
  font-size: 4rem;
  line-height: .7;
  font-weight: 300;
  opacity: .95;
}

.notice {

  margin-top: 42px;
  padding: 26px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 30px;
  border: 3px solid rgba(255, 255, 255, .16);
  background: rgba(7, 57, 130, .62);
  backdrop-filter: blur(10px);
  box-shadow:

    inset 0 1px 22px rgba(255, 255, 255, .05),

    0 12px 30px rgba(0, 0, 0, .18);

}

.notice-icon {

  width: 52px;

  height: 52px;

  object-fit: contain;

  margin-top: 4px;

}

.notice-content {

  display: flex;

  flex-direction: column;

}

.notice p {

  margin: 0;

  font-size:

    clamp(.95rem, 2.3vw, 1.12rem);

  line-height: 1.55;

}

.notice strong {

  margin-top: 16px;

  font-size: 1.05em;

  line-height: 1.45;

}

.footer-pill {

  width: fit-content;

  margin: 34px auto 0;

  padding: 16px 34px;

  display: flex;

  align-items: center;

  gap: 12px;

  border-radius: 999px;

  background: #ffffff;

  color: #0b61b8;

  box-shadow:

    0 12px 28px rgba(0, 0, 0, .22);

}

.footer-icon {

  width: 26px;

  height: 26px;

  object-fit: contain;

}

.footer-pill strong {

  font-size:

    clamp(1rem, 3vw, 1.3rem);

}

@media (max-width: 560px) {
  .landing {
    padding: 16px 12px 28px;
  }

  .banner-card img {
    border-radius: 24px;
  }

  .brand {
    margin-top: -22px;
  }

  .brand-logo {
    width: 122px;
    height: 122px;
    border-width: 4px;
  }

  .brand h1 {
    margin-top: 10px;
    font-size: clamp(1.55rem, 7.5vw, 2.15rem);
  }

  .brand p {
    font-size: .92rem;
    line-height: 1.35;
  }

  .social-links {
    gap: 15px;
  }

  .social-card {
    min-height: 86px;
    grid-template-columns: 58px 1fr 20px;
    gap: 12px;
    padding: 14px 16px;
    border-width: 3px;
  }

  .social-icon {
    width: 46px;
    height: 46px;
  }

  .chevron {
    font-size: 3.2rem;
  }

  .notice {
    margin-top: 38px;
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .notice-icon {
    font-size: 2.2rem;
  }

  .footer-pill {
    padding: 14px 24px;
  }
}

/*=========================
MENU HAMBURGUESA
=========================*/

.topbar {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.menu-btn {
  width: 55px;
  height: 55px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  cursor: pointer;

  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, .28),
    inset 0 1px 10px rgba(255, 255, 255, .18);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  transition: all .25s ease;
}

.menu-btn span {
  width: 24px;
  height: 3px;
  background: #ff8c1a;
  border-radius: 10px;
  transition: .30s ease;
}



/* Animación X */

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* PANEL */

.side-menu {
  position: fixed;
  top: 90px;
  right: -320px;

  width: 280px;

  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 25px;

  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  transition: .35s ease;

  z-index: 9998;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, .32),
    inset 0 1px 16px rgba(255, 255, 255, .16);
}

.side-menu.active {
  right: 20px;
}

.side-menu a {

  color: #ffffff;

  text-decoration: none;

  font-size: 20px;

  font-weight: 900;

  padding: 16px 18px;

  border-radius: 16px;

  background: linear-gradient(135deg,
      #06357f,
      #005ac4);

  border: 1px solid rgba(255, 255, 255, .20);

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  text-align: center;

  box-shadow:
    0 10px 22px rgba(0, 20, 70, .35),
    inset 0 1px 10px rgba(255, 255, 255, .12);

  transition: all .25s ease;

}

.side-menu a:hover {

  background: linear-gradient(135deg,
      #0b4fb3,
      #ff8c1a);

  color: #ffffff;

  transform:
    translateY(-2px);

  box-shadow:
    0 14px 28px rgba(255, 140, 26, .30),
    inset 0 1px 8px rgba(255, 255, 255, .15);

}

/* FONDO OSCURO */

.menu-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, .32);

  opacity: 0;
  pointer-events: none;

  transition: .30s ease;

  z-index: 9997;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-btn:hover {

  background: rgba(255, 255, 255, .16);

  transform:
    scale(1.05);

  box-shadow:
    0 12px 28px rgba(255, 140, 26, .20);

}

/*=========================
CTA PRINCIPAL
POP + ZUMBIDO
=========================*/

.cta-principal {
  animation: ctaBuzz 4s infinite;
  transform-origin: center;
}

@keyframes ctaBuzz {

  0%,
  90%,
  100% {

    transform:
      translateX(0) translateY(0);

  }

  91% {

    transform:
      translateY(-3px);

  }

  92% {

    transform:
      translateX(4px) translateY(-3px);

  }

  93% {

    transform:
      translateX(-4px) translateY(-3px);

  }

  94% {

    transform:
      translateX(3px) translateY(-2px);

  }

  95% {

    transform:
      translateX(-3px) translateY(-2px);

  }

  96% {

    transform:
      translateX(2px);

  }

  97% {

    transform:
      translateX(-2px);

  }

  98% {

    transform:
      translateX(1px);

  }

  99% {

    transform:
      translateX(0);

  }

}