/* Chrome compartido: cabecera, navegación y pie (etiquetas en español en el HTML) */

.cg-header {
  position: sticky;
  top: 0;
  z-index: 9998;
  background: #0f172a;
  color: #f1f5f9;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.cg-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cg-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.cg-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cg-logo-strong {
  color: #f8fafc;
}

.cg-logo-light {
  color: #38bdf8;
  font-weight: 700;
}

.cg-nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  align-items: center;
}

.cg-nav-main a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.cg-nav-main a:hover,
.cg-nav-main a[aria-current="page"] {
  color: #fff;
}

.cg-footer {
  background: #111827;
  color: #9ca3af;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  margin-top: auto;
}

.cg-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.85rem;
}

.cg-footer-copy {
  margin: 0 0 1rem;
  color: #d1d5db;
  font-size: 0.88rem;
}

.cg-footer-title {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  font-weight: 600;
}

.cg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  align-items: center;
}

.cg-footer-nav a {
  color: #93c5fd;
  text-decoration: none;
}

.cg-footer-nav a:hover {
  text-decoration: underline;
  color: #bfdbfe;
}
