/* ФУТЕР */

.footer {
  background-color: #000;
  color: #fff;
  width: 100%;
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social i {
  font-size: 2rem;
  line-height: 1;
}

.footer-social img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.footer-lang-select select {
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.footer-menu {
  width: 100%;
}

.footer-section {
  border-top: 1px solid #222;
  padding: 1rem 0;
}

.accordion-title {
  width: 100%;
  background: none;
  color: #ccc;
  font-size: 1rem;
  text-align: left;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-title::after {
  content: '▼';
  font-size: 0.75rem;
  transform: rotate(0deg);
  transition: transform 0.2s;
}

.footer-section.open .accordion-title::after {
  transform: rotate(180deg);
}

.accordion-content {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section.open .accordion-content {
  display: flex;
}

.accordion-content a {
  color: #888;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.accordion-content a:hover {
  color: var(--brand-yellow, #fff700);
}

.accordion-content a.footer-message-link i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.accordion-content p {
  color: #888;
  font-size: 0.95rem;
}

.footer-legal-details {
  width: 100%;
  margin-top: 1.5rem;
  color: #888;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.footer-legal-details strong {
  color: #aaa;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 9999;
  width: min(760px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 247, 0, 0.28);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-notice__text {
  display: grid;
  gap: 5px;
  font-size: 0.86rem;
  line-height: 1.35;
}

.cookie-notice__text strong {
  color: var(--brand-yellow, #fff700);
  font-size: 0.95rem;
}

.cookie-notice__text span {
  color: #ddd;
}

.cookie-notice__text a,
.cookie-notice__link {
  color: var(--brand-yellow, #fff700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice__actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  grid-template-columns: auto auto;
}

.cookie-notice__link {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cookie-notice__button {
  min-width: 112px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-yellow, #fff700);
  color: #111;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
  background: #fff;
}

.cookie-notice__button--decline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.cookie-notice__button--decline:hover,
.cookie-notice__button--decline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-notice {
    grid-template-columns: 1fr;
    bottom: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-notice__actions {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cookie-notice__link {
    grid-column: auto;
    text-align: center;
    white-space: normal;
  }

  .cookie-notice__button {
    width: 100%;
  }
}
