/* =============================================================
   Future Response Footer — from original website
   All rem values converted from 10px-base to 16px-base (×0.625)
   ============================================================= */


/* Override Bootstrap container to use full viewport width inside the footer */
.page-footer .container {
  max-width: 95%;
  padding-left: 3rem;
  padding-right: 3rem;
}

/* ===== Footer core ===== */
/*
  margin-top, ::before height, and .top padding-top all use the same
  clamp() as .footer-transition so the footer overlaps exactly the
  transition strip — never the real page content above it.
*/
.page-footer {
  overflow: hidden;
  margin-top: calc(-1 * clamp(160px, 22vw, 320px));
  color: #F5F3EF;
  position: relative;
}

/* Gradient mask: fades body colour → transparent over the overlap zone,
   smoothly revealing the aurora and dome with no hard clip edge. */
.page-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(160px, 22vw, 320px);
  background: linear-gradient(
    to bottom,
    #040E2F   0%,
    #040e2f   10%,
    #040c2a   25%,
    #030920   45%,
    #02071a   65%,
    #020619   82%,
    transparent 100%
  );
  z-index: 50;
  pointer-events: none;
}

.page-footer .top {
  position: relative;
  padding-top: clamp(160px, 22vw, 320px);
}

.page-footer .top .container {
  height: 18.75rem;        /* 30rem × 0.625 */
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
}

@media (min-width: 768px) {
  .page-footer .top .container { height: 25.625rem; }   /* 41rem */
}

@media (min-width: 992px) {
  .page-footer .top .container { height: 31.25rem; }    /* 50rem */
}

@media (min-width: 1200px) {
  .page-footer .top .container { height: 34.375rem; }   /* 55rem */
}

@media (min-width: 1400px) {
  .page-footer .top .container { height: 40.625rem; }   /* 65rem */
}

@media (min-width: 1600px) {
  .page-footer .top .container { height: 46.875rem; }   /* 75rem */
}

.page-footer .top .container .content {
  position: relative;
  z-index: 99;
  padding: 2.5rem 1.875rem 0.625rem 1.875rem;
  width: 100%;
}

@media (min-width: 992px) {
  .page-footer .top .container .content {
    padding: 0 0 1.875rem 0;
  }
}

.page-footer .top .container .content img {
  max-width: 100%;
  height: auto;
}

.page-footer .top .container .content p {
  font-size: 0.75rem;     /* 1.2rem × 0.625 = 12px */
  line-height: 0.875rem;
  color: #4F46E5;
  padding-top: 0.625rem;
}

@media (min-width: 992px) {
  .page-footer .top .container .content p {
    font-size: 2rem;      /* 3.2rem × 0.625 = 32px */
    line-height: 0.875rem;
  }
}

@media (min-width: 1200px) {
  .page-footer .top .container .content p {
    font-size: 2rem;
    line-height: 0.875rem;
  }
}

/* ===== Circle (half-dome + animated aurora orbs) ===== */
.page-footer .circle {
  width: 100%;
  height: auto;
  position: absolute;
  top: 5.625rem;           /* 9rem × 0.625 */
  left: 0;
  aspect-ratio: 2 / 1;
  pointer-events: none;
}

.page-footer .circle:after {
  content: '';
  width: 100vw;
  height: 18.75rem;
  background: linear-gradient(to bottom, rgba(2,6,23,0) 0%, rgba(2,6,23,1) 12%, rgba(2,6,23,1) 100%);
  position: absolute;
  bottom: -15.625rem;
  left: 50%;
  margin-left: -50vw;
}

.page-footer .circle .circle-main {
  background: #020617;
  width: 100vw;
  margin-left: -50vw;
  aspect-ratio: 2 / 1;
  border-radius: 1000px 1000px 0 0;
  top: 0;
  left: 50%;
  position: absolute;
  z-index: 10;
  height: 87.5rem;        /* 140rem × 0.625 */
}

@media (min-width: 2000px) {
  .page-footer .circle .circle-main {
    border-radius: 3000px 3000px 0 0;
  }
}

