/* ================================
   FOOTER BASE
================================ */

.nx-footer.nx-footer--figma {
  width: 100%;
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.nx-footer--figma .nx-footer-inner {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}

/* ================================
   HERO (same container as topbar)
================================ */

.nx-footer--figma .nx-footer-hero {
  max-width: 1500px;
  width: calc(100% - 160px);
  margin: 0 auto;

  display: grid;
  place-content: center;
  text-align: center;
  padding-top: 40px;
}

.nx-footer--figma .nx-footer-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  margin: 0;
  font-size: 96px;
}


.nx-footer--figma .nx-footer-title span {
  display: block;
}

.nx-footer--figma .nx-footer-cta {
  margin: 50px auto 0;
  height: 60px;
  width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;

  color: #fff;
  font-family: "Syne", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;

  transition: background 0.2s ease, transform 0.2s ease;
}

.nx-footer--figma .nx-footer-cta:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.nx-footer--figma .nx-footer-cta-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.nx-footer--figma .nx-footer-cta-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.95;
}

/* ================================
   BOTTOM (same container as topbar)
================================ */

.nx-footer--figma .nx-footer-bottom {
  max-width: 1500px;
  width: calc(100% - 160px);
  margin: 0 auto;

  padding: 0 0 130px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;

  font-size: 16px;
}

/* LEFT – CONTACT */

.nx-footer--figma .nx-footer-center {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-contact:hover {
  opacity: 1;
}

/* ICON BUBBLE */

.footer-contact-ic {
  width: 24px;
  height: 24px;
}

/* OPTICAL ALIGN FIX */
.footer-contact-ic img {
  width: 24px;
  height: 24px;
  transform: translateX(-2px); 
}

/* RIGHT – SOCIALS */

.nx-footer--figma .nx-footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social:hover img {
  opacity: 1;
  transform: translateY(-2px);
}


/* FOOTER HERO */

.nx-footer-hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:40px;
}


/* TITLE */

.nx-footer-title{
  text-align:center;
}


/* BUTTON */

.footer-btn{
  position:relative;

  width:185px;
  height:63px;

  display:flex;
  align-items:center;

  border-radius:999px;
  padding:5px 5px 5px 25px;

  overflow:hidden;
  cursor:pointer;

  background:rgba(128,128,128,0.1);
  backdrop-filter:blur(5px);

  text-decoration:none;
  color:#fff;

  margin:0 auto; /* CENTROVÁNÍ */
}


/* TEXT */

.footer-btn-text{
  font-size:16px;
  transition:opacity .25s ease;
}


/* WHITE PILL */

.footer-btn-pill{
  position:absolute;

  right:5px;
  top:5px;

  height:calc(100% - 10px);
  width:82px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#fff;
  color:#000;

  border-radius:999px;

  transition:width .45s cubic-bezier(.76,0,.24,1);
}


/* HOVER */

.footer-btn:hover .footer-btn-text{
  opacity:0;
}

.footer-btn:hover .footer-btn-pill{
  width:calc(100% - 10px);
}
/* ================================
   BASIC LOAD ANIMATION
================================ */

@keyframes nxFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nx-footer--figma .nx-footer-title {
  animation: nxFadeUp 0.8s ease-out both;
}

.nx-footer--figma .nx-footer-cta {
  animation: nxFadeUp 0.8s ease-out both;
  animation-delay: 0.08s;
}

.nx-footer--figma .nx-footer-bottom {
  animation: nxFadeUp 0.8s ease-out both;
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .nx-footer--figma * {
    animation: none !important;
  }
}




/* ========================================
   FOOTER RESPONSIVE
======================================== */


/* ===============================
   LARGE LAPTOP
================================ */

@media (max-width: 1400px){

  .nx-footer--figma .nx-footer-title{
    font-size:72px;
  }

}


/* ===============================
   LAPTOP
================================ */

