.dfao-footer,
.dfao-footer * {
  box-sizing: border-box;
}

.dfao-footer {
  --dfao-footer-navy: #041a3b;
  --dfao-footer-blue: #2b63c7;
  --dfao-footer-green: #70ce80;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 0 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgba(112, 206, 128, 0.12), transparent 26%),
    radial-gradient(circle at 92% 74%, rgba(55, 101, 196, 0.24), transparent 28%),
    linear-gradient(145deg, #082d60 0%, var(--dfao-footer-navy) 62%, #03132c 100%);
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 17px;
}

.dfao-footer a {
  text-underline-offset: 3px;
}

.dfao-footer__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.dfao-footer__cta {
  display: flex;
  min-height: 185px;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 34px clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(115deg, rgba(42, 98, 199, 0.98), rgba(36, 86, 180, 0.9) 58%, rgba(60, 144, 91, 0.92));
  box-shadow: 0 25px 70px rgba(0, 8, 26, 0.25);
}

.dfao-footer__cta p {
  margin: 0 0 10px;
  color: #a7ecb2;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dfao-footer__cta h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 820;
  letter-spacing: -0.038em;
  line-height: 1.12;
}

.dfao-footer__cta > a {
  display: inline-flex;
  min-height: 55px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 21px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(1, 16, 46, 0.2);
  color: #174a9e;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.dfao-footer__cta > a:hover,
.dfao-footer__cta > a:focus-visible {
  background: #ecfff0;
  color: #236f3a;
  transform: translateY(-2px);
}

.dfao-footer__main {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(145px, 0.7fr) minmax(190px, 0.9fr) minmax(250px, 1.1fr);
  gap: clamp(38px, 5vw, 72px);
  padding: clamp(76px, 8vw, 116px) 0 clamp(58px, 6vw, 88px);
}

.dfao-footer__brand {
  align-self: start;
}

.dfao-footer__logo {
  display: inline-flex;
  width: min(100%, 285px);
  min-height: 88px;
  align-items: center;
  padding: 12px 17px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 45px rgba(0, 7, 23, 0.22);
}

.dfao-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.dfao-footer__brand > p {
  max-width: 330px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.97rem;
  line-height: 1.72;
}

.dfao-footer__crm {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: #a4e7af;
  font-size: 0.83rem;
  font-weight: 790;
  letter-spacing: 0.08em;
}

.dfao-footer__crm::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dfao-footer-green);
  box-shadow: 0 0 0 6px rgba(112, 206, 128, 0.11);
  content: "";
}

.dfao-footer__title {
  margin: 0 0 23px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dfao-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dfao-footer__nav a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.dfao-footer__nav a::before {
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--dfao-footer-green);
  content: "";
  transition: margin 160ms ease, width 160ms ease;
}

.dfao-footer__nav a:hover,
.dfao-footer__nav a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

.dfao-footer__nav a:hover::before,
.dfao-footer__nav a:focus-visible::before {
  width: 14px;
  margin-right: 8px;
}

.dfao-footer__contact {
  min-width: 0;
}

.dfao-footer__contact > a:not(.dfao-footer__locations-link) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.dfao-footer__contact > a:not(.dfao-footer__locations-link):first-of-type {
  padding-top: 0;
}

.dfao-footer__contact > a > span {
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dfao-footer__contact > a > strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.5;
}

.dfao-footer__contact > a:not(.dfao-footer__locations-link):hover strong,
.dfao-footer__contact > a:not(.dfao-footer__locations-link):focus-visible strong {
  color: #a9ebb4;
}

.dfao-footer__locations-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #a7e9b2;
  font-size: 0.88rem;
  font-weight: 770;
  text-decoration: none;
}

.dfao-footer__cta .dfao-ui-arrow,
.dfao-footer__locations-link .dfao-ui-arrow {
  font-size: 1rem;
}

.dfao-footer__locations-link:hover,
.dfao-footer__locations-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.dfao-footer__bottom {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 21px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.dfao-footer__copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  line-height: 1.62;
}

.dfao-footer__copyright i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.dfao-footer__developer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.69rem;
  font-weight: 690;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.dfao-footer__developer-logo {
  position: relative;
  display: block;
  width: 142px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: #fdebda;
  box-shadow: 0 10px 24px rgba(0, 5, 18, 0.17);
}

.dfao-footer__developer-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 172px;
  max-width: none;
  height: 172px;
  transform: translate(-50%, -50%);
}

.dfao-footer__developer:hover,
.dfao-footer__developer:focus-visible {
  color: #fff;
}

.dfao-footer__developer:hover .dfao-footer__developer-logo,
.dfao-footer__developer:focus-visible .dfao-footer__developer-logo {
  border-color: rgba(255, 255, 255, 0.32);
}

.dfao-footer__orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
  animation: dfao-footer-orbit 28s linear infinite;
}

.dfao-footer__orbit::before {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dfao-footer-green);
  box-shadow: 0 0 0 7px rgba(112, 206, 128, 0.08);
  content: "";
}

.dfao-footer__orbit--one {
  right: -290px;
  bottom: -390px;
  width: 760px;
  height: 760px;
}

.dfao-footer__orbit--one::before {
  top: 50%;
  left: -5px;
}

.dfao-footer__orbit--two {
  top: 150px;
  left: -250px;
  width: 520px;
  height: 520px;
  animation-direction: reverse;
  animation-duration: 21s;
}

.dfao-footer__orbit--two::before {
  top: -5px;
  left: 50%;
}

@keyframes dfao-footer-orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1040px) {
  .dfao-footer__main {
    grid-template-columns: minmax(250px, 1.35fr) repeat(2, minmax(150px, 0.8fr));
  }

  .dfao-footer__contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 0.55fr 1fr auto;
    align-items: end;
    gap: 28px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dfao-footer__contact .dfao-footer__title {
    grid-column: 1 / -1;
    margin-bottom: -8px;
  }

  .dfao-footer__contact > a:not(.dfao-footer__locations-link) {
    border-bottom: 0;
    padding: 0;
  }

  .dfao-footer__locations-link {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .dfao-footer {
    padding: 0 18px;
  }

  .dfao-footer__cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 27px;
  }

  .dfao-footer__cta > a {
    width: 100%;
  }

  .dfao-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dfao-footer__brand {
    grid-column: 1 / -1;
  }

  .dfao-footer__contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dfao-footer__contact .dfao-footer__title {
    grid-column: auto;
    margin-bottom: 0;
  }

  .dfao-footer__contact > a:not(.dfao-footer__locations-link) {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dfao-footer__locations-link {
    margin-top: 6px;
  }

  .dfao-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0 34px;
  }
}

@media (max-width: 470px) {
  .dfao-footer__main {
    grid-template-columns: 1fr;
  }

  .dfao-footer__brand {
    grid-column: auto;
  }

  .dfao-footer__copyright {
    align-items: flex-start;
    flex-direction: column;
  }

  .dfao-footer__copyright i {
    display: none;
  }

  .dfao-footer__developer {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfao-footer__orbit {
    animation: none !important;
  }

  .dfao-footer__cta > a,
  .dfao-footer__nav a {
    transition: none !important;
  }
}
