/* Radar de Convocatorias — acentos propios sobre la marca Complexity.
   El azul/cian es el del radar en el panel; el ámbar marca el puntaje medio. */
:root {
  --radar-accent: #0ea5e9;
  --radar-accent-light: #38bdf8;
  --radar-glow: rgba(14, 165, 233, 0.4);
  --radar-alto: #10b981;
  --radar-medio: #f59e0b;
}

.text-gradient-radar {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 45%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-product-name.radar-brand {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lab-hero-radar {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0 3rem;
}

.lab-hero-radar .lab-hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 50% 45% at 75% 15%, rgba(14, 165, 233, 0.2), transparent 65%),
    radial-gradient(ellipse 35% 40% at 15% 55%, rgba(16, 185, 129, 0.1), transparent 60%);
  pointer-events: none;
}

.btn-radar {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px var(--radar-glow);
}

.btn-radar:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* --- La tarjeta del héroe: una muestra de la lista real --- */
.radar-hero-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
}

.radar-hero-topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.radar-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--radar-accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.radar-hero-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.radar-hero-chip {
  margin-left: auto;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.radar-hero-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.radar-score {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid currentColor;
}

.radar-score--alto { color: var(--radar-alto); }
.radar-score--medio { color: var(--radar-medio); }

.radar-hero-body { min-width: 0; }

.radar-hero-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.25rem;
}

.radar-hero-meta {
  font-size: 0.78rem;
  opacity: 0.72;
  margin: 0 0 0.4rem;
}

.radar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.radar-tags span {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  opacity: 0.85;
}

.radar-hero-foot {
  font-size: 0.72rem;
  opacity: 0.6;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

/* --- Tiras y rejillas que la vitrina usa --- */
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 4rem);
  text-align: center;
}

.trust-items div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-items strong {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--radar-accent-light);
  line-height: 1;
}

.trust-items span {
  font-size: 0.82rem;
  opacity: 0.75;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.grid-cards .card {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.05);
}

.grid-cards .card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--radar-accent-light);
}

.grid-cards .card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.85;
}

.section-head { text-align: center; margin-bottom: 2rem; }
.section-sub { opacity: 0.75; margin-top: 0.5rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 0;
}

.footer-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin: 0 0 0.75rem;
}

.footer-grid a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.mobile-nav.open { display: flex; }

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