/* =====================================================
   APEX IP — sections/footer.css
   Footer: video background · Contact Us · logo + tagline
   ===================================================== */

.apx-footer {
  position: relative;
  width: 100%;
  max-width: var(--apx-canvas);
  margin: 0 auto;
  overflow: hidden;
  background-color: #0D0D0D;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* ---------- Video background ---------- */
.apx-footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.apx-footer-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Foreground: glass layer ---------- */
.apx-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 160px var(--apx-pad-x) 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.apx-footer-main {
  display: flex;
  flex-direction: column;
  gap: 160px;
}

/* ---------- Contact Us headline + arrow ---------- */
.apx-footer-cta {
  display: block;
  width: 100%;
  text-align: center;
  color: #F2F2F2;
  transition: opacity 0.25s ease;
}

.apx-footer-cta:hover {
  opacity: 0.9;
}

.apx-footer-cta-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-size: 144px;
  font-weight: 500;
  line-height: 144px;
  letter-spacing: -0.02em;
}

.apx-footer-cta-line {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.apx-footer-cta-arrow {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apx-footer-cta:hover .apx-footer-cta-arrow {
  transform: translate(8px, -8px);
}

/* ---------- Bottom row: logo + tagline ---------- */
.apx-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.apx-footer-logo {
  display: flex;
  align-items: center;
  height: 25px;
  flex-shrink: 0;
}

.apx-footer-tagline {
  max-width: 360px;
  color: #F2F2F2;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
  text-align: right;
}

/* ---------- Divider + copyright ---------- */
.apx-footer-rule {
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid #777777;
  margin: 0;
}

.apx-footer-copy {
  text-align: center;
  color: #777777;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

.apx-footer-copy-link {
  color: inherit;
  transition: color 0.25s ease;
}

.apx-footer-copy-link:hover {
  color: #F2F2F2;
}

/* =====================================================
   RESPONSIVE — footer.css
   ===================================================== */

/* ---------- Laptop (≤ 1440px) ---------- */
@media (max-width: 1440px) {
  .apx-footer-inner {
    padding-top: 120px;
  }

  .apx-footer-main {
    gap: 120px;
  }

  .apx-footer-cta-text {
    font-size: 112px;
    line-height: 112px;
  }

  .apx-footer-cta-arrow {
    width: 84px;
    height: 84px;
  }
}

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .apx-footer-inner {
    padding-top: 96px;
    gap: 32px;
  }

  .apx-footer-main {
    gap: 80px;
  }

  .apx-footer-cta-text {
    font-size: 80px;
    line-height: 80px;
  }

  .apx-footer-cta-line {
    gap: 16px;
  }

  .apx-footer-cta-arrow {
    width: 60px;
    height: 60px;
  }

  .apx-footer-tagline {
    font-size: 16px;
    max-width: 320px;
  }
}

/* ---------- Mobile (≤ 640px) ---------- */
@media (max-width: 640px) {
  .apx-footer-inner {
    padding-top: 72px;
    padding-bottom: 32px;
    gap: 24px;
  }

  .apx-footer-main {
    gap: 56px;
  }

  .apx-footer-cta-text {
    font-size: 48px;
    line-height: 48px;
    align-items: center;
  }

  .apx-footer-cta-line {
    gap: 10px;
  }

  .apx-footer-cta-arrow {
    width: 38px;
    height: 38px;
  }

  .apx-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .apx-footer-tagline {
    text-align: center;
    font-size: 14px;
    max-width: 100%;
  }

  .apx-footer-copy {
    font-size: 12px;
  }
}
