/* ═══════════════════════════════════════════════════════════
   SHARED PAGES — Nav Override, Footer, Floating Buttons
   Used by: planes.html, faq.html, blog.html, portfolio.html
   Agencia OZ — css/shared-pages.css
   ═══════════════════════════════════════════════════════════ */

/* ─── NAV OVERRIDE (solid on secondary pages) ────────────── */
nav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* ─── SIMPLE FOOTER (secondary pages) ─────────────────────── */
footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-inner p {
  color: var(--warm-gray);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1a, #111);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.5),
              -3px -3px 8px rgba(255,255,255,0.04),
              inset 0 0 0 1px rgba(181, 114, 75, 0.12);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  stroke: var(--copper);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials a:hover {
  box-shadow: 4px 4px 10px rgba(0,0,0,0.5),
              -3px -3px 8px rgba(255,255,255,0.04),
              inset 0 0 0 1px rgba(181, 114, 75, 0.3);
  transform: translateY(-2px);
}

.footer-socials a:hover svg { stroke: var(--gold); }

/* ─── FLOATING BUTTONS ────────────────────────────────────── */
.floating-buttons {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.float-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

.float-btn a:hover { transform: scale(1.1); }
.float-btn svg { width: 28px; height: 28px; fill: white; }

.float-btn .tooltip {
  background: rgba(15, 26, 46, 0.95);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
  position: absolute;
  right: 70px;
}

.float-btn:hover .tooltip { opacity: 1; transform: translateX(0); }

.float-btn.whatsapp a {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.float-btn.whatsapp a:hover { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
.float-btn.whatsapp .tooltip { border: 1px solid rgba(37, 211, 102, 0.2); }

.float-btn.telegram a {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.4);
}
.float-btn.telegram a:hover { box-shadow: 0 6px 30px rgba(42, 171, 238, 0.6); }
.float-btn.telegram .tooltip { border: 1px solid rgba(42, 171, 238, 0.2); }

/* ─── RESPONSIVE (shared elements) ────────────────────────── */
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .floating-buttons { bottom: 20px; right: 16px; }
  .float-btn a { width: 48px; height: 48px; }
  .float-btn svg { width: 22px; height: 22px; }
  .float-btn .tooltip { display: none; }
}

/* ─── ACCESSIBILITY ───────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
