/* Header & footer — same look as index.html */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  text-decoration: none;
  color: #0a192f;
  font-weight: 900;
  font-size: clamp(20px, 4vw, 28px);
}

.site-header .logo span {
  color: #ff5a3a;
}

.site-header nav a {
  text-decoration: none;
  color: #0a192f;
  margin-left: 24px;
  font-weight: 600;
}

.site-header nav a:hover {
  color: #e54527;
}

.site-footer {
  background: #0a192f;
  color: #fff;
  padding: 60px 0;
  margin-top: 60px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.site-footer h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.site-footer .footer-copyright {
  color: #cbd5e1;
  font-size: 14px;
}

.site-footer .footer-copyright p {
  margin: 0;
}

.site-footer .footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.site-footer .share-button {
  color: #fff;
  font-weight: 600;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-footer .share-button:hover {
  color: #fff;
  opacity: 0.92;
}

.site-footer .share-button--toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-footer .share-button__chevron {
  transition: transform 0.2s;
}

.site-footer .share-dropdown.is-open .share-button__chevron {
  transform: rotate(180deg);
}

.site-footer .share-dropdown {
  position: relative;
}

.site-footer .share-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 30;
  min-width: 220px;
  padding: 8px;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 43, 68, 0.06);
}

.site-footer .share-menu[hidden] {
  display: none;
}

.site-footer .share-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #122b44;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.site-footer .share-menu__item:hover,
.site-footer .share-menu__item:focus-visible {
  background: #f7f9fc;
  color: #ff5a3a;
  outline: none;
}

.site-footer .share-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  color: #fff;
}

.site-footer .share-menu__icon--telegram { background: #2aabee; }
.site-footer .share-menu__icon--whatsapp { background: #25d366; }
.site-footer .share-menu__icon--vk { background: #0077ff; }
.site-footer .share-menu__icon--ok { background: #ee8208; }
.site-footer .share-menu__icon--viber { background: #7360f2; }
.site-footer .share-menu__icon--max {
  background: linear-gradient(135deg, #5b4eff, #8b5cf6);
}
.site-footer .share-menu__icon--copy {
  background: #f7f9fc;
  color: #0a192f;
}

.site-footer .share-menu__item.is-copied {
  color: #ff5a3a;
}

@media (max-width: 1023px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-header nav a {
    margin-left: 16px;
    font-size: 14px;
  }
}
