/* ══════════════════════════════
   HEADER PATCH
══════════════════════════════ */

/* Розтягуємо inner на повну ширину з більшими відступами */
.site-header-inner {
  max-width: 100%;
  padding: 0 64px;
}

/* Помаранчева лінія знизу хедера */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B00 0%, rgba(255,107,0,0.3) 60%, transparent 100%);
  pointer-events: none;
}
.site-header { position: sticky; top: 0; z-index: 100; }

/* ── LOGIN button — строгий outline ── */
.btn-header-ghost {
  height: 36px;
  padding: 0 22px;
  background: transparent;
  border: 1px solid #333;
  color: #666;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  position: relative;
  overflow: hidden;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Shimmer при hover */
.btn-header-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,107,0,0.06);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.btn-header-ghost:hover::before { transform: translateX(0); }
.btn-header-ghost:hover {
  border-color: #FF6B00 !important;
  color: #FF6B00 !important;
}

/* ── SIGN-UP button — помаранчевий з анімацією ── */
.btn-header-primary {
  height: 36px;
  padding: 0 22px;
  background: #FF6B00;
  border: 1.5px solid #FF6B00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Fill wipe на hover */
.btn-header-primary::before { display: none; }

.btn-header-primary:hover {
  background: transparent !important;
  color: #FF6B00 !important;
  border-color: #FF6B00 !important;
}
.btn-header-primary > * { position: relative; z-index: 1; }
.btn-header-primary:hover::before { transform: translateX(0); }
.btn-header-primary:hover {
  color: #FF6B00 !important;
  background: #FF6B00;
}

/* ── Активний nav link ── */
.site-nav a.active {
  color: #fff;
}
.site-nav a.active::after {
  transform: scaleX(1);
}

/* ══════════════════════════════
   FOOTER PATCH — анімації
══════════════════════════════ */

/* Reveal при скролі */
.footer-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.footer-reveal.fr-visible {
  opacity: 1;
  transform: none;
}

/* Social кнопки — bounce hover */
.footer-social-btn {
  transition: border-color 0.2s, color 0.2s, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0;
}
.footer-social-btn:hover {
  transform: translateY(-4px) scale(1.1) !important;
}

/* Footer links hover */
.footer-links a {
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #FF6B00;
  transition: width 0.25s ease;
}
.footer-links a:hover::after { width: 100%; }
.footer-links a:hover { padding-left: 0 !important; color: #fff; }

/* Newsletter focus glow */
.footer-newsletter {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-newsletter:focus-within {
  border-color: #FF6B00;
  box-shadow: 0 0 0 3px rgba(255,107,0,0.08);
}

/* Footer stat hover */
.footer-stat {
  cursor: default;
  transition: transform 0.2s;
}
.footer-stat:hover { transform: translateY(-2px); }
.footer-stat:hover .footer-stat-n { color: #FF6B00; }
.footer-stat-n { transition: color 0.2s; }

/* ══════════════════════════════
   RESPONSIVE PATCH
══════════════════════════════ */
@media (max-width: 1024px) {
  .site-header-inner { padding: 0 32px; }
}
@media (max-width: 768px) {
  .site-header-inner { padding: 0 20px; }
}