/* --- Aurora orbs (mobile) --- */
.page-footer .circle .circle-shadow-1 {
  width: 12.5rem;         /* 20rem × 0.625 */
  height: 12.5rem;
  border-radius: 50%;
  position: absolute;
  left: 12%;
  top: 5%;
  background: linear-gradient(180deg, #4F46E5 0%, #FF5E4D 100%);
  filter: blur(27px);
  animation: rotate360_1 5s linear infinite;
}

.page-footer .circle .circle-shadow-2 {
  width: 8.125rem;        /* 13rem × 0.625 */
  height: 8.125rem;
  border-radius: 50%;
  position: absolute;
  top: 14%;
  left: 50%;
  margin-left: -4.0625rem;
  background: linear-gradient(180deg, #FFF 0%, #FF5E4D 100%);
  filter: blur(62px);
  animation: rotate360_2 5s linear infinite;
}

.page-footer .circle .circle-shadow-3 {
  width: 11.875rem;       /* 19rem × 0.625 */
  height: 11.875rem;
  border-radius: 50%;
  position: absolute;
  right: 15%;
  top: 10%;
  background: linear-gradient(180deg, #4F46E5 0%, #FF5E4D 100%);
  filter: blur(44px);
  animation: rotate360_1 5s linear infinite;
}

/* --- Aurora orbs (tablet+) --- */
@media (min-width: 768px) {
  .page-footer .circle .circle-shadow-1 {
    width: 27.5rem;       /* 44rem × 0.625 */
    height: 27.5rem;
    left: 12%;
    top: 5%;
    filter: blur(108px);
  }

  .page-footer .circle .circle-shadow-2 {
    width: 23.125rem;     /* 37rem × 0.625 */
    height: 23.125rem;
    top: 14%;
    left: 50%;
    margin-left: -15.9375rem;
    filter: blur(247px);
  }

  .page-footer .circle .circle-shadow-3 {
    width: 23.125rem;
    height: 23.125rem;
    right: 15%;
    top: 10%;
    filter: blur(176px);
  }
}

@media (min-width: 992px) {
  .page-footer .circle .circle-shadow-1 {
    width: 27.5rem;
    height: 27.5rem;
    left: 12%;
    top: 5%;
    filter: blur(108px);
  }

  .page-footer .circle .circle-shadow-2 {
    width: 23.125rem;
    height: 23.125rem;
    top: 14%;
    left: 50%;
    margin-left: -15.9375rem;
    filter: blur(247px);
  }

  .page-footer .circle .circle-shadow-3 {
    width: 23.125rem;
    height: 23.125rem;
    right: 15%;
    top: 10%;
    filter: blur(175px);
  }
}

@media (min-width: 1400px) {
  .page-footer .circle .circle-shadow-1 {
    width: 37.5rem;       /* 60rem × 0.625 */
    height: 37.5rem;
    top: 15%;
    left: 10%;
  }

  .page-footer .circle .circle-shadow-2 {
    width: 31.25rem;      /* 50rem × 0.625 */
    height: 31.25rem;
    top: 25%;
    left: 50%;
  }

  .page-footer .circle .circle-shadow-3 {
    width: 43.75rem;      /* 70rem × 0.625 */
    height: 43.75rem;
    right: 15%;
    top: 15%;
  }
}

@media (min-width: 1600px) {
  .page-footer .circle .circle-shadow-1 {
    width: 50rem;         /* 80rem × 0.625 */
    height: 50rem;
    top: 15%;
    left: 10%;
  }

  .page-footer .circle .circle-shadow-2 {
    width: 43.75rem;      /* 70rem × 0.625 */
    height: 43.75rem;
    top: 25%;
    left: 50%;
  }

  .page-footer .circle .circle-shadow-3 {
    width: 56.25rem;      /* 90rem × 0.625 */
    height: 56.25rem;
    right: 15%;
    top: 15%;
  }
}

@media (min-width: 2000px) {
  .page-footer .circle .circle-shadow-1 {
    width: 50rem;
    height: 50rem;
    top: 12%;
    left: 2%;
  }

  .page-footer .circle .circle-shadow-2 {
    width: 43.75rem;
    height: 43.75rem;
    top: 20%;
    left: 50%;
  }

  .page-footer .circle .circle-shadow-3 {
    width: 56.25rem;
    height: 56.25rem;
    right: 4%;
    top: 16%;
  }
}

/* ===== Middle: address + contact ===== */
.page-footer .middle {
  padding: 1.875rem 0;    /* 3rem × 0.625 */
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .page-footer .middle {
    padding: 6.25rem 0 4rem 0;  /* 10rem / 6.4rem × 0.625 */
  }
}

.page-footer .middle .row > div {
  margin-bottom: 2rem;    /* 3.2rem × 0.625 */
}

@media (min-width: 992px) {
  .page-footer .middle .row > div {
    margin-bottom: 0;
  }
}

.page-footer .middle p {
  font-size: 1rem;        /* 1.6rem × 0.625 = 16px */
  line-height: 150%;
  text-align: center;
}

@media (min-width: 992px) {
  .page-footer .middle p {
    text-align: left;
  }

  .page-footer .middle .column--2 p {
    text-align: right;
  }
}

.page-footer .middle a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.page-footer .middle a:hover {
  color: #fff;
}

/* ===== Bottom: legal + social ===== */
.page-footer .bottom {
  padding: 0.5rem 0 0 0;
  position: relative;
  z-index: 10;
  background: #020617;
}

.page-footer .bottom .inner {
  padding: 4rem 0;        /* 6.4rem × 0.625 */
  border-top: 1px solid #F5F3EF;
}

.page-footer .container .row {
  display: flex;
  align-items: center;
}

.page-footer .socials {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-footer .socials img {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .page-footer .container .row .column--2 {
    align-self: flex-end;
    padding-bottom: 1rem;
  }
}

/* ===== Menu footer (legal links) ===== */
.menu-footer {
  margin: 0;
  padding: 0;
  display: flex;
  font-size: 0.75rem;     /* 1.2rem × 0.625 = 12px */
  line-height: 1.375rem;  /* 2.2rem × 0.625 */
  flex-direction: column;
  list-style: none;
}

@media (min-width: 768px) {
  .menu-footer {
    flex-direction: row;
  }
}

.menu-footer > li {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .menu-footer > li {
    margin-bottom: 0;
  }
}

.menu-footer > li:not(:last-child) {
  margin-right: 1rem;
}

.menu-footer li a {
  color: #F5F3EF;
  text-decoration: none;
  transition: all .3s ease-in-out;
  position: relative;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.875rem;       /* 3rem × 0.625 */
}

.menu-footer li a:active {
  box-shadow: 0 0 4px 0 #4F46E5;
}

.menu-footer li a:hover,
.menu-footer .current-menu-item > a,
.menu-footer .sfHover > a {
  background: #040E2F;
}

/* ===== Animations ===== */
@keyframes rotate360_1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes rotate360_2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ===== Footer transition strip ===== */
/* Solid body colour — the footer's ::before gradient handles the visual blend */
.footer-transition {
  width: 100%;
  height: clamp(160px, 22vw, 320px);
  background: #040E2F;
}