@media (max-width: 1200px){

  .nx-footer--figma .nx-footer-hero,
  .nx-footer--figma .nx-footer-bottom{
    width:calc(100% - 120px);
  }

  .nx-footer--figma .nx-footer-title{
    font-size:64px;
  }

}


/* ===============================
   TABLET
================================ */

@media (max-width: 1024px){

  .nx-footer--figma .nx-footer-hero,
  .nx-footer--figma .nx-footer-bottom{
    width:calc(100% - 80px);
  }

  .nx-footer--figma .nx-footer-title{
    font-size:56px;
  }

  .nx-footer--figma .nx-footer-bottom{
    grid-template-columns:1fr;
    text-align:center;
    gap:40px;
  }

  .nx-footer--figma .nx-footer-center{
    justify-self:center;
    flex-wrap:wrap;
    justify-content:center;
  }

  .nx-footer--figma .nx-footer-right{
    justify-self:center;
  }

}


/* ===============================
   MOBILE
================================ */

@media (max-width: 640px){

  /* remove huge empty space */

  .nx-footer.nx-footer--figma{
    min-height:auto;
  }

  .nx-footer--figma .nx-footer-inner{
    min-height:auto;
    padding-top:120px;
    padding-bottom: 80px;
  }

  .nx-footer--figma .nx-footer-hero,
  .nx-footer--figma .nx-footer-bottom{
    width:calc(100% - 40px);
  }

  /* hero spacing */

  .nx-footer-hero{
    gap:28px;
  }

  /* title */

  .nx-footer--figma .nx-footer-title{
    font-size:44px;
    line-height:1.1;
  }

  /* button */

  .footer-btn{
    width:170px;
    height:56px;
  }

  .footer-btn-pill{
    width:70px;
  }

  /* contacts */

  .nx-footer--figma .nx-footer-center{
    flex-direction:column;
    align-items:center;
    gap:16px;
  }

  /* bottom */

  .nx-footer--figma .nx-footer-bottom{
    margin-top:40px;
    padding-bottom:80px;
    gap:30px;
  }

  /* socials */

  .nx-footer--figma .nx-footer-right{
    gap:22px;
  }

}


/* ===============================
   SMALL MOBILE
================================ */

@media (max-width: 420px){

  .nx-footer--figma .nx-footer-title{
    font-size:36px;
  }

  .footer-contact{
    font-size:14px;
  }

  .footer-social img{
    width:22px;
    height:22px;
  }

}





/* ================================
   RAMP UP REVEAL
================================ */

.nx-footer--figma .nx-footer-title span,
.nx-footer--figma .nx-footer-cta,
.nx-footer--figma .footer-contact,
.nx-footer--figma .footer-social {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.8s cubic-bezier(.22,1,.36,1),
              opacity 0.8s cubic-bezier(.22,1,.36,1);
}

/* visible state */

.nx-footer--figma.is-visible .nx-footer-title span,
.nx-footer--figma.is-visible .nx-footer-cta,
.nx-footer--figma.is-visible .footer-contact,
.nx-footer--figma.is-visible .footer-social {
  opacity: 1;
  transform: translateY(0);
}

/* stagger */

.nx-footer--figma.is-visible .nx-footer-title span:nth-child(1) { transition-delay: 0.05s; }
.nx-footer--figma.is-visible .nx-footer-title span:nth-child(2) { transition-delay: 0.12s; }

.nx-footer--figma.is-visible .nx-footer-cta { transition-delay: 0.20s; }

.nx-footer--figma.is-visible .footer-contact:nth-child(1) { transition-delay: 0.32s; }
.nx-footer--figma.is-visible .footer-contact:nth-child(2) { transition-delay: 0.38s; }

.nx-footer--figma.is-visible .footer-social:nth-child(1) { transition-delay: 0.46s; }
.nx-footer--figma.is-visible .footer-social:nth-child(2) { transition-delay: 0.50s; }
.nx-footer--figma.is-visible .footer-social:nth-child(3) { transition-delay: 0.54s; }
.nx-footer--figma.is-visible .footer-social:nth-child(4) { transition-delay: 0.58s; }