/* ===================== FOOTER ===================== */
.site-footer {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  padding: clamp(60px, 7vw, 110px) clamp(16px, 3vw, 48px) clamp(28px, 3vw, 44px);
  background: #ffffff;
}
/* sky background image — full, smoothly blended into the page at the top */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../footer-image/footer-bg.webp") center / cover no-repeat;
  z-index: 0;
  /* soft fade on the top & bottom only — image runs full width to the sides */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
}
/* soft readability veil over the sky (keeps the dark text legible) */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.30) 32%,
    rgba(255, 255, 255, 0.34) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
}

.ft-card {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px);
}

.ft-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

/* ---------- Brand column (center) ---------- */
.ft-brand {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ft-logo {
  height: clamp(54px, 6vw, 68px);
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.ft-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.35;
  color: #1a2336;
  max-width: 360px;
  margin: 0 auto 22px;
}
.ft-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5b9bf5, #2f6bd8);
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 14px 30px rgba(47, 107, 216, 0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-contact svg { width: 19px; height: 19px; }
.ft-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(47, 107, 216, 0.50);
}
.ft-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #5d677c;
}

/* app badges */
.ft-apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.ft-app {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(120, 140, 190, 0.22);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(40, 60, 110, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ft-app:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(40, 60, 110, 0.18); }
.ft-app-ic { width: 26px; height: 26px; flex: 0 0 auto; object-fit: contain; }
.ft-app span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.ft-app small { font-size: 0.62rem; letter-spacing: 0.05em; color: #8a94a8; text-transform: uppercase; }
.ft-app strong { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.02rem; color: #1a2336; }

/* get-in-touch — inline contact details under the brand */
.ft-touch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 26px;
}
.ft-info {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #3a4658;
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.ft-info svg { width: 18px; height: 18px; flex: 0 0 auto; color: #2f6bd8; }
.ft-info:hover { color: #2f6bd8; }

/* ---------- Link columns (plain text, no box) ---------- */
.ft-col {
  max-width: 260px;
  padding: 0;
  border: none;
  box-shadow: none;
  background: none;
}
.ft-col--left { order: 1; justify-self: start; }
.ft-col--right { order: 3; justify-self: end; }
.ft-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #54607a;
  margin-bottom: 20px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ft-col a {
  text-decoration: none;
  color: #2c3950;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.ft-col a:hover { color: #2f6bd8; padding-left: 4px; }

/* ---------- Bottom ---------- */
.ft-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: clamp(28px, 3vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(120, 140, 190, 0.28);
}
.ft-bottom p {
  font-size: 0.88rem;
  color: #5d677c;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .ft-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .ft-brand { order: 0; grid-column: 1 / -1; margin-bottom: 8px; }
  .ft-col--left { order: 1; }
  .ft-col--right { order: 2; }
}
@media (max-width: 540px) {
  .ft-grid { grid-template-columns: 1fr; justify-items: center; }
  .ft-apps .ft-app { flex: 1 1 auto; justify-content: center; }
  .ft-touch { flex-direction: column; align-items: center; gap: 12px; }

  /* center the link columns and color the links blue */
  .ft-col,
  .ft-col--left,
  .ft-col--right {
    justify-self: center;
    text-align: center;
    max-width: 100%;
  }
  .ft-col ul { align-items: center; }
  .ft-col a:hover { padding-left: 0; }
  /* make only the section headings dark/prominent */
  .ft-col h4 { color: #16202f; }
}

/* longer, softer top fade on phones so the sky blends with no hard line */
@media (max-width: 720px) {
  .site-footer::before,
  .site-footer::after {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 92%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 92%, transparent 100%);
  }
}

