/* ===== FOOTER ===== */


#footer {
  background: #ffffff;
  border-top: 1px solid var(--line-light-solid);
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-bottom: max(clamp(48px, 6vw, 80px), env(safe-area-inset-bottom));
}

/* Лого */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}


/* Логотип дизайнера */
.footer-logo-img {
  width: clamp(160px, 24vw, 240px);
  height: auto;
  display: block;
}

/* Навигация */
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 0.3s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-nav-link:hover { opacity: 0.9; }

/* Соцсети */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  opacity: 0.4;
  transition: opacity 0.3s;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
}

.footer-social:hover { opacity: 1; }
.footer-social svg { width: 24px; height: 24px; fill: var(--text); }

/* Переключатель языка */
.footer-lang {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mid);
  cursor: pointer;
  background: none;
  border: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  transition: color 0.3s;
}

.footer-lang:hover { color: var(--text); }

/* Копирайт */
.footer-copy {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 767px) {
  .footer-nav {
    gap: 16px;
  }
}

/* ===== FLOATING ЗАПИСАТЬСЯ BUTTON ===== */
#btn-zapisat {
  opacity: 0;
  transform: scale(0);
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 9999;
  background: var(--maroon);
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: var(--text-button);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(134, 13, 18, 0.35);
  transition: background 0.3s var(--ease-gold), box-shadow 0.3s;
}

#btn-zapisat:hover {
  background: #6a0a0e;
  box-shadow: 0 6px 28px rgba(134, 13, 18, 0.5);
}

@media (max-width: 767px) {
  #btn-zapisat {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    font-size: 11px;
    padding: 10px 18px;
    letter-spacing: 0.2em;
  }
}
