/*
 * SYN 360 — Estilos de la plantilla (tema oscuro navy + naranja)
 * Cargado después de style.css. Tailwind (CDN) aporta las utilidades.
 */

body,
.wp-site-blocks {
  background-color: #060e1a;
  color: #f1f5f9;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.glow-hero,
.glow-hero {
  background-color: #060e1a;
  background-image: radial-gradient(
    circle at 50% 15%,
    rgba(249, 115, 22, 0.12),
    rgba(30, 58, 138, 0.25) 45%,
    transparent 75%
  );
  background-attachment: fixed;
  background-size: cover;
}

::selection {
  background-color: #f97316;
  color: #ffffff;
}

.glow-card {
  background: rgba(15, 29, 54, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 12px 36px -8px rgba(249, 115, 22, 0.2);
  transform: translateY(-3px);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orange-badge {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.page-content {
  animation: syn360FadeIn 0.3s ease-in-out;
}

@keyframes syn360FadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#bot-chat-messages::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

#bot-chat-messages,
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Layout general del tema: footer abajo y sin márgenes extra */
.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > main {
  flex: 1 0 auto;
}

/* Evita que los enlaces hereden colores raros del tema */
.wp-site-blocks a {
  text-decoration: none;
}

/* Oculta el hueco que WordPress reserva para la barra de admin en el header sticky */
body.admin-bar .syn360-sticky {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .syn360-sticky {
    top: 46px;
  }
}
