/* ===== Footer block (Liquid Glass) ===== */
.gd-footer-wrap {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 34px;
  position: relative;
  z-index: 2;
}

.gd-footer {
  position: relative;
  border-radius: calc(var(--r) + 6px);
  border: 1px solid var(--br2);
  background: radial-gradient(900px 240px at 15% 0%, rgba(255, 180, 120, .10), transparent 55%), radial-gradient(900px 240px at 85% 0%, rgba(120, 190, 255, .10), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.gd-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 120, .10), rgba(120, 190, 255, .08), transparent);
  opacity: .55;
}

.gd-footer-inner {
  position: relative;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.gd-footer-left {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gd-footer-copy {
  font-size: 13px;
  color: var(--dim);
  letter-spacing: .01em;
}

.gd-footer-contacts {
  justify-content: center;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--dim2);
  font-size: 13px;
}

.gd-footer-contacts a {
  color: var(--txt);
  text-decoration: none;
  opacity: .86;
  transition: opacity .18s ease, transform .18s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding-bottom: 1px;
}

.gd-footer-contacts a:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-bottom-color: rgba(255, 210, 120, .38);
}

.gd-footer-right {
  margin-top: 14px;
  justify-content: center;
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
}

@media (max-width: 860px) {
  .gd-footer-right {
    flex-wrap: wrap;
  }
}

.gd-footer-right {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.gd-footbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--br2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .05));
  box-shadow: var(--shadow2);
  color: var(--txt);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .01em;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  overflow: hidden;
  max-width: 100%;
}

.gd-footbtn::before {
  content: "";
  position: absolute;
  inset: -40% -35%;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 120, .10), rgba(120, 190, 255, .08), transparent);
  transform: translateX(-40%) rotate(8deg);
  opacity: .0;
  transition: opacity .18s ease;
  pointer-events: none;
}

.gd-footbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .32);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .055));
}

.gd-footbtn:hover::before {
  opacity: .85;
  animation: gdShimmer 1.25s ease-out 1;
}

@keyframes gdShimmer {
  0% {
    transform: translateX(-55%) rotate(8deg);
  }

  100% {
    transform: translateX(55%) rotate(8deg);
  }
}

.gd-footbtn:active {
  transform: translateY(0px) scale(.99);
}

.gd-footbtn .duck {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  border: none;
  transform: translateZ(0);
  transition: transform .18s ease;
  flex: 0 0 auto;
}

.gd-footbtn:hover .duck {
  transform: rotate(-6deg) translateY(-1px);
  border-color: rgba(255, 210, 120, .28);
}

/* size polish */
.gd-footer-copy {
  font-size: 14px !important;
}

.gd-footer-contacts {
  font-size: 14px !important;
}

.gd-footbtn {
  font-size: 14px !important;
  padding: 11px 14px !important;
}

.gd-footbtn .duck {
  width: 20px !important;
  height: 20px !important;
}

.gd-footer-inner {
  justify-items: center;
}

.gd-footer-right {
  justify-content: center !important;
}

.gd-footbtn>* {
  position: relative;
  z-index: 1;
}

/* liquid fill hover (soft wave + glass fill) */
.gd-footbtn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.gd-footbtn::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -55%;
  height: 160%;
  border-radius: 28px;
  opacity: 0;
  transform: translateY(22%);
  background: radial-gradient(22px 12px at 18px 18px, rgba(255, 210, 120, .22) 0 60%, transparent 61%), radial-gradient(22px 12px at 58px 18px, rgba(120, 190, 255, .18) 0 60%, transparent 61%), radial-gradient(22px 12px at 98px 18px, rgba(255, 255, 255, .10) 0 60%, transparent 61%), linear-gradient(180deg, rgba(255, 210, 120, .16) 0%, rgba(120, 190, 255, .12) 45%, rgba(255, 255, 255, .06) 100%);
  background-size: 120px 44px, 120px 44px, 120px 44px, 100% 100%;
  background-position: 0 0, 40px 0, 80px 0, 0 0;
  filter: blur(.2px);
  transition: opacity .22s ease, transform .36s cubic-bezier(.2, .9, .2, 1);
  z-index: 0;
  mix-blend-mode: screen;
}

@keyframes gdLiquidWave {
  0% {
    background-position: 0 0, 40px 0, 80px 0, 0 0;
  }

  100% {
    background-position: 160px 0, 200px 0, 240px 0, 0 0;
  }
}

@keyframes gdLiquidBob {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(-3%);
  }

  100% {
    transform: translateY(0%);
  }
}

.gd-footbtn>* {
  position: relative;
  z-index: 1;
}